[INFO] cloning repository https://github.com/brixtonLee/order-book-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brixtonLee/order-book-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbrixtonLee%2Forder-book-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbrixtonLee%2Forder-book-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 323b5097987c713500168c6581bb1f3efc21ed93 [INFO] checking brixtonLee/order-book-rust against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbrixtonLee%2Forder-book-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/brixtonLee/order-book-rust [INFO] finished tweaking git repo https://github.com/brixtonLee/order-book-rust [INFO] tweaked toml for git repo https://github.com/brixtonLee/order-book-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/brixtonLee/order-book-rust on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/brixtonLee/order-book-rust 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: http [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 419a4337db15f532019414307e5394ed7eadcdf59ee157d3e885ec16bb0bd642 [INFO] running `Command { std: "docker" "start" "-a" "419a4337db15f532019414307e5394ed7eadcdf59ee157d3e885ec16bb0bd642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "419a4337db15f532019414307e5394ed7eadcdf59ee157d3e885ec16bb0bd642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "419a4337db15f532019414307e5394ed7eadcdf59ee157d3e885ec16bb0bd642", kill_on_drop: false }` [INFO] [stdout] 419a4337db15f532019414307e5394ed7eadcdf59ee157d3e885ec16bb0bd642 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d04c757ca4dccb2b9ebb79b26325e3d7c43e11333ee2d9f0888ca92d11cc65d9 [INFO] running `Command { std: "docker" "start" "-a" "d04c757ca4dccb2b9ebb79b26325e3d7c43e11333ee2d9f0888ca92d11cc65d9", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: http [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling pq-sys v0.7.2 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling rdkafka-sys v4.9.0+2.10.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling diesel_derives v2.2.6 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking deadpool v0.12.2 [INFO] [stderr] Checking deadpool-sync v0.1.4 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking diesel v2.2.11 [INFO] [stderr] Checking rdkafka v0.38.0 [INFO] [stderr] Checking deadpool-diesel v0.6.1 [INFO] [stderr] Checking OrderBook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils::path_extractor::PathExtractor` [INFO] [stdout] --> src/application/handlers/instruments/get_all_instruments.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::path_extractor::PathExtractor; [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: `diesel::Insertable` [INFO] [stdout] --> src/application/dtos/instruments/instrument.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::Insertable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreateInstrumentRequest` [INFO] [stdout] --> src/application/mappers/instrument_mapper.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::application::dtos::instruments::instrument::{CreateInstrumentRequest, InstrumentResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::path_extractor::PathExtractor` [INFO] [stdout] --> src/application/handlers/instruments/get_all_instruments.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::path_extractor::PathExtractor; [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: `diesel::Insertable` [INFO] [stdout] --> src/application/dtos/instruments/instrument.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::Insertable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreateInstrumentRequest` [INFO] [stdout] --> src/application/mappers/instrument_mapper.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::application::dtos::instruments::instrument::{CreateInstrumentRequest, InstrumentResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/infrastructure/kafka/kafka_consumer.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn start_kafka_consumer(app_state: AppState){ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instrument` is never constructed [INFO] [stdout] --> src/domain/instrument.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Instrument{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstrumentCategory` is never constructed [INFO] [stdout] --> src/domain/instrument_category.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct InstrumentCategory{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InternalServerError` and `NotFound` are never constructed [INFO] [stdout] --> src/application/errors/api_error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ApiError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 9 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | NotFound{entity: String, id: i32}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InternalServerError` is never constructed [INFO] [stdout] --> src/application/errors/internal_server_error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError{ [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 7 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorMsg` is never constructed [INFO] [stdout] --> src/application/errors/json_error.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ErrorMsg{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseMessage` is never constructed [INFO] [stdout] --> src/application/errors/json_error.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct ResponseMessage{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> src/infrastructure/response.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Status{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/infrastructure/response.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Response{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListResponse` is never constructed [INFO] [stdout] --> src/infrastructure/response.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ListResponse{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, i32> [INFO] [stdout] --> src/domain/instrument.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/domain/instrument.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/domain/instrument.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/domain/instrument.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, i32> [INFO] [stdout] --> src/domain/instrument.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, i32> [INFO] [stdout] --> src/infrastructure/respositories/instrument_category_repository.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/infrastructure/respositories/instrument_category_repository.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/infrastructure/respositories/instrument_category_repository.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/infrastructure/respositories/instrument_category_repository.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/infrastructure/respositories/instrument_repository.rs:46:60 [INFO] [stdout] | [INFO] [stdout] 46 | fn return_instrument_insertable(create_instrument_request: &CreateInstrumentRequest, category_id: i32) -> InstrumentInsertable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn return_instrument_insertable(create_instrument_request: &CreateInstrumentRequest, category_id: i32) -> InstrumentInsertable<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `OrderBook` (bin "OrderBook" test) due to 9 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `app_state` [INFO] [stdout] --> src/infrastructure/kafka/kafka_consumer.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn start_kafka_consumer(app_state: AppState){ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instrument` is never constructed [INFO] [stdout] --> src/domain/instrument.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Instrument{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstrumentCategory` is never constructed [INFO] [stdout] --> src/domain/instrument_category.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct InstrumentCategory{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InternalServerError` and `NotFound` are never constructed [INFO] [stdout] --> src/application/errors/api_error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ApiError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 9 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | NotFound{entity: String, id: i32}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InternalServerError` is never constructed [INFO] [stdout] --> src/application/errors/internal_server_error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppError{ [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 7 | InternalServerError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorMsg` is never constructed [INFO] [stdout] --> src/application/errors/json_error.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ErrorMsg{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseMessage` is never constructed [INFO] [stdout] --> src/application/errors/json_error.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct ResponseMessage{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> src/infrastructure/response.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Status{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/infrastructure/response.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Response{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListResponse` is never constructed [INFO] [stdout] --> src/infrastructure/response.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ListResponse{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, i32> [INFO] [stdout] --> src/domain/instrument.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/domain/instrument.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/domain/instrument.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/domain/instrument.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, i32> [INFO] [stdout] --> src/domain/instrument.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, i32> [INFO] [stdout] --> src/infrastructure/respositories/instrument_category_repository.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/infrastructure/respositories/instrument_category_repository.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/infrastructure/respositories/instrument_category_repository.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/infrastructure/respositories/instrument_category_repository.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Queryable, Selectable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/infrastructure/respositories/instrument_repository.rs:46:60 [INFO] [stdout] | [INFO] [stdout] 46 | fn return_instrument_insertable(create_instrument_request: &CreateInstrumentRequest, category_id: i32) -> InstrumentInsertable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn return_instrument_insertable(create_instrument_request: &CreateInstrumentRequest, category_id: i32) -> InstrumentInsertable<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `OrderBook` (bin "OrderBook") due to 9 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d04c757ca4dccb2b9ebb79b26325e3d7c43e11333ee2d9f0888ca92d11cc65d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d04c757ca4dccb2b9ebb79b26325e3d7c43e11333ee2d9f0888ca92d11cc65d9", kill_on_drop: false }` [INFO] [stdout] d04c757ca4dccb2b9ebb79b26325e3d7c43e11333ee2d9f0888ca92d11cc65d9