[INFO] cloning repository https://github.com/MyNextWeekend/axum_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MyNextWeekend/axum_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMyNextWeekend%2Faxum_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMyNextWeekend%2Faxum_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50beed68f90876d97c4cd74f0c2494be90552642 [INFO] testing MyNextWeekend/axum_demo against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMyNextWeekend%2Faxum_demo" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MyNextWeekend/axum_demo [INFO] finished tweaking git repo https://github.com/MyNextWeekend/axum_demo [INFO] tweaked toml for git repo https://github.com/MyNextWeekend/axum_demo written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MyNextWeekend/axum_demo on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MyNextWeekend/axum_demo 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e14e54aeadbe716915582253e8c6fab3bf100ab77c878adb673a5dcdd8e4e8d5 [INFO] running `Command { std: "docker" "start" "-a" "e14e54aeadbe716915582253e8c6fab3bf100ab77c878adb673a5dcdd8e4e8d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e14e54aeadbe716915582253e8c6fab3bf100ab77c878adb673a5dcdd8e4e8d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e14e54aeadbe716915582253e8c6fab3bf100ab77c878adb673a5dcdd8e4e8d5", kill_on_drop: false }` [INFO] [stdout] e14e54aeadbe716915582253e8c6fab3bf100ab77c878adb673a5dcdd8e4e8d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3b82f440a9e6c73dbb4f028b558fcdc5b0d27b0dcb1bde44f7340d14b4b88c1 [INFO] running `Command { std: "docker" "start" "-a" "b3b82f440a9e6c73dbb4f028b558fcdc5b0d27b0dcb1bde44f7340d14b4b88c1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling signal-hook-registry v1.4.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling tokio-cron-scheduler v0.14.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling yaml-rust2 v0.10.3 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling erased-serde v0.4.6 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling bb8 v0.9.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling serde-untagged v0.1.8 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling config v0.15.15 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling croner v2.2.0 [INFO] [stderr] Compiling sqlx-mysql v0.8.6 [INFO] [stderr] Compiling redis v0.32.5 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling bb8-redis v0.24.0 [INFO] [stderr] Compiling axum_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RedisLock` [INFO] [stdout] --> src/utils/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub use redis::{RedisUtil, RedisLock}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/core/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cron_job1` and `cron_job2` are never read [INFO] [stdout] --> src/core/config.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct JobsConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | pub cron_job1: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | pub cron_job2: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JobsConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jobs` is never read [INFO] [stdout] --> src/core/config.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub jobs: JobsConfig, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTENT_TYPE_JSON` is never used [INFO] [stdout] --> src/core/constant.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const CONTENT_TYPE_JSON: &str = "application/json"; // JSON Content-Type [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTENT_TYPE_FORM` is never used [INFO] [stdout] --> src/core/constant.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const CONTENT_TYPE_FORM: &str = "application/x-www-form-urlencoded"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_PAGE_SIZE` is never used [INFO] [stdout] --> src/core/constant.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const DEFAULT_PAGE_SIZE: usize = 20; // 默认分页大小 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_PAGE_SIZE` is never used [INFO] [stdout] --> src/core/constant.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const MAX_PAGE_SIZE: usize = 100; // 最大分页大小 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOGIN_RATE_LIMIT` is never used [INFO] [stdout] --> src/core/constant.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const LOGIN_RATE_LIMIT: u32 = 5; // 每分钟允许登录次数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUEST_TIMEOUT_SECS` is never used [INFO] [stdout] --> src/core/constant.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const REQUEST_TIMEOUT_SECS: u64 = 10; // 请求超时秒数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LOGIN_ATTEMPTS` is never used [INFO] [stdout] --> src/core/constant.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const MAX_LOGIN_ATTEMPTS: u32 = 5; // 最大登录失败次数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UPLOAD_DIR` is never used [INFO] [stdout] --> src/core/constant.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const UPLOAD_DIR: &str = "./uploads"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATIC_FILES_DIR` is never used [INFO] [stdout] --> src/core/constant.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const STATIC_FILES_DIR: &str = "./static"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG_DIR` is never used [INFO] [stdout] --> src/core/constant.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const LOG_DIR: &str = "./logs"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `query_by_id`, `update_salt_by_id`, and `delete` are never used [INFO] [stdout] --> src/dao/user_dao.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 6 | impl UserDao { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 7 | pub async fn query_by_id(db: &MySqlPool, id: u64) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn update_salt_by_id(db: &MySqlPool, id: u64, salt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn delete(db: &MySqlPool, id: u64) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound`, `ExternalServiceError`, `NetworkError`, `IOError`, and `InvalidState` are never constructed [INFO] [stdout] --> src/error.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 73 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | ExternalServiceError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | NetworkError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | IOError(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | InvalidState(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s [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 1` [INFO] running `Command { std: "docker" "inspect" "b3b82f440a9e6c73dbb4f028b558fcdc5b0d27b0dcb1bde44f7340d14b4b88c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b82f440a9e6c73dbb4f028b558fcdc5b0d27b0dcb1bde44f7340d14b4b88c1", kill_on_drop: false }` [INFO] [stdout] b3b82f440a9e6c73dbb4f028b558fcdc5b0d27b0dcb1bde44f7340d14b4b88c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55c65a59a34341337a2d3685a3d4abe4c21ebfc3a0bfaf1d65591dd00841d887 [INFO] running `Command { std: "docker" "start" "-a" "55c65a59a34341337a2d3685a3d4abe4c21ebfc3a0bfaf1d65591dd00841d887", kill_on_drop: false }` [INFO] [stderr] Compiling axum_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RedisLock` [INFO] [stdout] --> src/utils/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub use redis::{RedisUtil, RedisLock}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `version` are never read [INFO] [stdout] --> src/core/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AppInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cron_job1` and `cron_job2` are never read [INFO] [stdout] --> src/core/config.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct JobsConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | pub cron_job1: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | pub cron_job2: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JobsConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jobs` is never read [INFO] [stdout] --> src/core/config.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct AppConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub jobs: JobsConfig, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTENT_TYPE_JSON` is never used [INFO] [stdout] --> src/core/constant.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const CONTENT_TYPE_JSON: &str = "application/json"; // JSON Content-Type [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTENT_TYPE_FORM` is never used [INFO] [stdout] --> src/core/constant.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const CONTENT_TYPE_FORM: &str = "application/x-www-form-urlencoded"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_PAGE_SIZE` is never used [INFO] [stdout] --> src/core/constant.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const DEFAULT_PAGE_SIZE: usize = 20; // 默认分页大小 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_PAGE_SIZE` is never used [INFO] [stdout] --> src/core/constant.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const MAX_PAGE_SIZE: usize = 100; // 最大分页大小 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOGIN_RATE_LIMIT` is never used [INFO] [stdout] --> src/core/constant.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const LOGIN_RATE_LIMIT: u32 = 5; // 每分钟允许登录次数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUEST_TIMEOUT_SECS` is never used [INFO] [stdout] --> src/core/constant.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const REQUEST_TIMEOUT_SECS: u64 = 10; // 请求超时秒数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LOGIN_ATTEMPTS` is never used [INFO] [stdout] --> src/core/constant.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const MAX_LOGIN_ATTEMPTS: u32 = 5; // 最大登录失败次数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UPLOAD_DIR` is never used [INFO] [stdout] --> src/core/constant.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const UPLOAD_DIR: &str = "./uploads"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATIC_FILES_DIR` is never used [INFO] [stdout] --> src/core/constant.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const STATIC_FILES_DIR: &str = "./static"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG_DIR` is never used [INFO] [stdout] --> src/core/constant.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const LOG_DIR: &str = "./logs"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `query_by_id`, `update_salt_by_id`, and `delete` are never used [INFO] [stdout] --> src/dao/user_dao.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 6 | impl UserDao { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 7 | pub async fn query_by_id(db: &MySqlPool, id: u64) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn update_salt_by_id(db: &MySqlPool, id: u64, salt: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn delete(db: &MySqlPool, id: u64) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound`, `ExternalServiceError`, `NetworkError`, `IOError`, and `InvalidState` are never constructed [INFO] [stdout] --> src/error.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 73 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | ExternalServiceError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | NetworkError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | IOError(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | InvalidState(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.97s [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 1` [INFO] running `Command { std: "docker" "inspect" "55c65a59a34341337a2d3685a3d4abe4c21ebfc3a0bfaf1d65591dd00841d887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55c65a59a34341337a2d3685a3d4abe4c21ebfc3a0bfaf1d65591dd00841d887", kill_on_drop: false }` [INFO] [stdout] 55c65a59a34341337a2d3685a3d4abe4c21ebfc3a0bfaf1d65591dd00841d887 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d253ecb7d0df18c46a9977e6a555758fdae463b7167bba403356cde553916f91 [INFO] running `Command { std: "docker" "start" "-a" "d253ecb7d0df18c46a9977e6a555758fdae463b7167bba403356cde553916f91", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `RedisLock` [INFO] [stderr] --> src/utils/mod.rs:4:28 [INFO] [stderr] | [INFO] [stderr] 4 | pub use redis::{RedisUtil, RedisLock}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `version` are never read [INFO] [stderr] --> src/core/config.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct AppInfo { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 7 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 8 | pub version: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `cron_job1` and `cron_job2` are never read [INFO] [stderr] --> src/core/config.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct JobsConfig { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 26 | pub cron_job1: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 27 | pub cron_job2: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `JobsConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `jobs` is never read [INFO] [stderr] --> src/core/config.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct AppConfig { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 35 | pub jobs: JobsConfig, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `CONTENT_TYPE_JSON` is never used [INFO] [stderr] --> src/core/constant.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | pub const CONTENT_TYPE_JSON: &str = "application/json"; // JSON Content-Type [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CONTENT_TYPE_FORM` is never used [INFO] [stderr] --> src/core/constant.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | pub const CONTENT_TYPE_FORM: &str = "application/x-www-form-urlencoded"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEFAULT_PAGE_SIZE` is never used [INFO] [stderr] --> src/core/constant.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | pub const DEFAULT_PAGE_SIZE: usize = 20; // 默认分页大小 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_PAGE_SIZE` is never used [INFO] [stderr] --> src/core/constant.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub const MAX_PAGE_SIZE: usize = 100; // 最大分页大小 [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `LOGIN_RATE_LIMIT` is never used [INFO] [stderr] --> src/core/constant.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | pub const LOGIN_RATE_LIMIT: u32 = 5; // 每分钟允许登录次数 [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `REQUEST_TIMEOUT_SECS` is never used [INFO] [stderr] --> src/core/constant.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | pub const REQUEST_TIMEOUT_SECS: u64 = 10; // 请求超时秒数 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_LOGIN_ATTEMPTS` is never used [INFO] [stderr] --> src/core/constant.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | pub const MAX_LOGIN_ATTEMPTS: u32 = 5; // 最大登录失败次数 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `UPLOAD_DIR` is never used [INFO] [stderr] --> src/core/constant.rs:26:11 [INFO] [stderr] | [INFO] [stderr] 26 | pub const UPLOAD_DIR: &str = "./uploads"; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `STATIC_FILES_DIR` is never used [INFO] [stderr] --> src/core/constant.rs:27:11 [INFO] [stderr] | [INFO] [stderr] 27 | pub const STATIC_FILES_DIR: &str = "./static"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `LOG_DIR` is never used [INFO] [stderr] --> src/core/constant.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | pub const LOG_DIR: &str = "./logs"; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `query_by_id`, `update_salt_by_id`, and `delete` are never used [INFO] [stderr] --> src/dao/user_dao.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 6 | impl UserDao { [INFO] [stderr] | ------------ associated functions in this implementation [INFO] [stderr] 7 | pub async fn query_by_id(db: &MySqlPool, id: u64) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub async fn update_salt_by_id(db: &MySqlPool, id: u64, salt: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub async fn delete(db: &MySqlPool, id: u64) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `NotFound`, `ExternalServiceError`, `NetworkError`, `IOError`, and `InvalidState` are never constructed [INFO] [stderr] --> src/error.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 53 | pub enum Error { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 73 | NotFound(String), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | ExternalServiceError(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 89 | NetworkError(String), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | IOError(String), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 101 | InvalidState(String), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `axum_demo` (bin "axum_demo" test) generated 16 warnings (run `cargo fix --bin "axum_demo" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [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 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/axum_demo-6163c532a30404ac) [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" "d253ecb7d0df18c46a9977e6a555758fdae463b7167bba403356cde553916f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d253ecb7d0df18c46a9977e6a555758fdae463b7167bba403356cde553916f91", kill_on_drop: false }` [INFO] [stdout] d253ecb7d0df18c46a9977e6a555758fdae463b7167bba403356cde553916f91