[INFO] fetching crate mpart-async 0.7.0... [INFO] checking mpart-async-0.7.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate mpart-async 0.7.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate mpart-async 0.7.0 [INFO] finished tweaking crates.io crate mpart-async 0.7.0 [INFO] tweaked toml for crates.io crate mpart-async 0.7.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mpart-async 0.7.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 mpart-async 0.7.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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c25c7cd2ea87abc111fc3b4cca99120c5de64dd3e6aa4e5102ba086438aa526a [INFO] running `Command { std: "docker" "start" "-a" "c25c7cd2ea87abc111fc3b4cca99120c5de64dd3e6aa4e5102ba086438aa526a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c25c7cd2ea87abc111fc3b4cca99120c5de64dd3e6aa4e5102ba086438aa526a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c25c7cd2ea87abc111fc3b4cca99120c5de64dd3e6aa4e5102ba086438aa526a", kill_on_drop: false }` [INFO] [stdout] c25c7cd2ea87abc111fc3b4cca99120c5de64dd3e6aa4e5102ba086438aa526a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 62fd17330434f8d1135481314f9ebd07f2ca33e198c657f09595b0906f4f08ad [INFO] running `Command { std: "docker" "start" "-a" "62fd17330434f8d1135481314f9ebd07f2ca33e198c657f09595b0906f4f08ad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking mpart-async v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn filename(&self) -> Result, MultipartError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn filename(&self) -> Result, MultipartError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn name(&self) -> Result, MultipartError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn name(&self) -> Result, MultipartError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking warp v0.3.6 [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> benches/megabyte_parsing.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | if let Ok(bytes) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> benches/megabyte_parsing.rs:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | if let Ok(bytes) = result { [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] --> benches/megabyte_parsing.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | Poll::Ready(Some(Ok(bytes))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mpart-async` (bench "megabyte_parsing") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/client.rs:427:20 [INFO] [stdout] | [INFO] [stdout] 427 | if let Ok(bytes) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/client.rs:455:20 [INFO] [stdout] | [INFO] [stdout] 455 | if let Ok(bytes) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/client.rs:493:20 [INFO] [stdout] | [INFO] [stdout] 493 | if let Ok(bytes) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/warp.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 24 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 25 | | let boundary = mime.get_param("boundary").map(|v| v.to_string()).unwrap(); [INFO] [stdout] 26 | | [INFO] [stdout] 27 | | let mut stream = MultipartStream::new( [INFO] [stdout] ... | [INFO] [stdout] 43 | | Ok("Thanks!\n".to_string()) [INFO] [stdout] 44 | | } [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/warp.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 24 | ) -> Result { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 25 | | let boundary = mime.get_param("boundary").map(|v| v.to_string()).unwrap(); [INFO] [stdout] 26 | | [INFO] [stdout] 27 | | let mut stream = MultipartStream::new( [INFO] [stdout] ... | [INFO] [stdout] 43 | | Ok("Thanks!\n".to_string()) [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/warp.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | Ok("Thanks!\n".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mpart-async` (example "warp") due to 3 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/client.rs:427:36 [INFO] [stdout] | [INFO] [stdout] 427 | if let Ok(bytes) = result { [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/client.rs:455:36 [INFO] [stdout] | [INFO] [stdout] 455 | if let Ok(bytes) = result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/client.rs:493:36 [INFO] [stdout] | [INFO] [stdout] 493 | if let Ok(bytes) = result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn filename(&self) -> Result, MultipartError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn filename(&self) -> Result, MultipartError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn name(&self) -> Result, MultipartError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn name(&self) -> Result, MultipartError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/server.rs:980:34 [INFO] [stdout] | [INFO] [stdout] 980 | Poll::Ready(Some(Ok(self.as_mut().packets.remove(0)))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mpart-async` (lib test) due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "62fd17330434f8d1135481314f9ebd07f2ca33e198c657f09595b0906f4f08ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62fd17330434f8d1135481314f9ebd07f2ca33e198c657f09595b0906f4f08ad", kill_on_drop: false }` [INFO] [stdout] 62fd17330434f8d1135481314f9ebd07f2ca33e198c657f09595b0906f4f08ad