[INFO] cloning repository https://github.com/ross2121/DB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ross2121/DB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fross2121%2FDB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fross2121%2FDB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c961de8626ec11f38735e0754d4234fab05aa0da [INFO] testing ross2121/DB against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fross2121%2FDB" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ross2121/DB [INFO] finished tweaking git repo https://github.com/ross2121/DB [INFO] tweaked toml for git repo https://github.com/ross2121/DB written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ross2121/DB 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] crate git repo https://github.com/ross2121/DB 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator v0.20.0 [INFO] [stderr] Downloaded pq-sys v0.7.2 [INFO] [stderr] Downloaded dsl_auto_type v0.1.3 [INFO] [stderr] Downloaded validator_derive v0.20.0 [INFO] [stderr] Downloaded bigdecimal v0.4.8 [INFO] [stderr] Downloaded diesel_derives v2.2.7 [INFO] [stderr] Downloaded redis v0.29.5 [INFO] [stderr] Downloaded diesel v2.2.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4aedcba2a788df60a30654bb37e917c6c07af7f65b979eaa808f712f2ed3dff8 [INFO] running `Command { std: "docker" "start" "-a" "4aedcba2a788df60a30654bb37e917c6c07af7f65b979eaa808f712f2ed3dff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aedcba2a788df60a30654bb37e917c6c07af7f65b979eaa808f712f2ed3dff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aedcba2a788df60a30654bb37e917c6c07af7f65b979eaa808f712f2ed3dff8", kill_on_drop: false }` [INFO] [stdout] 4aedcba2a788df60a30654bb37e917c6c07af7f65b979eaa808f712f2ed3dff8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 38d04adc76a38049a579612492b367d84aa25c736cc384e985e1f98f9966369d [INFO] running `Command { std: "docker" "start" "-a" "38d04adc76a38049a579612492b367d84aa25c736cc384e985e1f98f9966369d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling pq-sys v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_filter v0.1.3 [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 diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [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 dsl_auto_type v0.1.3 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling diesel_derives v2.2.7 [INFO] [stderr] Compiling serde v1.0.219 [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 idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling redis v0.29.5 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling diesel v2.2.12 [INFO] [stderr] Compiling DB v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [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: `validator::Validate` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/model.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bigdecimal::BigDecimal` [INFO] [stdout] --> src/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bigdecimal::BigDecimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dbpool` should have an upper camel case name [INFO] [stdout] --> src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type dbpool=r2d2::Pool>; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Dbpool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | Err(e)=>print!("Error processing message") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e)=>print!("Error debugign message") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | Err(e)=>println!("could not find env") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Side` is never used [INFO] [stdout] --> src/model.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum Side { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "38d04adc76a38049a579612492b367d84aa25c736cc384e985e1f98f9966369d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38d04adc76a38049a579612492b367d84aa25c736cc384e985e1f98f9966369d", kill_on_drop: false }` [INFO] [stdout] 38d04adc76a38049a579612492b367d84aa25c736cc384e985e1f98f9966369d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 00e41ce4e78cb5a725c1bbe8ea4486c623fd6f5b121925dfe634226b76e9c484 [INFO] running `Command { std: "docker" "start" "-a" "00e41ce4e78cb5a725c1bbe8ea4486c623fd6f5b121925dfe634226b76e9c484", kill_on_drop: false }` [INFO] [stderr] Compiling DB v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [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: `validator::Validate` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/model.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/model.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bigdecimal::BigDecimal` [INFO] [stdout] --> src/model.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bigdecimal::BigDecimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dbpool` should have an upper camel case name [INFO] [stdout] --> src/main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub type dbpool=r2d2::Pool>; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Dbpool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | Err(e)=>print!("Error processing message") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e)=>print!("Error debugign message") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | Err(e)=>println!("could not find env") [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Side` is never used [INFO] [stdout] --> src/model.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum Side { [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 1.88s [INFO] running `Command { std: "docker" "inspect" "00e41ce4e78cb5a725c1bbe8ea4486c623fd6f5b121925dfe634226b76e9c484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00e41ce4e78cb5a725c1bbe8ea4486c623fd6f5b121925dfe634226b76e9c484", kill_on_drop: false }` [INFO] [stdout] 00e41ce4e78cb5a725c1bbe8ea4486c623fd6f5b121925dfe634226b76e9c484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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", kill_on_drop: false }` [INFO] [stdout] 9b70112ff6ecbf7556fd4fd1d5cb65eea73f878577cbc0650c1a5395dd18a5ab [INFO] running `Command { std: "docker" "start" "-a" "9b70112ff6ecbf7556fd4fd1d5cb65eea73f878577cbc0650c1a5395dd18a5ab", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> src/main.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `validator::Validate` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use validator::Validate; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `uuid::Uuid` [INFO] [stderr] --> src/model.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use uuid::Uuid; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::NaiveDateTime` [INFO] [stderr] --> src/model.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use chrono::NaiveDateTime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bigdecimal::BigDecimal` [INFO] [stderr] --> src/model.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use bigdecimal::BigDecimal; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `dbpool` should have an upper camel case name [INFO] [stderr] --> src/main.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | pub type dbpool=r2d2::Pool>; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `Dbpool` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:44:21 [INFO] [stderr] | [INFO] [stderr] 44 | Err(e)=>print!("Error processing message") [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:47:15 [INFO] [stderr] | [INFO] [stderr] 47 | Err(e)=>print!("Error debugign message") [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:25:11 [INFO] [stderr] | [INFO] [stderr] 25 | Err(e)=>println!("could not find env") [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: enum `Side` is never used [INFO] [stderr] --> src/model.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | pub enum Side { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `DB` (bin "DB" test) generated 10 warnings (run `cargo fix --bin "DB" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/DB-00191578901e8eaa) [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" "9b70112ff6ecbf7556fd4fd1d5cb65eea73f878577cbc0650c1a5395dd18a5ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b70112ff6ecbf7556fd4fd1d5cb65eea73f878577cbc0650c1a5395dd18a5ab", kill_on_drop: false }` [INFO] [stdout] 9b70112ff6ecbf7556fd4fd1d5cb65eea73f878577cbc0650c1a5395dd18a5ab