[INFO] fetching crate gotham_restful 0.9.1... [INFO] checking gotham_restful-0.9.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate gotham_restful 0.9.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate gotham_restful 0.9.1 [INFO] finished tweaking crates.io crate gotham_restful 0.9.1 [INFO] tweaked toml for crates.io crate gotham_restful 0.9.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gotham_restful 0.9.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 gotham_restful 0.9.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] 616ad4fa6a2db0dd01a44cfadeb9ef39dd7c1dbca32c8ce7ddd3aa6da2dd5b2e [INFO] running `Command { std: "docker" "start" "-a" "616ad4fa6a2db0dd01a44cfadeb9ef39dd7c1dbca32c8ce7ddd3aa6da2dd5b2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "616ad4fa6a2db0dd01a44cfadeb9ef39dd7c1dbca32c8ce7ddd3aa6da2dd5b2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "616ad4fa6a2db0dd01a44cfadeb9ef39dd7c1dbca32c8ce7ddd3aa6da2dd5b2e", kill_on_drop: false }` [INFO] [stdout] 616ad4fa6a2db0dd01a44cfadeb9ef39dd7c1dbca32c8ce7ddd3aa6da2dd5b2e [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] ebd7e2e89f4ca3972b589bee6413fb973990cc59e37d6e7d0d82a17ce201655f [INFO] running `Command { std: "docker" "start" "-a" "ebd7e2e89f4ca3972b589bee6413fb973990cc59e37d6e7d0d82a17ce201655f", kill_on_drop: false }` [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling cookie v0.15.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling pq-sys v0.7.5 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling diesel_derives v2.3.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking serde_spanned v1.0.3 [INFO] [stderr] Checking toml_datetime v0.7.3 [INFO] [stderr] Checking borrow-bag v1.1.1 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Checking toml_writer v1.0.4 [INFO] [stderr] Checking toml_parser v1.0.4 [INFO] [stderr] Checking dissimilar v1.0.10 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking downcast-rs v2.0.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.3.0 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking simple_logger v5.1.0 [INFO] [stderr] Checking toml v0.9.8 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling lazy-regex v3.4.1 [INFO] [stderr] Compiling gotham_derive v0.7.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling gotham_restful_derive v0.9.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling dsl_auto_type v0.2.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking trybuild v1.0.111 [INFO] [stderr] Checking gotham v0.7.4 [INFO] [stderr] Checking gotham_restful v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `OrAllTypes` is never used [INFO] [stdout] --> src/response/mod.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) trait OrAllTypes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MaybeMatchContentTypeHeader` is never constructed [INFO] [stdout] --> src/routing.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | struct MaybeMatchContentTypeHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/routing.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | impl MaybeMatchContentTypeHeader { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 186 | fn new(types: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/response/raw.rs:84:67 [INFO] [stdout] | [INFO] [stdout] 84 | fn from_body(body: Bytes, mime: Mime) -> Result { [INFO] [stdout] | ______________________________________________________________________^ [INFO] [stdout] 85 | | Ok(Self::new(body.as_ref().into(), mime)) [INFO] [stdout] 86 | | } [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/response/raw.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 85 | Ok(Self::new(body.as_ref().into(), mime)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gotham_restful` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ebd7e2e89f4ca3972b589bee6413fb973990cc59e37d6e7d0d82a17ce201655f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebd7e2e89f4ca3972b589bee6413fb973990cc59e37d6e7d0d82a17ce201655f", kill_on_drop: false }` [INFO] [stdout] ebd7e2e89f4ca3972b589bee6413fb973990cc59e37d6e7d0d82a17ce201655f