[INFO] cloning repository https://github.com/prongbang/warp-hexagon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prongbang/warp-hexagon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprongbang%2Fwarp-hexagon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprongbang%2Fwarp-hexagon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ec617fd4c18885afa53e1e03a1d924e1ec8816e [INFO] checking prongbang/warp-hexagon 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%2Fprongbang%2Fwarp-hexagon" "/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/prongbang/warp-hexagon [INFO] finished tweaking git repo https://github.com/prongbang/warp-hexagon [INFO] tweaked toml for git repo https://github.com/prongbang/warp-hexagon written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/prongbang/warp-hexagon 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/prongbang/warp-hexagon 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] 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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 712350d48895e01c25efe27c0f336cd66fbf770e920f900311a0798a3fd7016d [INFO] running `Command { std: "docker" "start" "-a" "712350d48895e01c25efe27c0f336cd66fbf770e920f900311a0798a3fd7016d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "712350d48895e01c25efe27c0f336cd66fbf770e920f900311a0798a3fd7016d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "712350d48895e01c25efe27c0f336cd66fbf770e920f900311a0798a3fd7016d", kill_on_drop: false }` [INFO] [stdout] 712350d48895e01c25efe27c0f336cd66fbf770e920f900311a0798a3fd7016d [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 -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] 98b9f59b5f182da8b4f095fc0eca7d1ece952ba1ef93c85128ff033ba95ff3ed [INFO] running `Command { std: "docker" "start" "-a" "98b9f59b5f182da8b4f095fc0eca7d1ece952ba1ef93c85128ff033ba95ff3ed", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking generic-array v0.14.5 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking crypto-common v0.1.4 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.1 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking headers v0.3.7 [INFO] [stderr] Checking postgres-protocol v0.6.4 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking tungstenite v0.14.0 [INFO] [stderr] Checking pin-project v1.0.11 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-tungstenite v0.15.0 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking mobc v0.7.3 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking postgres-types v0.2.3 [INFO] [stderr] Checking tokio-postgres v0.7.6 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking mobc-postgres v0.7.0 [INFO] [stderr] Checking warp v0.3.2 [INFO] [stderr] Checking warp-hexagon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `with_db` is never used [INFO] [stdout] --> src/customer/data/db.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn with_db(db: Db) -> impl Filter + Clone { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 11 | | match customer::domain::get_customer_list::execute(locator.customer_repo).await { [INFO] [stdout] 12 | | Ok(customers) => { [INFO] [stdout] 13 | | Ok(response::success(&customers)) [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [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: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 11 | | match customer::domain::get_customer_list::execute(locator.customer_repo).await { [INFO] [stdout] 12 | | Ok(customers) => { [INFO] [stdout] 13 | | Ok(response::success(&customers)) [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / match customer::domain::get_customer_list::execute(locator.customer_repo).await { [INFO] [stdout] 12 | | Ok(customers) => { [INFO] [stdout] 13 | | Ok(response::success(&customers)) [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | Ok(customers) => { [INFO] [stdout] | __________________________^ [INFO] [stdout] 13 | | Ok(response::success(&customers)) [INFO] [stdout] 14 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(response::success(&customers)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | Err(_) => { [INFO] [stdout] | ___________________^ [INFO] [stdout] 16 | | let v: Vec = Vec::new(); [INFO] [stdout] 17 | | Ok(response::success(&v)) [INFO] [stdout] 18 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(response::success(&v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 26 | | match customer::domain::create_customer::execute(locator.customer_repo, new_customer).await { [INFO] [stdout] 27 | | Ok(customer) => Ok(response::success(&customer)), [INFO] [stdout] 28 | | Err(_) => Ok(response::bad_request("bad-request")) [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 26 | | match customer::domain::create_customer::execute(locator.customer_repo, new_customer).await { [INFO] [stdout] 27 | | Ok(customer) => Ok(response::success(&customer)), [INFO] [stdout] 28 | | Err(_) => Ok(response::bad_request("bad-request")) [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / match customer::domain::create_customer::execute(locator.customer_repo, new_customer).await { [INFO] [stdout] 27 | | Ok(customer) => Ok(response::success(&customer)), [INFO] [stdout] 28 | | Err(_) => Ok(response::bad_request("bad-request")) [INFO] [stdout] 29 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(customer) => Ok(response::success(&customer)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | Err(_) => Ok(response::bad_request("bad-request")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | ) -> Result, Infallible> { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 36 | | match customer::domain::get_customer::execute(locator.customer_repo, guid).await { [INFO] [stdout] 37 | | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] 38 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | ) -> Result, Infallible> { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 36 | | match customer::domain::get_customer::execute(locator.customer_repo, guid).await { [INFO] [stdout] 37 | | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] 38 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / match customer::domain::get_customer::execute(locator.customer_repo, guid).await { [INFO] [stdout] 37 | | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] 38 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 47 | | match customer::domain::update_customer::execute(locator.customer_repo, guid, update_customer).await { [INFO] [stdout] 48 | | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] 49 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 47 | | match customer::domain::update_customer::execute(locator.customer_repo, guid, update_customer).await { [INFO] [stdout] 48 | | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] 49 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / match customer::domain::update_customer::execute(locator.customer_repo, guid, update_customer).await { [INFO] [stdout] 48 | | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] 49 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 57 | | match customer::domain::delete_customer::execute(locator.customer_repo, guid).await { [INFO] [stdout] 58 | | Ok(_) => Ok(Box::new(response::success_message())), [INFO] [stdout] 59 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 57 | | match customer::domain::delete_customer::execute(locator.customer_repo, guid).await { [INFO] [stdout] 58 | | Ok(_) => Ok(Box::new(response::success_message())), [INFO] [stdout] 59 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / match customer::domain::delete_customer::execute(locator.customer_repo, guid).await { [INFO] [stdout] 58 | | Ok(_) => Ok(Box::new(response::success_message())), [INFO] [stdout] 59 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(_) => Ok(Box::new(response::success_message())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/core/error_postgres.rs:26:94 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn handle_rejection(err: Rejection) -> std::result::Result { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 27 | | let code; [INFO] [stdout] 28 | | let message; [INFO] [stdout] ... | [INFO] [stdout] 61 | | Ok(warp::reply::with_status(json, code)) [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/core/error_postgres.rs:26:94 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn handle_rejection(err: Rejection) -> std::result::Result { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 27 | | let code; [INFO] [stdout] 28 | | let message; [INFO] [stdout] ... | [INFO] [stdout] 61 | | Ok(warp::reply::with_status(json, code)) [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/core/error_postgres.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Ok(warp::reply::with_status(json, code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-hexagon` (lib) due to 30 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `with_db` is never used [INFO] [stdout] --> src/customer/data/db.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn with_db(db: Db) -> impl Filter + Clone { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 11 | | match customer::domain::get_customer_list::execute(locator.customer_repo).await { [INFO] [stdout] 12 | | Ok(customers) => { [INFO] [stdout] 13 | | Ok(response::success(&customers)) [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [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: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 11 | | match customer::domain::get_customer_list::execute(locator.customer_repo).await { [INFO] [stdout] 12 | | Ok(customers) => { [INFO] [stdout] 13 | | Ok(response::success(&customers)) [INFO] [stdout] ... | [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / match customer::domain::get_customer_list::execute(locator.customer_repo).await { [INFO] [stdout] 12 | | Ok(customers) => { [INFO] [stdout] 13 | | Ok(response::success(&customers)) [INFO] [stdout] ... | [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | Ok(customers) => { [INFO] [stdout] | __________________________^ [INFO] [stdout] 13 | | Ok(response::success(&customers)) [INFO] [stdout] 14 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(response::success(&customers)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | Err(_) => { [INFO] [stdout] | ___________________^ [INFO] [stdout] 16 | | let v: Vec = Vec::new(); [INFO] [stdout] 17 | | Ok(response::success(&v)) [INFO] [stdout] 18 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(response::success(&v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 26 | | match customer::domain::create_customer::execute(locator.customer_repo, new_customer).await { [INFO] [stdout] 27 | | Ok(customer) => Ok(response::success(&customer)), [INFO] [stdout] 28 | | Err(_) => Ok(response::bad_request("bad-request")) [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 26 | | match customer::domain::create_customer::execute(locator.customer_repo, new_customer).await { [INFO] [stdout] 27 | | Ok(customer) => Ok(response::success(&customer)), [INFO] [stdout] 28 | | Err(_) => Ok(response::bad_request("bad-request")) [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / match customer::domain::create_customer::execute(locator.customer_repo, new_customer).await { [INFO] [stdout] 27 | | Ok(customer) => Ok(response::success(&customer)), [INFO] [stdout] 28 | | Err(_) => Ok(response::bad_request("bad-request")) [INFO] [stdout] 29 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(customer) => Ok(response::success(&customer)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/customer/handler.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | Err(_) => Ok(response::bad_request("bad-request")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | ) -> Result, Infallible> { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 36 | | match customer::domain::get_customer::execute(locator.customer_repo, guid).await { [INFO] [stdout] 37 | | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] 38 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | ) -> Result, Infallible> { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 36 | | match customer::domain::get_customer::execute(locator.customer_repo, guid).await { [INFO] [stdout] 37 | | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] 38 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / match customer::domain::get_customer::execute(locator.customer_repo, guid).await { [INFO] [stdout] 37 | | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] 38 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 47 | | match customer::domain::update_customer::execute(locator.customer_repo, guid, update_customer).await { [INFO] [stdout] 48 | | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] 49 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:46:43 [INFO] [stdout] | [INFO] [stdout] 46 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 47 | | match customer::domain::update_customer::execute(locator.customer_repo, guid, update_customer).await { [INFO] [stdout] 48 | | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] 49 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / match customer::domain::update_customer::execute(locator.customer_repo, guid, update_customer).await { [INFO] [stdout] 48 | | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] 49 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(customer) => Ok(Box::new(response::success(&customer))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 57 | | match customer::domain::delete_customer::execute(locator.customer_repo, guid).await { [INFO] [stdout] 58 | | Ok(_) => Ok(Box::new(response::success_message())), [INFO] [stdout] 59 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 57 | | match customer::domain::delete_customer::execute(locator.customer_repo, guid).await { [INFO] [stdout] 58 | | Ok(_) => Ok(Box::new(response::success_message())), [INFO] [stdout] 59 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / match customer::domain::delete_customer::execute(locator.customer_repo, guid).await { [INFO] [stdout] 58 | | Ok(_) => Ok(Box::new(response::success_message())), [INFO] [stdout] 59 | | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(_) => Ok(Box::new(response::success_message())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/customer/handler.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | Err(_) => Ok(Box::new(response::not_found("not-found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/core/error_postgres.rs:26:94 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn handle_rejection(err: Rejection) -> std::result::Result { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 27 | | let code; [INFO] [stdout] 28 | | let message; [INFO] [stdout] ... | [INFO] [stdout] 61 | | Ok(warp::reply::with_status(json, code)) [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/core/error_postgres.rs:26:94 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn handle_rejection(err: Rejection) -> std::result::Result { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 27 | | let code; [INFO] [stdout] 28 | | let message; [INFO] [stdout] ... | [INFO] [stdout] 61 | | Ok(warp::reply::with_status(json, code)) [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/core/error_postgres.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Ok(warp::reply::with_status(json, code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-hexagon` (lib test) due to 30 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "98b9f59b5f182da8b4f095fc0eca7d1ece952ba1ef93c85128ff033ba95ff3ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98b9f59b5f182da8b4f095fc0eca7d1ece952ba1ef93c85128ff033ba95ff3ed", kill_on_drop: false }` [INFO] [stdout] 98b9f59b5f182da8b4f095fc0eca7d1ece952ba1ef93c85128ff033ba95ff3ed