[INFO] cloning repository https://github.com/dexter68555/REST-API-in-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dexter68555/REST-API-in-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdexter68555%2FREST-API-in-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdexter68555%2FREST-API-in-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 62b8e7a3cc9513dfd51d1957b8b3e1dad22657cb
[INFO] checking dexter68555/REST-API-in-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%2Fdexter68555%2FREST-API-in-Rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dexter68555/REST-API-in-Rust
[INFO] finished tweaking git repo https://github.com/dexter68555/REST-API-in-Rust
[INFO] tweaked toml for git repo https://github.com/dexter68555/REST-API-in-Rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dexter68555/REST-API-in-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/dexter68555/REST-API-in-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 649a57b678d8614ec543ca73b3cd3715279d9b8a9aeddd859f7765cff29bc38b
[INFO] running `Command { std: "docker" "start" "-a" "649a57b678d8614ec543ca73b3cd3715279d9b8a9aeddd859f7765cff29bc38b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "649a57b678d8614ec543ca73b3cd3715279d9b8a9aeddd859f7765cff29bc38b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "649a57b678d8614ec543ca73b3cd3715279d9b8a9aeddd859f7765cff29bc38b", kill_on_drop: false }`
[INFO] [stdout] 649a57b678d8614ec543ca73b3cd3715279d9b8a9aeddd859f7765cff29bc38b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 113f546adc2a57c5b40f7d8bb90ac32da4bbda93f48fb670dc860f821bde7f1f
[INFO] running `Command { std: "docker" "start" "-a" "113f546adc2a57c5b40f7d8bb90ac32da4bbda93f48fb670dc860f821bde7f1f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.67
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]     Checking memchr v2.6.3
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking percent-encoding v2.3.0
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]     Checking cpufeatures v0.2.9
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling syn v2.0.37
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling rustix v0.38.13
[INFO] [stderr]    Compiling pin-project-internal v0.4.30
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking url v2.4.1
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking linux-raw-sys v0.4.7
[INFO] [stderr]     Checking bitflags v2.4.0
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking input_buffer v0.3.1
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]     Checking fastrand v2.0.0
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking sha1 v0.10.5
[INFO] [stderr]     Checking tungstenite v0.11.1
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking twoway v0.1.8
[INFO] [stderr]     Checking futures-io v0.3.28
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking base64 v0.21.4
[INFO] [stderr]     Checking dtoa v0.4.8
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]     Checking urlencoding v1.3.3
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking futures v0.3.28
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]     Checking tempfile v3.8.0
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]     Checking multipart v0.17.1
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking pin-project v1.1.3
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking pin-project v0.4.30
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking tokio-tungstenite v0.11.0
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking serde_urlencoded v0.6.1
[INFO] [stderr]     Checking hyper v0.13.10
[INFO] [stderr]     Checking warp v0.2.5
[INFO] [stderr]     Checking rust_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handler.rs:8:77
[INFO] [stdout]    |
[INFO] [stdout]  8 |   pub async fn list_customers(db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  _____________________________________________________________________________^
[INFO] [stdout]  9 | |     let customers = db.lock().await;
[INFO] [stdout] 10 | |     let customers: Vec<Customer> = customers.clone();
[INFO] [stdout] 11 | |     Ok(warp::reply::json(&customers))
[INFO] [stdout] 12 | | }
[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<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handler.rs:8:77
[INFO] [stdout]    |
[INFO] [stdout]  8 |   pub async fn list_customers(db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  _____________________________________________________________________________^
[INFO] [stdout]  9 | |     let customers = db.lock().await;
[INFO] [stdout] 10 | |     let customers: Vec<Customer> = customers.clone();
[INFO] [stdout] 11 | |     Ok(warp::reply::json(&customers))
[INFO] [stdout] 12 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]   --> src/handler.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Ok(warp::reply::json(&customers))
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:18:43
[INFO] [stdout]    |
[INFO] [stdout] 18 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 19 | |     let mut customers = db.lock().await;
[INFO] [stdout] 20 | |
[INFO] [stdout] 21 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |     Ok(StatusCode::CREATED)
[INFO] [stdout] 30 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:18:43
[INFO] [stdout]    |
[INFO] [stdout] 18 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 19 | |     let mut customers = db.lock().await;
[INFO] [stdout] 20 | |
[INFO] [stdout] 21 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |     Ok(StatusCode::CREATED)
[INFO] [stdout] 30 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 |             return Ok(StatusCode::BAD_REQUEST);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Ok(StatusCode::CREATED)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Box<dyn Reply>, Infallible>
[INFO] [stdout]   --> src/handler.rs:33:91
[INFO] [stdout]    |
[INFO] [stdout] 33 |   pub async fn get_customer(id: String, db: Db) -> Result<Box<dyn warp::Reply>, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 34 | |     let customers = db.lock().await;
[INFO] [stdout] 35 | |
[INFO] [stdout] 36 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     Ok(Box::new(StatusCode::NOT_FOUND))
[INFO] [stdout] 43 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Box<dyn Reply>, Infallible>
[INFO] [stdout]   --> src/handler.rs:33:91
[INFO] [stdout]    |
[INFO] [stdout] 33 |   pub async fn get_customer(id: String, db: Db) -> Result<Box<dyn warp::Reply>, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 34 | |     let customers = db.lock().await;
[INFO] [stdout] 35 | |
[INFO] [stdout] 36 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     Ok(Box::new(StatusCode::NOT_FOUND))
[INFO] [stdout] 43 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Box<dyn Reply>, Infallible>
[INFO] [stdout]   --> src/handler.rs:38:20
[INFO] [stdout]    |
[INFO] [stdout] 38 |             return Ok(Box::new(warp::reply::json(&customer)));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Box<dyn Reply>, Infallible>
[INFO] [stdout]   --> src/handler.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Ok(Box::new(StatusCode::NOT_FOUND))
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:50:43
[INFO] [stdout]    |
[INFO] [stdout] 50 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 51 | |     let mut customers = db.lock().await;
[INFO] [stdout] 52 | |
[INFO] [stdout] 53 | |     for customer in customers.iter_mut() {
[INFO] [stdout] ...  |
[INFO] [stdout] 60 | |     Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 61 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:50:43
[INFO] [stdout]    |
[INFO] [stdout] 50 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 51 | |     let mut customers = db.lock().await;
[INFO] [stdout] 52 | |
[INFO] [stdout] 53 | |     for customer in customers.iter_mut() {
[INFO] [stdout] ...  |
[INFO] [stdout] 60 | |     Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 61 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 56 |             return Ok(StatusCode::OK);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     Ok(StatusCode::NOT_FOUND)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:64:90
[INFO] [stdout]    |
[INFO] [stdout] 64 |   pub async fn delete_customer(id: String, db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  __________________________________________________________________________________________^
[INFO] [stdout] 65 | |     let mut customers = db.lock().await;
[INFO] [stdout] 66 | |
[INFO] [stdout] 67 | |     let customer_count = customers.len();
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:64:90
[INFO] [stdout]    |
[INFO] [stdout] 64 |   pub async fn delete_customer(id: String, db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  __________________________________________________________________________________________^
[INFO] [stdout] 65 | |     let mut customers = db.lock().await;
[INFO] [stdout] 66 | |
[INFO] [stdout] 67 | |     let customer_count = customers.len();
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 | /     if deleted {
[INFO] [stdout] 73 | |         Ok(StatusCode::NO_CONTENT)
[INFO] [stdout] 74 | |     } else {
[INFO] [stdout] 75 | |         Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 76 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:72:16
[INFO] [stdout]    |
[INFO] [stdout] 72 |       if deleted {
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 73 | |         Ok(StatusCode::NO_CONTENT)
[INFO] [stdout] 74 | |     } else {
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |         Ok(StatusCode::NO_CONTENT)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 |       } else {
[INFO] [stdout]    |  ____________^
[INFO] [stdout] 75 | |         Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 76 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         Ok(StatusCode::NOT_FOUND)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_api` (bin "rust_api" test) due to 22 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handler.rs:8:77
[INFO] [stdout]    |
[INFO] [stdout]  8 |   pub async fn list_customers(db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  _____________________________________________________________________________^
[INFO] [stdout]  9 | |     let customers = db.lock().await;
[INFO] [stdout] 10 | |     let customers: Vec<Customer> = customers.clone();
[INFO] [stdout] 11 | |     Ok(warp::reply::json(&customers))
[INFO] [stdout] 12 | | }
[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<Json, Infallible>
[INFO] [stdout]   --> src/handler.rs:8:77
[INFO] [stdout]    |
[INFO] [stdout]  8 |   pub async fn list_customers(db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  _____________________________________________________________________________^
[INFO] [stdout]  9 | |     let customers = db.lock().await;
[INFO] [stdout] 10 | |     let customers: Vec<Customer> = customers.clone();
[INFO] [stdout] 11 | |     Ok(warp::reply::json(&customers))
[INFO] [stdout] 12 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handler.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Ok(warp::reply::json(&customers))
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:18:43
[INFO] [stdout]    |
[INFO] [stdout] 18 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 19 | |     let mut customers = db.lock().await;
[INFO] [stdout] 20 | |
[INFO] [stdout] 21 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |     Ok(StatusCode::CREATED)
[INFO] [stdout] 30 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:18:43
[INFO] [stdout]    |
[INFO] [stdout] 18 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 19 | |     let mut customers = db.lock().await;
[INFO] [stdout] 20 | |
[INFO] [stdout] 21 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |     Ok(StatusCode::CREATED)
[INFO] [stdout] 30 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 |             return Ok(StatusCode::BAD_REQUEST);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Ok(StatusCode::CREATED)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Box<dyn Reply>, Infallible>
[INFO] [stdout]   --> src/handler.rs:33:91
[INFO] [stdout]    |
[INFO] [stdout] 33 |   pub async fn get_customer(id: String, db: Db) -> Result<Box<dyn warp::Reply>, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 34 | |     let customers = db.lock().await;
[INFO] [stdout] 35 | |
[INFO] [stdout] 36 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     Ok(Box::new(StatusCode::NOT_FOUND))
[INFO] [stdout] 43 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Box<dyn Reply>, Infallible>
[INFO] [stdout]   --> src/handler.rs:33:91
[INFO] [stdout]    |
[INFO] [stdout] 33 |   pub async fn get_customer(id: String, db: Db) -> Result<Box<dyn warp::Reply>, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 34 | |     let customers = db.lock().await;
[INFO] [stdout] 35 | |
[INFO] [stdout] 36 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     Ok(Box::new(StatusCode::NOT_FOUND))
[INFO] [stdout] 43 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Box<dyn Reply>, Infallible>
[INFO] [stdout]   --> src/handler.rs:38:20
[INFO] [stdout]    |
[INFO] [stdout] 38 |             return Ok(Box::new(warp::reply::json(&customer)));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Box<dyn Reply>, Infallible>
[INFO] [stdout]   --> src/handler.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Ok(Box::new(StatusCode::NOT_FOUND))
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:50:43
[INFO] [stdout]    |
[INFO] [stdout] 50 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 51 | |     let mut customers = db.lock().await;
[INFO] [stdout] 52 | |
[INFO] [stdout] 53 | |     for customer in customers.iter_mut() {
[INFO] [stdout] ...  |
[INFO] [stdout] 60 | |     Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 61 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:50:43
[INFO] [stdout]    |
[INFO] [stdout] 50 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 51 | |     let mut customers = db.lock().await;
[INFO] [stdout] 52 | |
[INFO] [stdout] 53 | |     for customer in customers.iter_mut() {
[INFO] [stdout] ...  |
[INFO] [stdout] 60 | |     Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 61 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:56:20
[INFO] [stdout]    |
[INFO] [stdout] 56 |             return Ok(StatusCode::OK);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     Ok(StatusCode::NOT_FOUND)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:64:90
[INFO] [stdout]    |
[INFO] [stdout] 64 |   pub async fn delete_customer(id: String, db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  __________________________________________________________________________________________^
[INFO] [stdout] 65 | |     let mut customers = db.lock().await;
[INFO] [stdout] 66 | |
[INFO] [stdout] 67 | |     let customer_count = customers.len();
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:64:90
[INFO] [stdout]    |
[INFO] [stdout] 64 |   pub async fn delete_customer(id: String, db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  __________________________________________________________________________________________^
[INFO] [stdout] 65 | |     let mut customers = db.lock().await;
[INFO] [stdout] 66 | |
[INFO] [stdout] 67 | |     let customer_count = customers.len();
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 | /     if deleted {
[INFO] [stdout] 73 | |         Ok(StatusCode::NO_CONTENT)
[INFO] [stdout] 74 | |     } else {
[INFO] [stdout] 75 | |         Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 76 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:72:16
[INFO] [stdout]    |
[INFO] [stdout] 72 |       if deleted {
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 73 | |         Ok(StatusCode::NO_CONTENT)
[INFO] [stdout] 74 | |     } else {
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |         Ok(StatusCode::NO_CONTENT)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 |       } else {
[INFO] [stdout]    |  ____________^
[INFO] [stdout] 75 | |         Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 76 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handler.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         Ok(StatusCode::NOT_FOUND)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_api` (bin "rust_api") due to 22 previous errors
[INFO] running `Command { std: "docker" "inspect" "113f546adc2a57c5b40f7d8bb90ac32da4bbda93f48fb670dc860f821bde7f1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "113f546adc2a57c5b40f7d8bb90ac32da4bbda93f48fb670dc860f821bde7f1f", kill_on_drop: false }`
[INFO] [stdout] 113f546adc2a57c5b40f7d8bb90ac32da4bbda93f48fb670dc860f821bde7f1f
