[INFO] fetching crate i_dao 0.1.7... [INFO] building i_dao-0.1.7 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate i_dao 0.1.7 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate i_dao 0.1.7 [INFO] finished tweaking crates.io crate i_dao 0.1.7 [INFO] tweaked toml for crates.io crate i_dao 0.1.7 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate i_dao 0.1.7 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 297 packages to latest compatible versions [INFO] [stderr] Adding mysql v25.0.1 (available: v26.0.1) [INFO] [stderr] Adding r2d2_mysql v24.0.0 (available: v25.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded frunk v0.4.4 [INFO] [stderr] Downloaded saturating v0.1.0 [INFO] [stderr] Downloaded mysql-common-derive v0.30.2 [INFO] [stderr] Downloaded pem v2.0.1 [INFO] [stderr] Downloaded named_pipe v0.4.1 [INFO] [stderr] Downloaded mysql v24.0.0 [INFO] [stderr] Downloaded io-enum v1.2.0 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.1.4 [INFO] [stderr] Downloaded btoi v0.4.3 [INFO] [stderr] Downloaded i_dao_proc_macro v0.1.0 [INFO] [stderr] Downloaded frunk_core v0.4.4 [INFO] [stderr] Downloaded mysql-common-derive v0.31.2 [INFO] [stderr] Downloaded mysql v25.0.1 [INFO] [stderr] Downloaded bufstream v0.1.4 [INFO] [stderr] Downloaded rust_decimal v1.38.0 [INFO] [stderr] Downloaded subprocess v0.2.9 [INFO] [stderr] Downloaded lru v0.10.1 [INFO] [stderr] Downloaded mysql_common v0.30.6 [INFO] [stderr] Downloaded frunk_derives v0.4.4 [INFO] [stderr] Downloaded bigdecimal v0.3.1 [INFO] [stderr] Downloaded r2d2_mysql v24.0.0 [INFO] [stderr] Downloaded mysql_common v0.32.4 [INFO] [stderr] Downloaded frunk_proc_macros v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a752b8fb069bc0dd433e8a3cc570d51f06fa79cee22a51c350f9de4d1269721 [INFO] running `Command { std: "docker" "start" "-a" "9a752b8fb069bc0dd433e8a3cc570d51f06fa79cee22a51c350f9de4d1269721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a752b8fb069bc0dd433e8a3cc570d51f06fa79cee22a51c350f9de4d1269721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a752b8fb069bc0dd433e8a3cc570d51f06fa79cee22a51c350f9de4d1269721", kill_on_drop: false }` [INFO] [stdout] 9a752b8fb069bc0dd433e8a3cc570d51f06fa79cee22a51c350f9de4d1269721 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d2cdf627aef13ea6814b11a4b820cba75843eafa93c4e972f3f092e3f0edbdb [INFO] running `Command { std: "docker" "start" "-a" "9d2cdf627aef13ea6814b11a4b820cba75843eafa93c4e972f3f092e3f0edbdb", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling frunk_core v0.4.4 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rust_decimal v1.38.0 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling saturating v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling lru v0.10.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling pem v2.0.1 [INFO] [stderr] Compiling btoi v0.4.3 [INFO] [stderr] Compiling mysql v25.0.1 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling i_dao_proc_macro v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.4 [INFO] [stderr] Compiling derive_utils v0.15.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling frunk_proc_macros v0.1.4 [INFO] [stderr] Compiling frunk_derives v0.4.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling io-enum v1.2.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling frunk v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Compiling mysql-common-derive v0.31.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Compiling mysql_common v0.32.4 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling r2d2_mysql v24.0.0 [INFO] [stderr] Compiling i_dao v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `model` [INFO] [stdout] --> src/library_test/test_user.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{model}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::i_mysql::get_conn` [INFO] [stdout] --> src/library_test/test_user_sve.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::i_mysql::get_conn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/library_test/test_user_sve_tok.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `library_test` [INFO] [stdout] --> src/library_test/test_user_sve_tok.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{dao, library_test, sql}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warn` [INFO] [stdout] --> src/lib_test.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, info, trace, warn}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod lib_test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod lib_test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/lib_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod lib_test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/lib_test.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod lib_test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::library_test::test_user::TestUser` [INFO] [stdout] --> src/lib_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::library_test::test_user::TestUser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod lib_test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::library_test::test_user_sve` [INFO] [stdout] --> src/lib_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::library_test::test_user_sve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod lib_test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sql` [INFO] [stdout] --> src/lib_test.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{library_test, i_mysql, sql}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod lib_test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `MySqlError` [INFO] [stdout] --> src/tok/i_mysql.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use mysql::{Result, MySqlError, Error}; [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)]` (part of `#[warn(unused)]`) 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: constant `TABLE_NAME` is never used [INFO] [stdout] --> src/library_test/test_user.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const TABLE_NAME:&str = "test_user"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIELDS` is never used [INFO] [stdout] --> src/library_test/test_user.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const FIELDS:[&str;5] = ["id", "created_at", "updated_at", "user_name", "state"]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALIAS` is never used [INFO] [stdout] --> src/library_test/test_user.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ALIAS:&str = "testUser"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestUser` is never constructed [INFO] [stdout] --> src/library_test/test_user.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TestUser{ [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:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl TestUser { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new(user_name: String, state: u8) -> TestUser{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn new_full(id: u64, created_at: u64,updated_at: u64, user_name: String, state: u8) -> TestUser{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn set_pk(&mut self, pk: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn set_created_at(&mut self, at: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn set_updated_at(&mut self, at: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_field_sql` is never used [INFO] [stdout] --> src/library_test/test_user.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn get_field_sql(alias: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pot` is never used [INFO] [stdout] --> src/library_test/test_user.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | 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:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | 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:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | 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:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | 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:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn query_list(params: &HashMap>, condition: &[sql::Condition]) -> Result, Box src/library_test/test_user_sve.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | 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:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | 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:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | 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:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn query_list_by_enum(params: &HashMap, condition: &[sql::Condition]) -> mysql::Result src/lib_test.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn test_init() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "9d2cdf627aef13ea6814b11a4b820cba75843eafa93c4e972f3f092e3f0edbdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d2cdf627aef13ea6814b11a4b820cba75843eafa93c4e972f3f092e3f0edbdb", kill_on_drop: false }` [INFO] [stdout] 9d2cdf627aef13ea6814b11a4b820cba75843eafa93c4e972f3f092e3f0edbdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e668de78809c9d3b546bc5c56328c95c7bfff2a8043c2fd43c58bcdc8cc11355 [INFO] running `Command { std: "docker" "start" "-a" "e668de78809c9d3b546bc5c56328c95c7bfff2a8043c2fd43c58bcdc8cc11355", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `model` [INFO] [stdout] --> src/library_test/test_user.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{model}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::i_mysql::get_conn` [INFO] [stdout] --> src/library_test/test_user_sve.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::i_mysql::get_conn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/library_test/test_user_sve_tok.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `library_test` [INFO] [stdout] --> src/library_test/test_user_sve_tok.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{dao, library_test, sql}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warn` [INFO] [stdout] --> src/lib_test.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, info, trace, warn}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod lib_test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod lib_test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/lib_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod lib_test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/lib_test.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod lib_test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::library_test::test_user::TestUser` [INFO] [stdout] --> src/lib_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::library_test::test_user::TestUser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod lib_test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::library_test::test_user_sve` [INFO] [stdout] --> src/lib_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::library_test::test_user_sve; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod lib_test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sql` [INFO] [stdout] --> src/lib_test.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{library_test, i_mysql, sql}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod lib_test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `MySqlError` [INFO] [stdout] --> src/tok/i_mysql.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use mysql::{Result, MySqlError, Error}; [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)]` (part of `#[warn(unused)]`) 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: constant `TABLE_NAME` is never used [INFO] [stdout] --> src/library_test/test_user.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const TABLE_NAME:&str = "test_user"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIELDS` is never used [INFO] [stdout] --> src/library_test/test_user.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const FIELDS:[&str;5] = ["id", "created_at", "updated_at", "user_name", "state"]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALIAS` is never used [INFO] [stdout] --> src/library_test/test_user.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ALIAS:&str = "testUser"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestUser` is never constructed [INFO] [stdout] --> src/library_test/test_user.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TestUser{ [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:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl TestUser { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new(user_name: String, state: u8) -> TestUser{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn new_full(id: u64, created_at: u64,updated_at: u64, user_name: String, state: u8) -> TestUser{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn set_pk(&mut self, pk: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn set_created_at(&mut self, at: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn set_updated_at(&mut self, at: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_field_sql` is never used [INFO] [stdout] --> src/library_test/test_user.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn get_field_sql(alias: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pot` is never used [INFO] [stdout] --> src/library_test/test_user.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | 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:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | 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:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | 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:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | 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:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn query_list(params: &HashMap>, condition: &[sql::Condition]) -> Result, Box src/library_test/test_user_sve.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | 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:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | 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:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | 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:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn query_list_by_enum(params: &HashMap, condition: &[sql::Condition]) -> mysql::Result src/lib_test.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn test_init() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling i_dao v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `model` [INFO] [stdout] --> src/library_test/test_user.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{model}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::i_mysql::get_conn` [INFO] [stdout] --> src/library_test/test_user_sve.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::i_mysql::get_conn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/library_test/test_user_sve_tok.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `library_test` [INFO] [stdout] --> src/library_test/test_user_sve_tok.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{dao, library_test, sql}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `MySqlError` [INFO] [stdout] --> src/tok/i_mysql.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use mysql::{Result, MySqlError, Error}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_pk`, `set_created_at`, and `set_updated_at` are never used [INFO] [stdout] --> src/library_test/test_user.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl TestUser { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn set_pk(&mut self, pk: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn set_created_at(&mut self, at: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn set_updated_at(&mut self, at: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.97s [INFO] running `Command { std: "docker" "inspect" "e668de78809c9d3b546bc5c56328c95c7bfff2a8043c2fd43c58bcdc8cc11355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e668de78809c9d3b546bc5c56328c95c7bfff2a8043c2fd43c58bcdc8cc11355", kill_on_drop: false }` [INFO] [stdout] e668de78809c9d3b546bc5c56328c95c7bfff2a8043c2fd43c58bcdc8cc11355