[INFO] fetching crate rocket_async_compression 0.6.1... [INFO] checking rocket_async_compression-0.6.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate rocket_async_compression 0.6.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rocket_async_compression 0.6.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rocket_async_compression 0.6.1 [INFO] tweaked toml for crates.io crate rocket_async_compression 0.6.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket_async_compression 0.6.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] crate crates.io crate rocket_async_compression 0.6.1 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4899f59ed61e50893152a1335f5205ad1acbb1ba0a3d23b01dffe3868098f30b [INFO] running `Command { std: "docker" "start" "-a" "4899f59ed61e50893152a1335f5205ad1acbb1ba0a3d23b01dffe3868098f30b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4899f59ed61e50893152a1335f5205ad1acbb1ba0a3d23b01dffe3868098f30b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4899f59ed61e50893152a1335f5205ad1acbb1ba0a3d23b01dffe3868098f30b", kill_on_drop: false }` [INFO] [stdout] 4899f59ed61e50893152a1335f5205ad1acbb1ba0a3d23b01dffe3868098f30b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0f5e0caee4dcbadd4616d2dac3cfb300abe2825814f05c57482b0ac74c26fae9 [INFO] running `Command { std: "docker" "start" "-a" "0f5e0caee4dcbadd4616d2dac3cfb300abe2825814f05c57482b0ac74c26fae9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling tokio v1.25.3 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling ref-cast v1.0.13 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking num_cpus v1.14.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.8 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling async-trait v0.1.58 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling ref-cast-impl v1.0.13 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-stream v0.1.11 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking futures-executor v0.3.25 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking h2 v0.3.15 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking ubyte v0.10.3 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking rocket_async_compression v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:88:72 [INFO] [stdout] | [INFO] [stdout] 88 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 89 | | match s { [INFO] [stdout] 90 | | "chunked" => Ok(Encoding::Chunked), [INFO] [stdout] 91 | | "br" => Ok(Encoding::Brotli), [INFO] [stdout] ... | [INFO] [stdout] 99 | | } [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/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / match s { [INFO] [stdout] 90 | | "chunked" => Ok(Encoding::Chunked), [INFO] [stdout] 91 | | "br" => Ok(Encoding::Brotli), [INFO] [stdout] 92 | | "deflate" => Ok(Encoding::Deflate), [INFO] [stdout] ... | [INFO] [stdout] 97 | | _ => Ok(Encoding::EncodingExt(s.to_owned())), [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | "chunked" => Ok(Encoding::Chunked), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | "br" => Ok(Encoding::Brotli), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | "deflate" => Ok(Encoding::Deflate), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | "gzip" => Ok(Encoding::Gzip), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | "compress" => Ok(Encoding::Compress), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | "identity" => Ok(Encoding::Identity), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | "trailers" => Ok(Encoding::Trailers), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | _ => Ok(Encoding::EncodingExt(s.to_owned())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_async_compression` (lib test) due to 10 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] --> src/lib.rs:88:72 [INFO] [stdout] | [INFO] [stdout] 88 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 89 | | match s { [INFO] [stdout] 90 | | "chunked" => Ok(Encoding::Chunked), [INFO] [stdout] 91 | | "br" => Ok(Encoding::Brotli), [INFO] [stdout] ... | [INFO] [stdout] 99 | | } [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/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / match s { [INFO] [stdout] 90 | | "chunked" => Ok(Encoding::Chunked), [INFO] [stdout] 91 | | "br" => Ok(Encoding::Brotli), [INFO] [stdout] 92 | | "deflate" => Ok(Encoding::Deflate), [INFO] [stdout] ... | [INFO] [stdout] 97 | | _ => Ok(Encoding::EncodingExt(s.to_owned())), [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | "chunked" => Ok(Encoding::Chunked), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | "br" => Ok(Encoding::Brotli), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | "deflate" => Ok(Encoding::Deflate), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | "gzip" => Ok(Encoding::Gzip), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | "compress" => Ok(Encoding::Compress), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | "identity" => Ok(Encoding::Identity), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | "trailers" => Ok(Encoding::Trailers), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | _ => Ok(Encoding::EncodingExt(s.to_owned())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_async_compression` (lib) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "0f5e0caee4dcbadd4616d2dac3cfb300abe2825814f05c57482b0ac74c26fae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f5e0caee4dcbadd4616d2dac3cfb300abe2825814f05c57482b0ac74c26fae9", kill_on_drop: false }` [INFO] [stdout] 0f5e0caee4dcbadd4616d2dac3cfb300abe2825814f05c57482b0ac74c26fae9