[INFO] fetching crate rweb 0.15.0... [INFO] checking rweb-0.15.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate rweb 0.15.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rweb 0.15.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rweb 0.15.0 [INFO] tweaked toml for crates.io crate rweb 0.15.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rweb 0.15.0 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 crates.io crate rweb 0.15.0 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] 748a77207308b96c3a18e5101ccd2748f01b8b0657a64b87a1b4f0decf3e0501 [INFO] running `Command { std: "docker" "start" "-a" "748a77207308b96c3a18e5101ccd2748f01b8b0657a64b87a1b4f0decf3e0501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "748a77207308b96c3a18e5101ccd2748f01b8b0657a64b87a1b4f0decf3e0501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "748a77207308b96c3a18e5101ccd2748f01b8b0657a64b87a1b4f0decf3e0501", kill_on_drop: false }` [INFO] [stdout] 748a77207308b96c3a18e5101ccd2748f01b8b0657a64b87a1b4f0decf3e0501 [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] 03acfe8c55297616c25401f6042627e16ba7c4be04cddd1832a27c81e948be2a [INFO] running `Command { std: "docker" "start" "-a" "03acfe8c55297616c25401f6042627e16ba7c4be04cddd1832a27c81e948be2a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking headers v0.3.5 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Checking futures-util v0.3.17 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_json v1.0.68 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling rweb-openapi v0.6.0 [INFO] [stderr] Compiling rweb-macros v0.14.0 [INFO] [stderr] Checking hyper v0.14.14 [INFO] [stderr] Checking warp v0.3.1 [INFO] [stderr] Checking rweb v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::routes::*` [INFO] [stdout] --> src/lib.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | pub use self::routes::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::routes::*` [INFO] [stdout] --> src/lib.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | pub use self::routes::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Db` is never constructed [INFO] [stdout] --> tests/state.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Db { [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: Result [INFO] [stdout] --> examples/sse.rs:7:59 [INFO] [stdout] | [INFO] [stdout] 7 | fn sse_counter(counter: u64) -> Result { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 8 | | Ok(Event::default().data(counter.to_string())) [INFO] [stdout] 9 | | } [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] --> examples/sse.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(Event::default().data(counter.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/sse.rs:15:91 [INFO] [stdout] | [INFO] [stdout] 15 | let event_stream = IntervalStream::new(interval(Duration::from_secs(1))).map(move |_| { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 16 | | counter += 1; [INFO] [stdout] 17 | | sse_counter(counter) [INFO] [stdout] 18 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/sse.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | sse_counter(counter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rweb` (example "sse") due to 4 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 [INFO] [stdout] --> examples/futures.rs:15:75 [INFO] [stdout] | [INFO] [stdout] 15 | async fn sleepy(seconds: Seconds) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 16 | | tokio::time::sleep(Duration::from_secs(seconds.0)).await; [INFO] [stdout] 17 | | Ok(format!("I waited {} seconds!", seconds.0)) [INFO] [stdout] 18 | | } [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] --> examples/futures.rs:15:75 [INFO] [stdout] | [INFO] [stdout] 15 | async fn sleepy(seconds: Seconds) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 16 | | tokio::time::sleep(Duration::from_secs(seconds.0)).await; [INFO] [stdout] 17 | | Ok(format!("I waited {} seconds!", seconds.0)) [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/futures.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(format!("I waited {} seconds!", seconds.0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rweb` (example "futures") due to 3 previous errors [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/rejections.rs:58:77 [INFO] [stdout] | [INFO] [stdout] 58 | async fn handle_rejection(err: Rejection) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 59 | | let code; [INFO] [stdout] 60 | | let message; [INFO] [stdout] ... | [INFO] [stdout] 85 | | Ok(rweb::reply::with_status(json, code)) [INFO] [stdout] 86 | | } [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, Infallible> [INFO] [stdout] --> examples/rejections.rs:58:77 [INFO] [stdout] | [INFO] [stdout] 58 | async fn handle_rejection(err: Rejection) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 59 | | let code; [INFO] [stdout] 60 | | let message; [INFO] [stdout] ... | [INFO] [stdout] 85 | | Ok(rweb::reply::with_status(json, code)) [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> examples/rejections.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | Ok(rweb::reply::with_status(json, code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rweb` (example "rejections") due to 3 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:122:96 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn list_todos(opts: ListOptions, db: Db) -> Result { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 123 | | // Just return a JSON array of todos, applying the limit and offset. [INFO] [stdout] 124 | | let todos = db.lock().await; [INFO] [stdout] 125 | | let todos: Vec = todos [INFO] [stdout] ... | [INFO] [stdout] 131 | | Ok(rweb::reply::json(&todos)) [INFO] [stdout] 132 | | } [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] --> examples/todos.rs:122:96 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn list_todos(opts: ListOptions, db: Db) -> Result { [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 123 | | // Just return a JSON array of todos, applying the limit and offset. [INFO] [stdout] 124 | | let todos = db.lock().await; [INFO] [stdout] 125 | | let todos: Vec = todos [INFO] [stdout] ... | [INFO] [stdout] 131 | | Ok(rweb::reply::json(&todos)) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(rweb::reply::json(&todos)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:134:92 [INFO] [stdout] | [INFO] [stdout] 134 | pub async fn create_todo(create: Todo, db: Db) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 135 | | log::debug!("create_todo: {:?}", create); [INFO] [stdout] 136 | | [INFO] [stdout] 137 | | let mut vec = db.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 150 | | Ok(StatusCode::CREATED) [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:134:92 [INFO] [stdout] | [INFO] [stdout] 134 | pub async fn create_todo(create: Todo, db: Db) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 135 | | log::debug!("create_todo: {:?}", create); [INFO] [stdout] 136 | | [INFO] [stdout] 137 | | let mut vec = db.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 150 | | Ok(StatusCode::CREATED) [INFO] [stdout] 151 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | 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] --> examples/todos.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | Ok(StatusCode::CREATED) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:157:47 [INFO] [stdout] | [INFO] [stdout] 157 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 158 | | log::debug!("update_todo: id={}, todo={:?}", id, update); [INFO] [stdout] 159 | | let mut vec = db.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 172 | | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] 173 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:157:47 [INFO] [stdout] | [INFO] [stdout] 157 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 158 | | log::debug!("update_todo: id={}, todo={:?}", id, update); [INFO] [stdout] 159 | | let mut vec = db.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 172 | | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] 173 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | return Ok(StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:175:87 [INFO] [stdout] | [INFO] [stdout] 175 | pub async fn delete_todo(id: u64, db: Db) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 176 | | log::debug!("delete_todo: id={}", id); [INFO] [stdout] 177 | | [INFO] [stdout] 178 | | let mut vec = db.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:175:87 [INFO] [stdout] | [INFO] [stdout] 175 | pub async fn delete_todo(id: u64, db: Db) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 176 | | log::debug!("delete_todo: id={}", id); [INFO] [stdout] 177 | | [INFO] [stdout] 178 | | let mut vec = db.lock().await; [INFO] [stdout] ... | [INFO] [stdout] 198 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | / if deleted { [INFO] [stdout] 191 | | // respond with a `204 No Content`, which means successful, [INFO] [stdout] 192 | | // yet no body expected... [INFO] [stdout] 193 | | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] ... | [INFO] [stdout] 196 | | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] 197 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | if deleted { [INFO] [stdout] | ____________________^ [INFO] [stdout] 191 | | // respond with a `204 No Content`, which means successful, [INFO] [stdout] 192 | | // yet no body expected... [INFO] [stdout] 193 | | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] 194 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 194 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 195 | | log::debug!(" -> todo id not found!"); [INFO] [stdout] 196 | | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] 197 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/todos.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rweb` (example "todos") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "03acfe8c55297616c25401f6042627e16ba7c4be04cddd1832a27c81e948be2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03acfe8c55297616c25401f6042627e16ba7c4be04cddd1832a27c81e948be2a", kill_on_drop: false }` [INFO] [stdout] 03acfe8c55297616c25401f6042627e16ba7c4be04cddd1832a27c81e948be2a