[INFO] cloning repository https://github.com/PandaManPMC/i_dao [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PandaManPMC/i_dao" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPandaManPMC%2Fi_dao", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPandaManPMC%2Fi_dao'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d79292c2926fe2988e202c94bd7a91fa08acf5d [INFO] checking PandaManPMC/i_dao/4d79292c2926fe2988e202c94bd7a91fa08acf5d against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPandaManPMC%2Fi_dao" "/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/PandaManPMC/i_dao on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PandaManPMC/i_dao [INFO] finished tweaking git repo https://github.com/PandaManPMC/i_dao [INFO] tweaked toml for git repo https://github.com/PandaManPMC/i_dao written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PandaManPMC/i_dao 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc65d8ef6be40ca8b5fee96033ceae039c5c6d7eefd9f96736f198a166559b4a [INFO] running `Command { std: "docker" "start" "-a" "cc65d8ef6be40ca8b5fee96033ceae039c5c6d7eefd9f96736f198a166559b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc65d8ef6be40ca8b5fee96033ceae039c5c6d7eefd9f96736f198a166559b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc65d8ef6be40ca8b5fee96033ceae039c5c6d7eefd9f96736f198a166559b4a", kill_on_drop: false }` [INFO] [stdout] cc65d8ef6be40ca8b5fee96033ceae039c5c6d7eefd9f96736f198a166559b4a [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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc7f0288c710dcabe9d9ad8bc16ca3f5f26416214f75fbda10bd98f43bfbe5ed [INFO] running `Command { std: "docker" "start" "-a" "bc7f0288c710dcabe9d9ad8bc16ca3f5f26416214f75fbda10bd98f43bfbe5ed", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking time v0.3.35 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Compiling derive_utils v0.14.1 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Compiling bigdecimal v0.4.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Compiling mysql_common v0.32.2 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking btoi v0.4.3 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling mysql v25.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling i_dao_proc_macro v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling mysql-common-derive v0.31.1 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking r2d2_mysql v24.0.0 [INFO] [stderr] Checking i_dao v0.1.7 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/library_test/test_user_sve_tok.rs (2 fixes) [INFO] [stderr] Fixed src/library_test/test_user.rs (1 fix) [INFO] [stderr] Fixed src/tok/i_mysql.rs (1 fix) [INFO] [stderr] Fixed src/library_test/test_user_sve.rs (1 fix) [INFO] [stdout] warning: methods `set_pk`, `set_created_at`, and `set_updated_at` are never used [INFO] [stdout] --> src/library_test/test_user.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl TestUser { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | fn set_pk(&mut self, pk: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn set_created_at(&mut self, at: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn set_updated_at(&mut self, at: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/lib_test.rs (7 fixes) [INFO] [stdout] warning: function `get_data_source_key` is never used [INFO] [stdout] --> src/library_test/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_data_source_key() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_date_source_key` is never used [INFO] [stdout] --> src/library_test/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set_date_source_key(key: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_full`, `set_pk`, `set_created_at`, and `set_updated_at` are never used [INFO] [stdout] --> src/library_test/test_user.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl TestUser { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 27 | pub fn new(user_name: String, state: u8) -> TestUser{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn new_full(id: u64, created_at: u64,updated_at: u64, user_name: String, state: u8) -> TestUser{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn set_pk(&mut self, pk: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn set_created_at(&mut self, at: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn set_updated_at(&mut self, at: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pot` is never used [INFO] [stdout] --> src/library_test/test_user.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn pot(row: Row, offset: usize) -> TestUser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_list` is never used [INFO] [stdout] --> src/library_test/test_user_dao.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn query_list(tx: &mut Transaction, condition_params: &HashMap>, condition: &[sql:: Condition]) -> Result src/library_test/test_user_dao.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn query_list_by_enum(tx: &mut Transaction, condition_params: &HashMap, condition: &[sql:: Condition]) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_count` is never used [INFO] [stdout] --> src/library_test/test_user_dao.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn query_count(conn: &mut r2d2::PooledConnection, condition_params: &HashMap>, condition... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_by_id` is never used [INFO] [stdout] --> src/library_test/test_user_dao.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn find_by_id(tx: &mut Transaction, id: u64) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/library_test/test_user_sve.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn add(m: &mut test_user::TestUser) -> Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_batch` is never used [INFO] [stdout] --> src/library_test/test_user_sve.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn add_batch(lst: &mut Vec<&mut test_user::TestUser>) -> Result<(),Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_by_id` is never used [INFO] [stdout] --> src/library_test/test_user_sve.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn update_by_id(m: &mut test_user::TestUser) -> Result<(),Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_list` is never used [INFO] [stdout] --> src/library_test/test_user_sve.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn query_list(params: &HashMap>, condition: &[sql::Condition]) -> Result, Box src/library_test/test_user_sve.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn find_by_id(id: u64) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_count` is never used [INFO] [stdout] --> src/library_test/test_user_sve.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn query_count(params: &HashMap>, condition: &[sql::Condition]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/library_test/test_user_sve_tok.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn add(m: &mut test_user::TestUser) -> mysql::Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_list_by_enum` is never used [INFO] [stdout] --> src/library_test/test_user_sve_tok.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn query_list_by_enum(params: &HashMap, condition: &[sql::Condition]) -> mysql::Result src/lib_test.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn test_init() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.20s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking i_dao v0.1.7 (/tmp/fixit) [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/lib_test.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | warn!("出现异常 {:?}", result); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 29 + use log::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/lib_test.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | info!("查询到={:?}条", res.len()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 29 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/lib_test.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | info!("{:?}", t1); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 29 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/lib_test.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | info!("{:?}", t1); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 29 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/lib_test.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | warn!("test_find 出现异常 {:?}", res); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 29 + use log::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/lib_test.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | warn!("出现异常 {:?}", result); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 29 + use log::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/lib_test.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | info!("查询到={:?}条", res.len()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 29 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/lib_test.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | info!("查询 query_count 数量={:?}", result) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 29 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/lib_test.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | warn!("test_find 出现异常 {:?}", res); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 29 + use log::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> src/lib_test.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | warn!("出现异常 {:?}", u_res); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 29 + use log::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/lib_test.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let mut params:HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sql` [INFO] [stdout] --> src/lib_test.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | let mut params:HashMap = HashMap::new(); [INFO] [stdout] | ^^^ use of undeclared crate or module `sql` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 29 + use crate::sql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/lib_test.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 53 | let mut params:HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sql` [INFO] [stdout] --> src/lib_test.rs:54:55 [INFO] [stdout] | [INFO] [stdout] 54 | params.insert(String::from(format!("{}state", sql::GT_EQ)), sql::Params::UInteger8(1)); [INFO] [stdout] | ^^^ use of undeclared crate or module `sql` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 29 + use crate::sql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sql` [INFO] [stdout] --> src/lib_test.rs:54:69 [INFO] [stdout] | [INFO] [stdout] 54 | params.insert(String::from(format!("{}state", sql::GT_EQ)), sql::Params::UInteger8(1)); [INFO] [stdout] | ^^^ use of undeclared crate or module `sql` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 29 + use crate::sql::Params; [INFO] [stdout] | [INFO] [stdout] 29 + use mysql::Params; [INFO] [stdout] | [INFO] [stdout] help: if you import `Params`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 54 - params.insert(String::from(format!("{}state", sql::GT_EQ)), sql::Params::UInteger8(1)); [INFO] [stdout] 54 + params.insert(String::from(format!("{}state", sql::GT_EQ)), Params::UInteger8(1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sql` [INFO] [stdout] --> src/lib_test.rs:55:52 [INFO] [stdout] | [INFO] [stdout] 55 | params.insert(String::from(format!("{}id", sql::GT)), sql::Params::UInteger64(1)); [INFO] [stdout] | ^^^ use of undeclared crate or module `sql` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 29 + use crate::sql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sql` [INFO] [stdout] --> src/lib_test.rs:55:63 [INFO] [stdout] | [INFO] [stdout] 55 | params.insert(String::from(format!("{}id", sql::GT)), sql::Params::UInteger64(1)); [INFO] [stdout] | ^^^ use of undeclared crate or module `sql` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 29 + use crate::sql::Params; [INFO] [stdout] | [INFO] [stdout] 29 + use mysql::Params; [INFO] [stdout] | [INFO] [stdout] help: if you import `Params`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 55 - params.insert(String::from(format!("{}id", sql::GT)), sql::Params::UInteger64(1)); [INFO] [stdout] 55 + params.insert(String::from(format!("{}id", sql::GT)), Params::UInteger64(1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sql` [INFO] [stdout] --> src/lib_test.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | let page_index = sql::Condition::PageIndex(1); [INFO] [stdout] | ^^^ use of undeclared crate or module `sql` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 29 + use crate::sql::Condition; [INFO] [stdout] | [INFO] [stdout] help: if you import `Condition`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 57 - let page_index = sql::Condition::PageIndex(1); [INFO] [stdout] 57 + let page_index = Condition::PageIndex(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sql` [INFO] [stdout] --> src/lib_test.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | let page_size = sql::Condition::PageSize(3); [INFO] [stdout] | ^^^ use of undeclared crate or module `sql` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 29 + use crate::sql::Condition; [INFO] [stdout] | [INFO] [stdout] help: if you import `Condition`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 58 - let page_size = sql::Condition::PageSize(3); [INFO] [stdout] 58 + let page_size = Condition::PageSize(3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sql` [INFO] [stdout] --> src/lib_test.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | let asc = sql::Condition::OrderByAESOrDESC(1); [INFO] [stdout] | ^^^ use of undeclared crate or module `sql` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 29 + use crate::sql::Condition; [INFO] [stdout] | [INFO] [stdout] help: if you import `Condition`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 59 - let asc = sql::Condition::OrderByAESOrDESC(1); [INFO] [stdout] 59 + let asc = Condition::OrderByAESOrDESC(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime` [INFO] [stdout] --> src/lib_test.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | let now = SystemTime::now().duration_since(SystemTime::UNIX_EPOCH).unwrap().as_secs(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SystemTime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime` [INFO] [stdout] --> src/lib_test.rs:100:52 [INFO] [stdout] | [INFO] [stdout] 100 | let now = SystemTime::now().duration_since(SystemTime::UNIX_EPOCH).unwrap().as_secs(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SystemTime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestUser` [INFO] [stdout] --> src/lib_test.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | let mut t1 = TestUser::new(format!("xcy 0409 {}", now), 1); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TestUser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use crate::library_test::test_user::TestUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime` [INFO] [stdout] --> src/lib_test.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | let now = SystemTime::now().duration_since(SystemTime::UNIX_EPOCH).unwrap().as_secs(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SystemTime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime` [INFO] [stdout] --> src/lib_test.rs:118:52 [INFO] [stdout] | [INFO] [stdout] 118 | let now = SystemTime::now().duration_since(SystemTime::UNIX_EPOCH).unwrap().as_secs(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SystemTime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestUser` [INFO] [stdout] --> src/lib_test.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | let mut t1 = TestUser::new(format!("xcy 0409 {}", now), 1); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TestUser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use crate::library_test::test_user::TestUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test_user_sve` [INFO] [stdout] --> src/lib_test.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | let res = test_user_sve::find_by_id(id); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `test_user_sve` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 29 + use crate::library_test::test_user_sve; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/lib_test.rs:158:24 [INFO] [stdout] | [INFO] [stdout] 158 | let mut params:HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Any` in this scope [INFO] [stdout] --> src/lib_test.rs:158:48 [INFO] [stdout] | [INFO] [stdout] 158 | let mut params:HashMap> = HashMap::new(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 29 + use std::any::Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/lib_test.rs:158:56 [INFO] [stdout] | [INFO] [stdout] 158 | let mut params:HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sql` [INFO] [stdout] --> src/lib_test.rs:160:55 [INFO] [stdout] | [INFO] [stdout] 160 | params.insert(String::from(format!("{}state", sql::GT_EQ)), Box::new(1)); [INFO] [stdout] | ^^^ use of undeclared crate or module `sql` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 29 + use crate::sql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sql` [INFO] [stdout] --> src/lib_test.rs:163:52 [INFO] [stdout] | [INFO] [stdout] 163 | params.insert(String::from(format!("{}id", sql::GT)), Box::new(7u64)); [INFO] [stdout] | ^^^ use of undeclared crate or module `sql` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 29 + use crate::sql; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sql` [INFO] [stdout] --> src/lib_test.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | let page_index = sql::Condition::PageIndex(1); [INFO] [stdout] | ^^^ use of undeclared crate or module `sql` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 29 + use crate::sql::Condition; [INFO] [stdout] | [INFO] [stdout] help: if you import `Condition`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 165 - let page_index = sql::Condition::PageIndex(1); [INFO] [stdout] 165 + let page_index = Condition::PageIndex(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sql` [INFO] [stdout] --> src/lib_test.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | let page_size = sql::Condition::PageSize(3); [INFO] [stdout] | ^^^ use of undeclared crate or module `sql` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 29 + use crate::sql::Condition; [INFO] [stdout] | [INFO] [stdout] help: if you import `Condition`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 166 - let page_size = sql::Condition::PageSize(3); [INFO] [stdout] 166 + let page_size = Condition::PageSize(3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sql` [INFO] [stdout] --> src/lib_test.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | let asc = sql::Condition::OrderByAESOrDESC(1); [INFO] [stdout] | ^^^ use of undeclared crate or module `sql` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 29 + use crate::sql::Condition; [INFO] [stdout] | [INFO] [stdout] help: if you import `Condition`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 167 - let asc = sql::Condition::OrderByAESOrDESC(1); [INFO] [stdout] 167 + let asc = Condition::OrderByAESOrDESC(1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test_user_sve` [INFO] [stdout] --> src/lib_test.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | let result = test_user_sve::query_list(¶ms, &bc); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `test_user_sve` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 29 + use crate::library_test::test_user_sve; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test_user_sve` [INFO] [stdout] --> src/lib_test.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | let result = test_user_sve::query_count(¶ms, &bc); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `test_user_sve` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 29 + use crate::library_test::test_user_sve; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test_user_sve` [INFO] [stdout] --> src/lib_test.rs:196:19 [INFO] [stdout] | [INFO] [stdout] 196 | let res = test_user_sve::find_by_id(id); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `test_user_sve` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 29 + use crate::library_test::test_user_sve; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test_user_sve` [INFO] [stdout] --> src/lib_test.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 210 | let u_res = test_user_sve::update_by_id(&mut user); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `test_user_sve` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 29 + use crate::library_test::test_user_sve; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestUser` in this scope [INFO] [stdout] --> src/lib_test.rs:227:31 [INFO] [stdout] | [INFO] [stdout] 227 | let mut lst: Vec<&mut TestUser> = Vec::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use crate::library_test::test_user::TestUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestUser` [INFO] [stdout] --> src/lib_test.rs:228:27 [INFO] [stdout] | [INFO] [stdout] 228 | let mut binding = TestUser::new("xcy 0409 01 7".to_string(), 1); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TestUser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use crate::library_test::test_user::TestUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestUser` [INFO] [stdout] --> src/lib_test.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | let mut binding2 = TestUser::new("xcy 0409 03 7".to_string(), 1); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TestUser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use crate::library_test::test_user::TestUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestUser` [INFO] [stdout] --> src/lib_test.rs:232:28 [INFO] [stdout] | [INFO] [stdout] 232 | let mut binding3 = TestUser::new("xcy 0409 02 7".to_string(), 1); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TestUser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use crate::library_test::test_user::TestUser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test_user_sve` [INFO] [stdout] --> src/lib_test.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | let res = test_user_sve::add_batch(&mut lst); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `test_user_sve` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 29 + use crate::library_test::test_user_sve; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data_source_key` is never used [INFO] [stdout] --> src/library_test/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get_data_source_key() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_date_source_key` is never used [INFO] [stdout] --> src/library_test/mod.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn set_date_source_key(key: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_full`, `set_pk`, `set_created_at`, and `set_updated_at` are never used [INFO] [stdout] --> src/library_test/test_user.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl TestUser { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 27 | pub fn new(user_name: String, state: u8) -> TestUser{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn new_full(id: u64, created_at: u64,updated_at: u64, user_name: String, state: u8) -> TestUser{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn set_pk(&mut self, pk: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn set_created_at(&mut self, at: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn set_updated_at(&mut self, at: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pot` is never used [INFO] [stdout] --> src/library_test/test_user.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn pot(row: Row, offset: usize) -> TestUser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_list` is never used [INFO] [stdout] --> src/library_test/test_user_dao.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn query_list(tx: &mut Transaction, condition_params: &HashMap>, condition: &[sql:: Condition]) -> Result src/library_test/test_user_dao.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn query_list_by_enum(tx: &mut Transaction, condition_params: &HashMap, condition: &[sql:: Condition]) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_count` is never used [INFO] [stdout] --> src/library_test/test_user_dao.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn query_count(conn: &mut r2d2::PooledConnection, condition_params: &HashMap>, condition... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_by_id` is never used [INFO] [stdout] --> src/library_test/test_user_dao.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn find_by_id(tx: &mut Transaction, id: u64) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/library_test/test_user_sve.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn add(m: &mut test_user::TestUser) -> Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_batch` is never used [INFO] [stdout] --> src/library_test/test_user_sve.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn add_batch(lst: &mut Vec<&mut test_user::TestUser>) -> Result<(),Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_by_id` is never used [INFO] [stdout] --> src/library_test/test_user_sve.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn update_by_id(m: &mut test_user::TestUser) -> Result<(),Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_list` is never used [INFO] [stdout] --> src/library_test/test_user_sve.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn query_list(params: &HashMap>, condition: &[sql::Condition]) -> Result, Box src/library_test/test_user_sve.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn find_by_id(id: u64) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_count` is never used [INFO] [stdout] --> src/library_test/test_user_sve.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn query_count(params: &HashMap>, condition: &[sql::Condition]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/library_test/test_user_sve_tok.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn add(m: &mut test_user::TestUser) -> mysql::Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_list_by_enum` is never used [INFO] [stdout] --> src/library_test/test_user_sve_tok.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn query_list_by_enum(params: &HashMap, condition: &[sql::Condition]) -> mysql::Result src/lib_test.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn test_init() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `i_dao` (lib test) due to 45 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "bc7f0288c710dcabe9d9ad8bc16ca3f5f26416214f75fbda10bd98f43bfbe5ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc7f0288c710dcabe9d9ad8bc16ca3f5f26416214f75fbda10bd98f43bfbe5ed", kill_on_drop: false }` [INFO] [stdout] bc7f0288c710dcabe9d9ad8bc16ca3f5f26416214f75fbda10bd98f43bfbe5ed