[INFO] cloning repository https://github.com/crest89/Rust_Todo_Api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crest89/Rust_Todo_Api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrest89%2FRust_Todo_Api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrest89%2FRust_Todo_Api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5f0c490241cba9aaced127110ed055f857a9d17 [INFO] checking crest89/Rust_Todo_Api 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%2Fcrest89%2FRust_Todo_Api" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/crest89/Rust_Todo_Api [INFO] finished tweaking git repo https://github.com/crest89/Rust_Todo_Api [INFO] tweaked toml for git repo https://github.com/crest89/Rust_Todo_Api written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crest89/Rust_Todo_Api 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/crest89/Rust_Todo_Api already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebf0d1e5c6654b07b22117e4b1dc37eb79c8bebaaf83360698bdbac626761abe [INFO] running `Command { std: "docker" "start" "-a" "ebf0d1e5c6654b07b22117e4b1dc37eb79c8bebaaf83360698bdbac626761abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebf0d1e5c6654b07b22117e4b1dc37eb79c8bebaaf83360698bdbac626761abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf0d1e5c6654b07b22117e4b1dc37eb79c8bebaaf83360698bdbac626761abe", kill_on_drop: false }` [INFO] [stdout] ebf0d1e5c6654b07b22117e4b1dc37eb79c8bebaaf83360698bdbac626761abe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d3a2c971e227b156fabcae5629ca4be6ab07682755f8c56086228a6a3ae5a89 [INFO] running `Command { std: "docker" "start" "-a" "4d3a2c971e227b156fabcae5629ca4be6ab07682755f8c56086228a6a3ae5a89", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking futures-channel v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking headers v0.3.7 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking tungstenite v0.14.0 [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-tungstenite v0.15.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking warp v0.3.2 [INFO] [stderr] Checking todo_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `todo_api` (bin "todo_api" test) due to 18 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:85:77 [INFO] [stdout] | [INFO] [stdout] 85 | pub async fn list_todos(db: Db) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 86 | | let todos = db.lock().await; [INFO] [stdout] 87 | | let todos: Vec = todos.clone().into_iter().collect(); [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [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 [INFO] [stdout] --> src/main.rs:85:77 [INFO] [stdout] | [INFO] [stdout] 85 | pub async fn list_todos(db: Db) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 86 | | let todos = db.lock().await; [INFO] [stdout] 87 | | let todos: Vec = todos.clone().into_iter().collect(); [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `todo_api` (bin "todo_api") due to 18 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(warp::reply::json(&todos)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:92:92 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn create_todo(create: Todo, db: Db) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 93 | | let mut vec = db.lock().await; [INFO] [stdout] 94 | | //idが重複していた場合弾く [INFO] [stdout] 95 | | for todo in vec.iter() { [INFO] [stdout] ... | [INFO] [stdout] 102 | | Ok(StatusCode::CREATED) [INFO] [stdout] 103 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:92:92 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn create_todo(create: Todo, db: Db) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 93 | | let mut vec = db.lock().await; [INFO] [stdout] 94 | | //idが重複していた場合弾く [INFO] [stdout] 95 | | for todo in vec.iter() { [INFO] [stdout] ... | [INFO] [stdout] 102 | | Ok(StatusCode::CREATED) [INFO] [stdout] 103 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | return Ok(StatusCode::BAD_REQUEST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(StatusCode::CREATED) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:110:47 [INFO] [stdout] | [INFO] [stdout] 110 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 111 | | let mut vec = db.lock().await; [INFO] [stdout] 112 | | [INFO] [stdout] 113 | | for todo in vec.iter_mut() { [INFO] [stdout] ... | [INFO] [stdout] 120 | | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] 121 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:110:47 [INFO] [stdout] | [INFO] [stdout] 110 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 111 | | let mut vec = db.lock().await; [INFO] [stdout] 112 | | [INFO] [stdout] 113 | | for todo in vec.iter_mut() { [INFO] [stdout] ... | [INFO] [stdout] 120 | | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] 121 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | return Ok(StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:124:87 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn delete_todo(id: u64, db: Db) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 125 | | let mut vec = db.lock().await; [INFO] [stdout] 126 | | [INFO] [stdout] 127 | | let len = vec.len(); [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:124:87 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn delete_todo(id: u64, db: Db) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 125 | | let mut vec = db.lock().await; [INFO] [stdout] 126 | | [INFO] [stdout] 127 | | let len = vec.len(); [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | / if deleted { [INFO] [stdout] 133 | | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] 134 | | } else { [INFO] [stdout] 135 | | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] 136 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | if deleted { [INFO] [stdout] | ____________________^ [INFO] [stdout] 133 | | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] 134 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 135 | | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] 136 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:85:77 [INFO] [stdout] | [INFO] [stdout] 85 | pub async fn list_todos(db: Db) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 86 | | let todos = db.lock().await; [INFO] [stdout] 87 | | let todos: Vec = todos.clone().into_iter().collect(); [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:85:77 [INFO] [stdout] | [INFO] [stdout] 85 | pub async fn list_todos(db: Db) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 86 | | let todos = db.lock().await; [INFO] [stdout] 87 | | let todos: Vec = todos.clone().into_iter().collect(); [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(warp::reply::json(&todos)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:92:92 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn create_todo(create: Todo, db: Db) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 93 | | let mut vec = db.lock().await; [INFO] [stdout] 94 | | //idが重複していた場合弾く [INFO] [stdout] 95 | | for todo in vec.iter() { [INFO] [stdout] ... | [INFO] [stdout] 102 | | Ok(StatusCode::CREATED) [INFO] [stdout] 103 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:92:92 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn create_todo(create: Todo, db: Db) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 93 | | let mut vec = db.lock().await; [INFO] [stdout] 94 | | //idが重複していた場合弾く [INFO] [stdout] 95 | | for todo in vec.iter() { [INFO] [stdout] ... | [INFO] [stdout] 102 | | Ok(StatusCode::CREATED) [INFO] [stdout] 103 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | return Ok(StatusCode::BAD_REQUEST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | Ok(StatusCode::CREATED) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:110:47 [INFO] [stdout] | [INFO] [stdout] 110 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 111 | | let mut vec = db.lock().await; [INFO] [stdout] 112 | | [INFO] [stdout] 113 | | for todo in vec.iter_mut() { [INFO] [stdout] ... | [INFO] [stdout] 120 | | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] 121 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:110:47 [INFO] [stdout] | [INFO] [stdout] 110 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 111 | | let mut vec = db.lock().await; [INFO] [stdout] 112 | | [INFO] [stdout] 113 | | for todo in vec.iter_mut() { [INFO] [stdout] ... | [INFO] [stdout] 120 | | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] 121 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | return Ok(StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:124:87 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn delete_todo(id: u64, db: Db) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 125 | | let mut vec = db.lock().await; [INFO] [stdout] 126 | | [INFO] [stdout] 127 | | let len = vec.len(); [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:124:87 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn delete_todo(id: u64, db: Db) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 125 | | let mut vec = db.lock().await; [INFO] [stdout] 126 | | [INFO] [stdout] 127 | | let len = vec.len(); [INFO] [stdout] ... | [INFO] [stdout] 137 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | / if deleted { [INFO] [stdout] 133 | | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] 134 | | } else { [INFO] [stdout] 135 | | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] 136 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | if deleted { [INFO] [stdout] | ____________________^ [INFO] [stdout] 133 | | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] 134 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 135 | | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] 136 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4d3a2c971e227b156fabcae5629ca4be6ab07682755f8c56086228a6a3ae5a89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d3a2c971e227b156fabcae5629ca4be6ab07682755f8c56086228a6a3ae5a89", kill_on_drop: false }` [INFO] [stdout] 4d3a2c971e227b156fabcae5629ca4be6ab07682755f8c56086228a6a3ae5a89