[INFO] fetching crate marla 0.1.0-alpha.1... [INFO] checking marla-0.1.0-alpha.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate marla 0.1.0-alpha.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate marla 0.1.0-alpha.1 [INFO] finished tweaking crates.io crate marla 0.1.0-alpha.1 [INFO] tweaked toml for crates.io crate marla 0.1.0-alpha.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate marla 0.1.0-alpha.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 124 packages to latest compatible versions [INFO] [stderr] Adding hyper v0.14.32 (available: v1.8.0) [INFO] [stderr] Adding macro_rules_attribute v0.0.2 (available: v0.2.2) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.1) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 19b95565a38dfd65f484107706ad569f785d58d56816086192b49ac83a464146 [INFO] running `Command { std: "docker" "start" "-a" "19b95565a38dfd65f484107706ad569f785d58d56816086192b49ac83a464146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19b95565a38dfd65f484107706ad569f785d58d56816086192b49ac83a464146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b95565a38dfd65f484107706ad569f785d58d56816086192b49ac83a464146", kill_on_drop: false }` [INFO] [stdout] 19b95565a38dfd65f484107706ad569f785d58d56816086192b49ac83a464146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b7e7cf55b886baf543d7801a2822c8ad9b40fed400e5c8dad8a846cda2a73f78 [INFO] running `Command { std: "docker" "start" "-a" "b7e7cf55b886baf543d7801a2822c8ad9b40fed400e5c8dad8a846cda2a73f78", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.0.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking macro_rules_attribute v0.0.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.13.2 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking marla v0.1.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | Ok::<_, Infallible>(service_fn(move |hyper_request| { [INFO] [stdout] 32 | | let config = config.clone(); [INFO] [stdout] 33 | | let bundle = bundle.clone(); [INFO] [stdout] ... | [INFO] [stdout] 49 | | })) [INFO] [stdout] 50 | | } [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/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | / Ok::<_, Infallible>(service_fn(move |hyper_request| { [INFO] [stdout] 32 | | let config = config.clone(); [INFO] [stdout] 33 | | let bundle = bundle.clone(); [INFO] [stdout] 34 | | let shutdown_tx = shutdown_tx.clone(); [INFO] [stdout] ... | [INFO] [stdout] 49 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 36 | | match AssertUnwindSafe( [INFO] [stdout] 37 | | handle_request(hyper_request, remote_addr, config, bundle, shutdown_tx) [INFO] [stdout] 38 | | ).catch_unwind().await { [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | / match AssertUnwindSafe( [INFO] [stdout] 37 | | handle_request(hyper_request, remote_addr, config, bundle, shutdown_tx) [INFO] [stdout] 38 | | ).catch_unwind().await { [INFO] [stdout] 39 | | Ok(result) => result, [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(result) => result, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | Err(_) => Ok( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 41 | | Response::builder() [INFO] [stdout] 42 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 43 | | .body(Body::from("internal server error\n")) [INFO] [stdout] 44 | | .unwrap() [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 81 | | let (head, body) = hyper_request.into_parts(); [INFO] [stdout] 82 | | let mut body = Some(body); [INFO] [stdout] ... | [INFO] [stdout] 158 | | Ok((route.handler)(request, body, bundle).await) [INFO] [stdout] 159 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 81 | | let (head, body) = hyper_request.into_parts(); [INFO] [stdout] 82 | | let mut body = Some(body); [INFO] [stdout] ... | [INFO] [stdout] 158 | | Ok((route.handler)(request, body, bundle).await) [INFO] [stdout] 159 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | None => return Ok(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 125 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 126 | | .body(Body::from("not found\n")) [INFO] [stdout] 127 | | .unwrap()) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | return Ok(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 133 | | .status(StatusCode::METHOD_NOT_ALLOWED) [INFO] [stdout] 134 | | .body(Body::from("method not allowed\n")) [INFO] [stdout] 135 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | return Ok(either.right().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | Ok((route.handler)(request, body, bundle).await) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `marla` (lib test) due to 12 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/lib.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 31 | | Ok::<_, Infallible>(service_fn(move |hyper_request| { [INFO] [stdout] 32 | | let config = config.clone(); [INFO] [stdout] 33 | | let bundle = bundle.clone(); [INFO] [stdout] ... | [INFO] [stdout] 49 | | })) [INFO] [stdout] 50 | | } [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/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | / Ok::<_, Infallible>(service_fn(move |hyper_request| { [INFO] [stdout] 32 | | let config = config.clone(); [INFO] [stdout] 33 | | let bundle = bundle.clone(); [INFO] [stdout] 34 | | let shutdown_tx = shutdown_tx.clone(); [INFO] [stdout] ... | [INFO] [stdout] 49 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 36 | | match AssertUnwindSafe( [INFO] [stdout] 37 | | handle_request(hyper_request, remote_addr, config, bundle, shutdown_tx) [INFO] [stdout] 38 | | ).catch_unwind().await { [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | / match AssertUnwindSafe( [INFO] [stdout] 37 | | handle_request(hyper_request, remote_addr, config, bundle, shutdown_tx) [INFO] [stdout] 38 | | ).catch_unwind().await { [INFO] [stdout] 39 | | Ok(result) => result, [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(result) => result, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | Err(_) => Ok( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 41 | | Response::builder() [INFO] [stdout] 42 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 43 | | .body(Body::from("internal server error\n")) [INFO] [stdout] 44 | | .unwrap() [INFO] [stdout] 45 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 81 | | let (head, body) = hyper_request.into_parts(); [INFO] [stdout] 82 | | let mut body = Some(body); [INFO] [stdout] ... | [INFO] [stdout] 158 | | Ok((route.handler)(request, body, bundle).await) [INFO] [stdout] 159 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | ) -> Result, Infallible> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 81 | | let (head, body) = hyper_request.into_parts(); [INFO] [stdout] 82 | | let mut body = Some(body); [INFO] [stdout] ... | [INFO] [stdout] 158 | | Ok((route.handler)(request, body, bundle).await) [INFO] [stdout] 159 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | None => return Ok(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 125 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 126 | | .body(Body::from("not found\n")) [INFO] [stdout] 127 | | .unwrap()) [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | return Ok(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 133 | | .status(StatusCode::METHOD_NOT_ALLOWED) [INFO] [stdout] 134 | | .body(Body::from("method not allowed\n")) [INFO] [stdout] 135 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | return Ok(either.right().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | Ok((route.handler)(request, body, bundle).await) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `marla` (lib) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "b7e7cf55b886baf543d7801a2822c8ad9b40fed400e5c8dad8a846cda2a73f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7e7cf55b886baf543d7801a2822c8ad9b40fed400e5c8dad8a846cda2a73f78", kill_on_drop: false }` [INFO] [stdout] b7e7cf55b886baf543d7801a2822c8ad9b40fed400e5c8dad8a846cda2a73f78