[INFO] cloning repository https://github.com/ArturNiko/market-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArturNiko/market-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArturNiko%2Fmarket-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArturNiko%2Fmarket-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 448bd1d1b4d08a2676bd6c5a2d552a22ee2f9502
[INFO] checking ArturNiko/market-api against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArturNiko%2Fmarket-api" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ArturNiko/market-api
[INFO] finished tweaking git repo https://github.com/ArturNiko/market-api
[INFO] tweaked toml for git repo https://github.com/ArturNiko/market-api written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ArturNiko/market-api on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ArturNiko/market-api 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5fb109e024a2183aece9d8d76ab91c350edb04dfc12fb6742caca902d7fce6b5
[INFO] running `Command { std: "docker" "start" "-a" "5fb109e024a2183aece9d8d76ab91c350edb04dfc12fb6742caca902d7fce6b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5fb109e024a2183aece9d8d76ab91c350edb04dfc12fb6742caca902d7fce6b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5fb109e024a2183aece9d8d76ab91c350edb04dfc12fb6742caca902d7fce6b5", kill_on_drop: false }`
[INFO] [stdout] 5fb109e024a2183aece9d8d76ab91c350edb04dfc12fb6742caca902d7fce6b5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 900b2f911eab50174923f5e4c8f7e705c3cf59cf7583321fcb3ad0cf8a4d41cf
[INFO] running `Command { std: "docker" "start" "-a" "900b2f911eab50174923f5e4c8f7e705c3cf59cf7583321fcb3ad0cf8a4d41cf", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]     Checking cpufeatures v0.2.16
[INFO] [stderr]     Checking tinyvec v1.8.1
[INFO] [stderr]     Checking unicode-properties v0.1.3
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling rust_decimal v1.37.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking phf v0.11.2
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking whoami v1.5.2
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking postgres-protocol v0.6.7
[INFO] [stderr]    Compiling uuid-macro-internal v1.10.0
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]     Checking tokio v1.42.0
[INFO] [stderr]     Checking uuid v1.10.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking postgres-types v0.2.8
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking tokio-postgres v0.7.12
[INFO] [stderr]     Checking market v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/components/customer/customer.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio_postgres::{ Error, Row };
[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: `Error`
[INFO] [stdout]  --> src/components/customer/user.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_postgres::{ Error, Row };
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/components/market/market.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio_postgres::{ Error, Row };
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/components/market/slot.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/components/item/item.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio_postgres::{ Error, Row };
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DbError`, `FromRow`, and `QueryBuilder`
[INFO] [stdout]  --> src/app/database/mod.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use connection::{ DB, QueryBuilder, FromRow, DbError };
[INFO] [stdout]   |                           ^^^^^^^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Item`, `OrderType`, and `Order`
[INFO] [stdout]  --> src/app/initialization.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Item,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 5 |     Market, MarketError, MarketType,
[INFO] [stdout] 6 |     Order, OrderType
[INFO] [stdout]   |     ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/components/customer/customer.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio_postgres::{ Error, Row };
[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: `Error`
[INFO] [stdout]  --> src/components/customer/user.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_postgres::{ Error, Row };
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/components/market/market.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio_postgres::{ Error, Row };
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/components/market/slot.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/components/item/item.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio_postgres::{ Error, Row };
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DbError`, `FromRow`, and `QueryBuilder`
[INFO] [stdout]  --> src/app/database/mod.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use connection::{ DB, QueryBuilder, FromRow, DbError };
[INFO] [stdout]   |                           ^^^^^^^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Item`, `OrderType`, and `Order`
[INFO] [stdout]  --> src/app/initialization.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Item,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 5 |     Market, MarketError, MarketType,
[INFO] [stdout] 6 |     Order, OrderType
[INFO] [stdout]   |     ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/components/market/market.rs:140:90
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let slot = Slot::new(item.clone(), price_base).await.map_err(|e| MarketError::Db(e))?;
[INFO] [stdout]     |                                                                          --------------- ^ expected `DbError`, found `Error`
[INFO] [stdout]     |                                                                          |
[INFO] [stdout]     |                                                                          arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> src/components/market/market.rs:247:5
[INFO] [stdout]     |
[INFO] [stdout] 247 |     Db(DbError),
[INFO] [stdout]     |     ^^
[INFO] [stdout] help: try wrapping the expression in `app::database::connection::DbError::PostgresError`
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let slot = Slot::new(item.clone(), price_base).await.map_err(|e| MarketError::Db(app::database::connection::DbError::PostgresError(e)))?;
[INFO] [stdout]     |                                                                                          ++++++++++++++++++++++++++++++++++++++++++++++++++ +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): connection::FromRow` is not satisfied
[INFO] [stdout]    --> src/components/market/market.rs:169:14
[INFO] [stdout]     |
[INFO] [stdout] 169 |             .insert()
[INFO] [stdout]     |              ^^^^^^ the trait `connection::FromRow` is not implemented for `()`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `connection::FromRow`
[INFO] [stdout]    --> src/components/customer/customer.rs:18:1
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl FromRow for Customer {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^ `components::customer::customer::Customer`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/components/customer/user.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout]  13 | impl FromRow for User {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^ `User`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/components/item/item.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl FromRow for Item {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^ `components::item::item::Item`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/components/market/market.rs:22:1
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl FromRow for Market {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^ `components::market::market::Market`
[INFO] [stdout] note: required by a bound in `QueryBuilder::<'a>::insert`
[INFO] [stdout]    --> src/app/database/connection.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 |     pub async fn insert<T: FromRow>(self) -> Result<T, DbError> {
[INFO] [stdout]     |                            ^^^^^^^ required by this bound in `QueryBuilder::<'a>::insert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error`
[INFO] [stdout]   --> src/components/market/slot.rs:20:41
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut db: DB = DB::new().await?;
[INFO] [stdout]    |                          ---------------^ the trait `From<connection::DbError>` is not implemented for `tokio_postgres::Error`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          this can't be annotated with `?` because it has type `Result<_, connection::DbError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `connection::DbError` needs to implement `Into<tokio_postgres::Error>`
[INFO] [stdout]   --> src/app/database/connection.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum DbError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error`
[INFO] [stdout]   --> src/components/market/slot.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |           let slot: Row = db
[INFO] [stdout]    |  _________________________-
[INFO] [stdout] 22 | |             .table("slots")
[INFO] [stdout] 23 | |             .columns(vec!["item_id", "price_base"])
[INFO] [stdout] 24 | |             .values(vec![
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | |             .insert()
[INFO] [stdout] 29 | |             .await?;
[INFO] [stdout]    | |                  -^ the trait `From<connection::DbError>` is not implemented for `tokio_postgres::Error`
[INFO] [stdout]    | |__________________|
[INFO] [stdout]    |                    this can't be annotated with `?` because it has type `Result<_, connection::DbError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `connection::DbError` needs to implement `Into<tokio_postgres::Error>`
[INFO] [stdout]   --> src/app/database/connection.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum DbError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `tokio_postgres::Row: connection::FromRow` is not satisfied
[INFO] [stdout]    --> src/components/market/slot.rs:28:14
[INFO] [stdout]     |
[INFO] [stdout]  28 |             .insert()
[INFO] [stdout]     |              ^^^^^^ the trait `connection::FromRow` is not implemented for `tokio_postgres::Row`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `connection::FromRow`
[INFO] [stdout]    --> src/components/customer/customer.rs:18:1
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl FromRow for Customer {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^ `components::customer::customer::Customer`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/components/customer/user.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout]  13 | impl FromRow for User {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^ `User`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/components/item/item.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl FromRow for Item {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^ `components::item::item::Item`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/components/market/market.rs:22:1
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl FromRow for Market {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^ `components::market::market::Market`
[INFO] [stdout] note: required by a bound in `QueryBuilder::<'a>::insert`
[INFO] [stdout]    --> src/app/database/connection.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 |     pub async fn insert<T: FromRow>(self) -> Result<T, DbError> {
[INFO] [stdout]     |                            ^^^^^^^ required by this bound in `QueryBuilder::<'a>::insert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/components/market/market.rs:140:90
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let slot = Slot::new(item.clone(), price_base).await.map_err(|e| MarketError::Db(e))?;
[INFO] [stdout]     |                                                                          --------------- ^ expected `DbError`, found `Error`
[INFO] [stdout]     |                                                                          |
[INFO] [stdout]     |                                                                          arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> src/components/market/market.rs:247:5
[INFO] [stdout]     |
[INFO] [stdout] 247 |     Db(DbError),
[INFO] [stdout]     |     ^^
[INFO] [stdout] help: try wrapping the expression in `app::database::connection::DbError::PostgresError`
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let slot = Slot::new(item.clone(), price_base).await.map_err(|e| MarketError::Db(app::database::connection::DbError::PostgresError(e)))?;
[INFO] [stdout]     |                                                                                          ++++++++++++++++++++++++++++++++++++++++++++++++++ +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): connection::FromRow` is not satisfied
[INFO] [stdout]    --> src/components/market/market.rs:169:14
[INFO] [stdout]     |
[INFO] [stdout] 169 |             .insert()
[INFO] [stdout]     |              ^^^^^^ the trait `connection::FromRow` is not implemented for `()`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `connection::FromRow`
[INFO] [stdout]    --> src/components/customer/customer.rs:18:1
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl FromRow for Customer {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^ `components::customer::customer::Customer`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/components/customer/user.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout]  13 | impl FromRow for User {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^ `User`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/components/item/item.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl FromRow for Item {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^ `components::item::item::Item`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/components/market/market.rs:22:1
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl FromRow for Market {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^ `components::market::market::Market`
[INFO] [stdout] note: required by a bound in `QueryBuilder::<'a>::insert`
[INFO] [stdout]    --> src/app/database/connection.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 |     pub async fn insert<T: FromRow>(self) -> Result<T, DbError> {
[INFO] [stdout]     |                            ^^^^^^^ required by this bound in `QueryBuilder::<'a>::insert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error`
[INFO] [stdout]   --> src/components/market/slot.rs:20:41
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut db: DB = DB::new().await?;
[INFO] [stdout]    |                          ---------------^ the trait `From<connection::DbError>` is not implemented for `tokio_postgres::Error`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          this can't be annotated with `?` because it has type `Result<_, connection::DbError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `connection::DbError` needs to implement `Into<tokio_postgres::Error>`
[INFO] [stdout]   --> src/app/database/connection.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum DbError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error`
[INFO] [stdout]   --> src/components/market/slot.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |           let slot: Row = db
[INFO] [stdout]    |  _________________________-
[INFO] [stdout] 22 | |             .table("slots")
[INFO] [stdout] 23 | |             .columns(vec!["item_id", "price_base"])
[INFO] [stdout] 24 | |             .values(vec![
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | |             .insert()
[INFO] [stdout] 29 | |             .await?;
[INFO] [stdout]    | |                  -^ the trait `From<connection::DbError>` is not implemented for `tokio_postgres::Error`
[INFO] [stdout]    | |__________________|
[INFO] [stdout]    |                    this can't be annotated with `?` because it has type `Result<_, connection::DbError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `connection::DbError` needs to implement `Into<tokio_postgres::Error>`
[INFO] [stdout]   --> src/app/database/connection.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum DbError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `tokio_postgres::Row: connection::FromRow` is not satisfied
[INFO] [stdout]    --> src/components/market/slot.rs:28:14
[INFO] [stdout]     |
[INFO] [stdout]  28 |             .insert()
[INFO] [stdout]     |              ^^^^^^ the trait `connection::FromRow` is not implemented for `tokio_postgres::Row`
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `connection::FromRow`
[INFO] [stdout]    --> src/components/customer/customer.rs:18:1
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl FromRow for Customer {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^ `components::customer::customer::Customer`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/components/customer/user.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout]  13 | impl FromRow for User {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^ `User`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/components/item/item.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl FromRow for Item {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^ `components::item::item::Item`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/components/market/market.rs:22:1
[INFO] [stdout]     |
[INFO] [stdout]  22 | impl FromRow for Market {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^ `components::market::market::Market`
[INFO] [stdout] note: required by a bound in `QueryBuilder::<'a>::insert`
[INFO] [stdout]    --> src/app/database/connection.rs:175:28
[INFO] [stdout]     |
[INFO] [stdout] 175 |     pub async fn insert<T: FromRow>(self) -> Result<T, DbError> {
[INFO] [stdout]     |                            ^^^^^^^ required by this bound in `QueryBuilder::<'a>::insert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error`
[INFO] [stdout]   --> src/app/initialization.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let market_owner: Customer = Customer::new(
[INFO] [stdout]    |  __________________________________-
[INFO] [stdout] 11 | |         "market_owner",
[INFO] [stdout] 12 | |         "test1@gmail.com",
[INFO] [stdout] 13 | |         "12345678"
[INFO] [stdout] 14 | |     ).await?;
[INFO] [stdout]    | |           -^ the trait `From<connection::DbError>` is not implemented for `tokio_postgres::Error`
[INFO] [stdout]    | |___________|
[INFO] [stdout]    |             this can't be annotated with `?` because it has type `Result<_, connection::DbError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `connection::DbError` needs to implement `Into<tokio_postgres::Error>`
[INFO] [stdout]   --> src/app/database/connection.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum DbError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error`
[INFO] [stdout]   --> src/app/initialization.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let mut market: Market = Market::new(
[INFO] [stdout]    |  ______________________________-
[INFO] [stdout] 23 | |         "Test Market",
[INFO] [stdout] 24 | |         None,
[INFO] [stdout] 25 | |         MarketType::PRIVATE,
[INFO] [stdout] 26 | |         Some(1.5),
[INFO] [stdout] 27 | |         market_owner.user_id()
[INFO] [stdout] 28 | |     ).await?;
[INFO] [stdout]    | |           -^ the trait `From<connection::DbError>` is not implemented for `tokio_postgres::Error`
[INFO] [stdout]    | |___________|
[INFO] [stdout]    |             this can't be annotated with `?` because it has type `Result<_, connection::DbError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `connection::DbError` needs to implement `Into<tokio_postgres::Error>`
[INFO] [stdout]   --> src/app/database/connection.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum DbError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error`
[INFO] [stdout]   --> src/app/initialization.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |       let customer: Customer = Customer::new(
[INFO] [stdout]    |  ______________________________-
[INFO] [stdout] 38 | |         "customer",
[INFO] [stdout] 39 | |         "test2@gmail.com",
[INFO] [stdout] 40 | |         "12345678"
[INFO] [stdout] 41 | |     ).await?;
[INFO] [stdout]    | |           -^ the trait `From<connection::DbError>` is not implemented for `tokio_postgres::Error`
[INFO] [stdout]    | |___________|
[INFO] [stdout]    |             this can't be annotated with `?` because it has type `Result<_, connection::DbError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `connection::DbError` needs to implement `Into<tokio_postgres::Error>`
[INFO] [stdout]   --> src/app/database/connection.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum DbError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error`
[INFO] [stdout]   --> src/app/initialization.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |       let market_owner: Customer = Customer::new(
[INFO] [stdout]    |  __________________________________-
[INFO] [stdout] 11 | |         "market_owner",
[INFO] [stdout] 12 | |         "test1@gmail.com",
[INFO] [stdout] 13 | |         "12345678"
[INFO] [stdout] 14 | |     ).await?;
[INFO] [stdout]    | |           -^ the trait `From<connection::DbError>` is not implemented for `tokio_postgres::Error`
[INFO] [stdout]    | |___________|
[INFO] [stdout]    |             this can't be annotated with `?` because it has type `Result<_, connection::DbError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `connection::DbError` needs to implement `Into<tokio_postgres::Error>`
[INFO] [stdout]   --> src/app/database/connection.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum DbError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error`
[INFO] [stdout]   --> src/app/initialization.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |       let mut market: Market = Market::new(
[INFO] [stdout]    |  ______________________________-
[INFO] [stdout] 23 | |         "Test Market",
[INFO] [stdout] 24 | |         None,
[INFO] [stdout] 25 | |         MarketType::PRIVATE,
[INFO] [stdout] 26 | |         Some(1.5),
[INFO] [stdout] 27 | |         market_owner.user_id()
[INFO] [stdout] 28 | |     ).await?;
[INFO] [stdout]    | |           -^ the trait `From<connection::DbError>` is not implemented for `tokio_postgres::Error`
[INFO] [stdout]    | |___________|
[INFO] [stdout]    |             this can't be annotated with `?` because it has type `Result<_, connection::DbError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `connection::DbError` needs to implement `Into<tokio_postgres::Error>`
[INFO] [stdout]   --> src/app/database/connection.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum DbError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `tokio_postgres::Error`
[INFO] [stdout]   --> src/app/initialization.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 37 |       let customer: Customer = Customer::new(
[INFO] [stdout]    |  ______________________________-
[INFO] [stdout] 38 | |         "customer",
[INFO] [stdout] 39 | |         "test2@gmail.com",
[INFO] [stdout] 40 | |         "12345678"
[INFO] [stdout] 41 | |     ).await?;
[INFO] [stdout]    | |           -^ the trait `From<connection::DbError>` is not implemented for `tokio_postgres::Error`
[INFO] [stdout]    | |___________|
[INFO] [stdout]    |             this can't be annotated with `?` because it has type `Result<_, connection::DbError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `connection::DbError` needs to implement `Into<tokio_postgres::Error>`
[INFO] [stdout]   --> src/app/database/connection.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum DbError {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values`
[INFO] [stdout]    --> src/app/database/connection.rs:317:29
[INFO] [stdout]     |
[INFO] [stdout] 317 |                 if let Some(values) = &self.values {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `columns`
[INFO] [stdout]    --> src/app/database/connection.rs:327:29
[INFO] [stdout]     |
[INFO] [stdout] 327 |                 if let Some(columns) = &self.columns {
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `market` (bin "market" test) due to 8 previous errors; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `values`
[INFO] [stdout]    --> src/app/database/connection.rs:317:29
[INFO] [stdout]     |
[INFO] [stdout] 317 |                 if let Some(values) = &self.values {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `columns`
[INFO] [stdout]    --> src/app/database/connection.rs:327:29
[INFO] [stdout]     |
[INFO] [stdout] 327 |                 if let Some(columns) = &self.columns {
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `market` (bin "market") due to 8 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "900b2f911eab50174923f5e4c8f7e705c3cf59cf7583321fcb3ad0cf8a4d41cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "900b2f911eab50174923f5e4c8f7e705c3cf59cf7583321fcb3ad0cf8a4d41cf", kill_on_drop: false }`
[INFO] [stdout] 900b2f911eab50174923f5e4c8f7e705c3cf59cf7583321fcb3ad0cf8a4d41cf
