[INFO] cloning repository https://github.com/NickUfer/http-encoding-headers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NickUfer/http-encoding-headers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickUfer%2Fhttp-encoding-headers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickUfer%2Fhttp-encoding-headers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64d55a2284559d6de956d294d4a55ab08b54358e [INFO] checking NickUfer/http-encoding-headers against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNickUfer%2Fhttp-encoding-headers" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NickUfer/http-encoding-headers [INFO] finished tweaking git repo https://github.com/NickUfer/http-encoding-headers [INFO] tweaked toml for git repo https://github.com/NickUfer/http-encoding-headers written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NickUfer/http-encoding-headers 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 25 packages to latest Rust 1.93.0-nightly compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [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] f1aae516265f3e5faeaad3774d44df8205fe0e283c234848627a63145bd21bbf [INFO] running `Command { std: "docker" "start" "-a" "f1aae516265f3e5faeaad3774d44df8205fe0e283c234848627a63145bd21bbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1aae516265f3e5faeaad3774d44df8205fe0e283c234848627a63145bd21bbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1aae516265f3e5faeaad3774d44df8205fe0e283c234848627a63145bd21bbf", kill_on_drop: false }` [INFO] [stdout] f1aae516265f3e5faeaad3774d44df8205fe0e283c234848627a63145bd21bbf [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] a6a5c824078bfd6c656ef1c153ab504d954f027b4122ee4931389a1b5f7b4abc [INFO] running `Command { std: "docker" "start" "-a" "a6a5c824078bfd6c656ef1c153ab504d954f027b4122ee4931389a1b5f7b4abc", kill_on_drop: false }` [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking headers v0.4.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking http_encoding_headers v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/accept_encoding.rs:274:22 [INFO] [stdout] | [INFO] [stdout] 274 | parsed.push((Encoding::from_str(enc).unwrap(), q)); [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/content_encoding.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | .map(|e| Encoding::from_str(e).unwrap())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 46 | | let lowercase_s = s.to_lowercase(); [INFO] [stdout] 47 | | match lowercase_s.as_str() { [INFO] [stdout] 48 | | ENC_GZIP => Ok(Encoding::Gzip), [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | / match lowercase_s.as_str() { [INFO] [stdout] 48 | | ENC_GZIP => Ok(Encoding::Gzip), [INFO] [stdout] 49 | | ENC_DEFLATE => Ok(Encoding::Deflate), [INFO] [stdout] 50 | | ENC_COMPRESS => Ok(Encoding::Compress), [INFO] [stdout] ... | [INFO] [stdout] 61 | | _ => Ok(Encoding::Custom(lowercase_s)), [INFO] [stdout] 62 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | ENC_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/encoding.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | ENC_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/encoding.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | ENC_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/encoding.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | ENC_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/encoding.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | ENC_BR => Ok(Encoding::Br), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | ENC_ZSTD => Ok(Encoding::Zstd), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | ENC_SNAPPY => Ok(Encoding::Snappy), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | ENC_XZ => Ok(Encoding::Xz), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | ENC_LZMA => Ok(Encoding::Lzma), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | ENC_BZIP2 => Ok(Encoding::Bzip2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | ENC_LZ4 => Ok(Encoding::Lz4), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | ENC_ZLIB => Ok(Encoding::Zlib), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | ENC_WILDCARD => Ok(Encoding::Wildcard), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | _ => Ok(Encoding::Custom(lowercase_s)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http_encoding_headers` (lib) due to 18 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/accept_encoding.rs:274:22 [INFO] [stdout] | [INFO] [stdout] 274 | parsed.push((Encoding::from_str(enc).unwrap(), q)); [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/content_encoding.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | .map(|e| Encoding::from_str(e).unwrap())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 46 | | let lowercase_s = s.to_lowercase(); [INFO] [stdout] 47 | | match lowercase_s.as_str() { [INFO] [stdout] 48 | | ENC_GZIP => Ok(Encoding::Gzip), [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | / match lowercase_s.as_str() { [INFO] [stdout] 48 | | ENC_GZIP => Ok(Encoding::Gzip), [INFO] [stdout] 49 | | ENC_DEFLATE => Ok(Encoding::Deflate), [INFO] [stdout] 50 | | ENC_COMPRESS => Ok(Encoding::Compress), [INFO] [stdout] ... | [INFO] [stdout] 61 | | _ => Ok(Encoding::Custom(lowercase_s)), [INFO] [stdout] 62 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | ENC_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/encoding.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | ENC_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/encoding.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | ENC_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/encoding.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | ENC_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/encoding.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | ENC_BR => Ok(Encoding::Br), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | ENC_ZSTD => Ok(Encoding::Zstd), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | ENC_SNAPPY => Ok(Encoding::Snappy), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | ENC_XZ => Ok(Encoding::Xz), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | ENC_LZMA => Ok(Encoding::Lzma), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | ENC_BZIP2 => Ok(Encoding::Bzip2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | ENC_LZ4 => Ok(Encoding::Lz4), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | ENC_ZLIB => Ok(Encoding::Zlib), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | ENC_WILDCARD => Ok(Encoding::Wildcard), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/encoding.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | _ => Ok(Encoding::Custom(lowercase_s)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http_encoding_headers` (lib test) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "a6a5c824078bfd6c656ef1c153ab504d954f027b4122ee4931389a1b5f7b4abc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6a5c824078bfd6c656ef1c153ab504d954f027b4122ee4931389a1b5f7b4abc", kill_on_drop: false }` [INFO] [stdout] a6a5c824078bfd6c656ef1c153ab504d954f027b4122ee4931389a1b5f7b4abc