[INFO] cloning repository https://github.com/pongwisanu/rust-rest-warp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pongwisanu/rust-rest-warp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpongwisanu%2Frust-rest-warp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpongwisanu%2Frust-rest-warp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 065adf9dbc84312d3069867459659ee68a526361
[INFO] checking pongwisanu/rust-rest-warp 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%2Fpongwisanu%2Frust-rest-warp" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pongwisanu/rust-rest-warp
[INFO] finished tweaking git repo https://github.com/pongwisanu/rust-rest-warp
[INFO] tweaked toml for git repo https://github.com/pongwisanu/rust-rest-warp written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pongwisanu/rust-rest-warp 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/pongwisanu/rust-rest-warp 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5e1229269e13787b7e048729361cf6555d6a6081c9fb18e2bb98246ae1c22105
[INFO] running `Command { std: "docker" "start" "-a" "5e1229269e13787b7e048729361cf6555d6a6081c9fb18e2bb98246ae1c22105", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e1229269e13787b7e048729361cf6555d6a6081c9fb18e2bb98246ae1c22105", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e1229269e13787b7e048729361cf6555d6a6081c9fb18e2bb98246ae1c22105", kill_on_drop: false }`
[INFO] [stdout] 5e1229269e13787b7e048729361cf6555d6a6081c9fb18e2bb98246ae1c22105
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 70c4824be9759f3b76cff98e4cc45129f15a549090ead8e01b71e6f4087d64ea
[INFO] running `Command { std: "docker" "start" "-a" "70c4824be9759f3b76cff98e4cc45129f15a549090ead8e01b71e6f4087d64ea", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.74
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking cpufeatures v0.2.13
[INFO] [stderr]    Compiling serde v1.0.207
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking indexmap v2.4.0
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]     Checking data-encoding v2.6.0
[INFO] [stderr]    Compiling serde_json v1.0.125
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.207
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]     Checking tokio v1.39.2
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking thiserror v1.0.63
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking hyper v0.14.30
[INFO] [stderr]     Checking warp v0.3.7
[INFO] [stderr]     Checking Example-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/handlers/customer.rs:7:73
[INFO] [stdout]    |
[INFO] [stdout]  7 |   pub async fn list_mails(db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  _________________________________________________________________________^
[INFO] [stdout]  8 | |     let customers = db.lock().await;
[INFO] [stdout]  9 | |     let customers: Vec<Customer> = customers.clone();
[INFO] [stdout] 10 | |     Ok(warp::reply::json(&customers))
[INFO] [stdout] 11 | | }
[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/handlers/customer.rs:7:73
[INFO] [stdout]    |
[INFO] [stdout]  7 |   pub async fn list_mails(db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  _________________________________________________________________________^
[INFO] [stdout]  8 | |     let customers = db.lock().await;
[INFO] [stdout]  9 | |     let customers: Vec<Customer> = customers.clone();
[INFO] [stdout] 10 | |     Ok(warp::reply::json(&customers))
[INFO] [stdout] 11 | | }
[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/handlers/customer.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     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/handlers/customer.rs:16:43
[INFO] [stdout]    |
[INFO] [stdout] 16 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 17 | |     let mut customers = db.lock().await;
[INFO] [stdout] 18 | |
[INFO] [stdout] 19 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |     Ok(StatusCode::CREATED)
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:16:43
[INFO] [stdout]    |
[INFO] [stdout] 16 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 17 | |     let mut customers = db.lock().await;
[INFO] [stdout] 18 | |
[INFO] [stdout] 19 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |     Ok(StatusCode::CREATED)
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 21 |             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/handlers/customer.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     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/handlers/customer.rs:30:91
[INFO] [stdout]    |
[INFO] [stdout] 30 |   pub async fn get_customer(id: String, db: Db) -> Result<Box<dyn warp::Reply>, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 31 | |     let customers = db.lock().await;
[INFO] [stdout] 32 | |
[INFO] [stdout] 33 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |     Ok(Box::new(StatusCode::NOT_FOUND))
[INFO] [stdout] 40 | | }
[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/handlers/customer.rs:30:91
[INFO] [stdout]    |
[INFO] [stdout] 30 |   pub async fn get_customer(id: String, db: Db) -> Result<Box<dyn warp::Reply>, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 31 | |     let customers = db.lock().await;
[INFO] [stdout] 32 | |
[INFO] [stdout] 33 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |     Ok(Box::new(StatusCode::NOT_FOUND))
[INFO] [stdout] 40 | | }
[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/handlers/customer.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 |             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/handlers/customer.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     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/handlers/customer.rs:46:43
[INFO] [stdout]    |
[INFO] [stdout] 46 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 47 | |     let mut customers = db.lock().await;
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | |     for customer in customers.iter_mut() {
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |     Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:46:43
[INFO] [stdout]    |
[INFO] [stdout] 46 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 47 | |     let mut customers = db.lock().await;
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | |     for customer in customers.iter_mut() {
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |     Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:52:20
[INFO] [stdout]    |
[INFO] [stdout] 52 |             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/handlers/customer.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 |     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/handlers/customer.rs:59:91
[INFO] [stdout]    |
[INFO] [stdout] 59 |   pub async fn delete_customer(id: String , db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 60 | |     let mut customers = db.lock().await;
[INFO] [stdout] 61 | |
[INFO] [stdout] 62 | |     let customer_count = customers.len();
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:59:91
[INFO] [stdout]    |
[INFO] [stdout] 59 |   pub async fn delete_customer(id: String , db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 60 | |     let mut customers = db.lock().await;
[INFO] [stdout] 61 | |
[INFO] [stdout] 62 | |     let customer_count = customers.len();
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | /     if deleted {
[INFO] [stdout] 68 | |         Ok(StatusCode::NO_CONTENT)
[INFO] [stdout] 69 | |     }
[INFO] [stdout] 70 | |     else {
[INFO] [stdout] 71 | |         Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 72 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:67:16
[INFO] [stdout]    |
[INFO] [stdout] 67 |       if deleted {
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 68 | |         Ok(StatusCode::NO_CONTENT)
[INFO] [stdout] 69 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |         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/handlers/customer.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 70 |       else {
[INFO] [stdout]    |  __________^
[INFO] [stdout] 71 | |         Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 72 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         Ok(StatusCode::NOT_FOUND)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:7:73
[INFO] [stdout]    |
[INFO] [stdout]  7 |   pub async fn list_mails(db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  _________________________________________________________________________^
[INFO] [stdout]  8 | |     let customers = db.lock().await;
[INFO] [stdout]  9 | |     let customers: Vec<Customer> = customers.clone();
[INFO] [stdout] 10 | |     Ok(warp::reply::json(&customers))
[INFO] [stdout] 11 | | }
[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/handlers/customer.rs:7:73
[INFO] [stdout]    |
[INFO] [stdout]  7 |   pub async fn list_mails(db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  _________________________________________________________________________^
[INFO] [stdout]  8 | |     let customers = db.lock().await;
[INFO] [stdout]  9 | |     let customers: Vec<Customer> = customers.clone();
[INFO] [stdout] 10 | |     Ok(warp::reply::json(&customers))
[INFO] [stdout] 11 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     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/handlers/customer.rs:16:43
[INFO] [stdout]    |
[INFO] [stdout] 16 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 17 | |     let mut customers = db.lock().await;
[INFO] [stdout] 18 | |
[INFO] [stdout] 19 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |     Ok(StatusCode::CREATED)
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Example-API` (bin "Example-API" test) due to 22 previous errors
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:16:43
[INFO] [stdout]    |
[INFO] [stdout] 16 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 17 | |     let mut customers = db.lock().await;
[INFO] [stdout] 18 | |
[INFO] [stdout] 19 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |     Ok(StatusCode::CREATED)
[INFO] [stdout] 28 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 21 |             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/handlers/customer.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     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/handlers/customer.rs:30:91
[INFO] [stdout]    |
[INFO] [stdout] 30 |   pub async fn get_customer(id: String, db: Db) -> Result<Box<dyn warp::Reply>, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 31 | |     let customers = db.lock().await;
[INFO] [stdout] 32 | |
[INFO] [stdout] 33 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |     Ok(Box::new(StatusCode::NOT_FOUND))
[INFO] [stdout] 40 | | }
[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/handlers/customer.rs:30:91
[INFO] [stdout]    |
[INFO] [stdout] 30 |   pub async fn get_customer(id: String, db: Db) -> Result<Box<dyn warp::Reply>, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 31 | |     let customers = db.lock().await;
[INFO] [stdout] 32 | |
[INFO] [stdout] 33 | |     for customer in customers.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |     Ok(Box::new(StatusCode::NOT_FOUND))
[INFO] [stdout] 40 | | }
[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/handlers/customer.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 |             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/handlers/customer.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     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/handlers/customer.rs:46:43
[INFO] [stdout]    |
[INFO] [stdout] 46 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 47 | |     let mut customers = db.lock().await;
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | |     for customer in customers.iter_mut() {
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |     Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:46:43
[INFO] [stdout]    |
[INFO] [stdout] 46 |   ) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________^
[INFO] [stdout] 47 | |     let mut customers = db.lock().await;
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | |     for customer in customers.iter_mut() {
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |     Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:52:20
[INFO] [stdout]    |
[INFO] [stdout] 52 |             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/handlers/customer.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 |     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/handlers/customer.rs:59:91
[INFO] [stdout]    |
[INFO] [stdout] 59 |   pub async fn delete_customer(id: String , db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 60 | |     let mut customers = db.lock().await;
[INFO] [stdout] 61 | |
[INFO] [stdout] 62 | |     let customer_count = customers.len();
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:59:91
[INFO] [stdout]    |
[INFO] [stdout] 59 |   pub async fn delete_customer(id: String , db: Db) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]    |  ___________________________________________________________________________________________^
[INFO] [stdout] 60 | |     let mut customers = db.lock().await;
[INFO] [stdout] 61 | |
[INFO] [stdout] 62 | |     let customer_count = customers.len();
[INFO] [stdout] ...  |
[INFO] [stdout] 73 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | /     if deleted {
[INFO] [stdout] 68 | |         Ok(StatusCode::NO_CONTENT)
[INFO] [stdout] 69 | |     }
[INFO] [stdout] 70 | |     else {
[INFO] [stdout] 71 | |         Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 72 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:67:16
[INFO] [stdout]    |
[INFO] [stdout] 67 |       if deleted {
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 68 | |         Ok(StatusCode::NO_CONTENT)
[INFO] [stdout] 69 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |         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/handlers/customer.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 70 |       else {
[INFO] [stdout]    |  __________^
[INFO] [stdout] 71 | |         Ok(StatusCode::NOT_FOUND)
[INFO] [stdout] 72 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]   --> src/handlers/customer.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         Ok(StatusCode::NOT_FOUND)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Example-API` (bin "Example-API") due to 22 previous errors
[INFO] running `Command { std: "docker" "inspect" "70c4824be9759f3b76cff98e4cc45129f15a549090ead8e01b71e6f4087d64ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70c4824be9759f3b76cff98e4cc45129f15a549090ead8e01b71e6f4087d64ea", kill_on_drop: false }`
[INFO] [stdout] 70c4824be9759f3b76cff98e4cc45129f15a549090ead8e01b71e6f4087d64ea
