[INFO] fetching crate multer 3.1.0... [INFO] checking multer-3.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate multer 3.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate multer 3.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate multer 3.1.0 [INFO] tweaked toml for crates.io crate multer 3.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate multer 3.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 multer 3.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-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] 68255546de09dfc38a3a8a871440fb79ef064a1edcff70deec21fa509d844cf1 [INFO] running `Command { std: "docker" "start" "-a" "68255546de09dfc38a3a8a871440fb79ef064a1edcff70deec21fa509d844cf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68255546de09dfc38a3a8a871440fb79ef064a1edcff70deec21fa509d844cf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68255546de09dfc38a3a8a871440fb79ef064a1edcff70deec21fa509d844cf1", kill_on_drop: false }` [INFO] [stdout] 68255546de09dfc38a3a8a871440fb79ef064a1edcff70deec21fa509d844cf1 [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] d723c083ceb8969a2923cf2dd54a070c599b54ac4cc36010f5d0b194f570c6d7 [INFO] running `Command { std: "docker" "start" "-a" "d723c083ceb8969a2923cf2dd54a070c599b54ac4cc36010f5d0b194f570c6d7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling multer v3.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.0 [INFO] [stderr] Checking hyper v1.0.1 [INFO] [stderr] Checking hyper-util v0.1.1 [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/prevent_dos_attack.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | .map(|part| Ok(Bytes::copy_from_slice(part.as_bytes()))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> examples/hyper_server_example.rs:11:86 [INFO] [stdout] | [INFO] [stdout] 11 | async fn handle(req: Request) -> Result>, Infallible> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 12 | | // Extract the `multipart/form-data` boundary from the headers. [INFO] [stdout] 13 | | let boundary = req [INFO] [stdout] 14 | | .headers() [INFO] [stdout] ... | [INFO] [stdout] 35 | | Ok(Response::new(Full::from("Success"))) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multer` (example "prevent_dos_attack") due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> examples/hyper_server_example.rs:11:86 [INFO] [stdout] | [INFO] [stdout] 11 | async fn handle(req: Request) -> Result>, Infallible> { [INFO] [stdout] | ______________________________________________________________________________________^ [INFO] [stdout] 12 | | // Extract the `multipart/form-data` boundary from the headers. [INFO] [stdout] 13 | | let boundary = req [INFO] [stdout] 14 | | .headers() [INFO] [stdout] ... | [INFO] [stdout] 35 | | Ok(Response::new(Full::from("Success"))) [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [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>, Infallible> [INFO] [stdout] --> examples/hyper_server_example.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | return Ok(Response::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 22 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 23 | | .body(Full::from("BAD REQUEST")) [INFO] [stdout] 24 | | .unwrap()); [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multer` (example "hyper_server_example") due to 5 previous errors [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> examples/hyper_server_example.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | return Ok(Response::builder() [INFO] [stdout] | ________________^ [INFO] [stdout] 30 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 31 | | .body(Full::from(format!("INTERNAL SERVER ERROR: {}", err))) [INFO] [stdout] 32 | | .unwrap()); [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> examples/hyper_server_example.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(Response::new(Full::from("Success"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multer` (example "simple_example") due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/simple_example.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | .map(|part| Ok(Bytes::copy_from_slice(part.as_bytes()))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d723c083ceb8969a2923cf2dd54a070c599b54ac4cc36010f5d0b194f570c6d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d723c083ceb8969a2923cf2dd54a070c599b54ac4cc36010f5d0b194f570c6d7", kill_on_drop: false }` [INFO] [stdout] d723c083ceb8969a2923cf2dd54a070c599b54ac4cc36010f5d0b194f570c6d7