[INFO] fetching crate smn_web_hub 0.1.0... [INFO] checking smn_web_hub-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate smn_web_hub 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate smn_web_hub 0.1.0 [INFO] finished tweaking crates.io crate smn_web_hub 0.1.0 [INFO] tweaked toml for crates.io crate smn_web_hub 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate smn_web_hub 0.1.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 smn_web_hub 0.1.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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a09e10203ebc8cd0f971f1940c41bd2f4c79bb6d89e5a8ef385cbe802928076e [INFO] running `Command { std: "docker" "start" "-a" "a09e10203ebc8cd0f971f1940c41bd2f4c79bb6d89e5a8ef385cbe802928076e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a09e10203ebc8cd0f971f1940c41bd2f4c79bb6d89e5a8ef385cbe802928076e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a09e10203ebc8cd0f971f1940c41bd2f4c79bb6d89e5a8ef385cbe802928076e", kill_on_drop: false }` [INFO] [stdout] a09e10203ebc8cd0f971f1940c41bd2f4c79bb6d89e5a8ef385cbe802928076e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] eb7856c95c167f63ea6c59bb819dbc4d64d6f56df9044ed2c6cba9805db93e32 [INFO] running `Command { std: "docker" "start" "-a" "eb7856c95c167f63ea6c59bb819dbc4d64d6f56df9044ed2c6cba9805db93e32", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking smn_web_hub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/plugins/plugin_echo/mod.rs:29:93 [INFO] [stdout] | [INFO] [stdout] 29 | async fn plugin_handle(&self, req: Request) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 30 | | // Echo back the request body. [INFO] [stdout] 31 | | let body_bytes = hyper::body::to_bytes(req.into_body()).await.unwrap(); [INFO] [stdout] 32 | | let body_text = String::from_utf8_lossy(&body_bytes); [INFO] [stdout] 33 | | let response_body = format!("Echo: {}", body_text); [INFO] [stdout] 34 | | Ok(Response::new(Body::from(response_body))) [INFO] [stdout] 35 | | } [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] --> src/plugins/plugin_echo/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/plugins/plugin_echo/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(Response::new(Body::from(response_body))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_plugin.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | return Some(plugin.plugin_handle(req).await.ok()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_plugin.rs:32:55 [INFO] [stdout] | [INFO] [stdout] 32 | return Some(plugin.plugin_handle(req).await.ok()?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_plugin.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | return Some(plugin.plugin_handle(req).await.ok()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 14 | | // Log method, URI, and headers. [INFO] [stdout] 15 | | println!("Received {} request for {}", req.method(), req.uri()); [INFO] [stdout] 16 | | for (name, value) in req.headers().iter() { [INFO] [stdout] ... | [INFO] [stdout] 26 | | Ok(Response::new(Body::from("No Plugin Found"))) [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 14 | | // Log method, URI, and headers. [INFO] [stdout] 15 | | println!("Received {} request for {}", req.method(), req.uri()); [INFO] [stdout] 16 | | for (name, value) in req.headers().iter() { [INFO] [stdout] ... | [INFO] [stdout] 26 | | Ok(Response::new(Body::from("No Plugin Found"))) [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | return Ok(response); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Ok(Response::new(Body::from("No Plugin Found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 36 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 37 | | let manager = manager.clone(); [INFO] [stdout] 38 | | async move { handle_request(req, manager).await } [INFO] [stdout] 39 | | })) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 37 | | let manager = manager.clone(); [INFO] [stdout] 38 | | async move { handle_request(req, manager).await } [INFO] [stdout] 39 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | async move { handle_request(req, manager).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | async move { handle_request(req, manager).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:38:59 [INFO] [stdout] | [INFO] [stdout] 38 | async move { handle_request(req, manager).await } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | async move { handle_request(req, manager).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smn_web_hub` (lib) due to 16 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, Infallible> [INFO] [stdout] --> src/plugins/plugin_echo/mod.rs:29:93 [INFO] [stdout] | [INFO] [stdout] 29 | async fn plugin_handle(&self, req: Request) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________________________________________________________^ [INFO] [stdout] 30 | | // Echo back the request body. [INFO] [stdout] 31 | | let body_bytes = hyper::body::to_bytes(req.into_body()).await.unwrap(); [INFO] [stdout] 32 | | let body_text = String::from_utf8_lossy(&body_bytes); [INFO] [stdout] 33 | | let response_body = format!("Echo: {}", body_text); [INFO] [stdout] 34 | | Ok(Response::new(Body::from(response_body))) [INFO] [stdout] 35 | | } [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] --> src/plugins/plugin_echo/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/plugins/plugin_echo/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(Response::new(Body::from(response_body))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_plugin.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | return Some(plugin.plugin_handle(req).await.ok()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_plugin.rs:32:55 [INFO] [stdout] | [INFO] [stdout] 32 | return Some(plugin.plugin_handle(req).await.ok()?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_plugin.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | return Some(plugin.plugin_handle(req).await.ok()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 14 | | // Log method, URI, and headers. [INFO] [stdout] 15 | | println!("Received {} request for {}", req.method(), req.uri()); [INFO] [stdout] 16 | | for (name, value) in req.headers().iter() { [INFO] [stdout] ... | [INFO] [stdout] 26 | | Ok(Response::new(Body::from("No Plugin Found"))) [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 14 | | // Log method, URI, and headers. [INFO] [stdout] 15 | | println!("Received {} request for {}", req.method(), req.uri()); [INFO] [stdout] 16 | | for (name, value) in req.headers().iter() { [INFO] [stdout] ... | [INFO] [stdout] 26 | | Ok(Response::new(Body::from("No Plugin Found"))) [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | return Ok(response); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Ok(Response::new(Body::from("No Plugin Found"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 36 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 37 | | let manager = manager.clone(); [INFO] [stdout] 38 | | async move { handle_request(req, manager).await } [INFO] [stdout] 39 | | })) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 37 | | let manager = manager.clone(); [INFO] [stdout] 38 | | async move { handle_request(req, manager).await } [INFO] [stdout] 39 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | async move { handle_request(req, manager).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | async move { handle_request(req, manager).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:38:59 [INFO] [stdout] | [INFO] [stdout] 38 | async move { handle_request(req, manager).await } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/systems/sys_core.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | async move { handle_request(req, manager).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smn_web_hub` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "eb7856c95c167f63ea6c59bb819dbc4d64d6f56df9044ed2c6cba9805db93e32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb7856c95c167f63ea6c59bb819dbc4d64d6f56df9044ed2c6cba9805db93e32", kill_on_drop: false }` [INFO] [stdout] eb7856c95c167f63ea6c59bb819dbc4d64d6f56df9044ed2c6cba9805db93e32