[INFO] fetching crate axum-response-cache 0.4.0... [INFO] checking axum-response-cache-0.4.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate axum-response-cache 0.4.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate axum-response-cache 0.4.0 [INFO] finished tweaking crates.io crate axum-response-cache 0.4.0 [INFO] tweaked toml for crates.io crate axum-response-cache 0.4.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate axum-response-cache 0.4.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 axum-response-cache 0.4.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] [stderr] Blocking waiting for file lock on package cache [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] bfb86debb7e425d7c3622dd69c24712138aff13b7ca410012c62e2cd9d7ec923 [INFO] running `Command { std: "docker" "start" "-a" "bfb86debb7e425d7c3622dd69c24712138aff13b7ca410012c62e2cd9d7ec923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfb86debb7e425d7c3622dd69c24712138aff13b7ca410012c62e2cd9d7ec923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfb86debb7e425d7c3622dd69c24712138aff13b7ca410012c62e2cd9d7ec923", kill_on_drop: false }` [INFO] [stdout] bfb86debb7e425d7c3622dd69c24712138aff13b7ca410012c62e2cd9d7ec923 [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] 19dc5546dfd52dc44277ea3972232c583394ceaafd4616737dab1ceeb1b278c4 [INFO] running `Command { std: "docker" "start" "-a" "19dc5546dfd52dc44277ea3972232c583394ceaafd4616737dab1ceeb1b278c4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking tokio v1.47.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling cached_proc_macro v0.25.0 [INFO] [stderr] Checking cached v0.56.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking axum-response-cache v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 559 | #[instrument(skip(self, request))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `instrument` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:590:29 [INFO] [stdout] | [INFO] [stdout] 590 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 591 | | match (cached, evicted) { [INFO] [stdout] 592 | | (Some(value), false) => Ok(value.into_response()), [INFO] [stdout] 593 | | (Some(stale_value), true) => { [INFO] [stdout] ... | [INFO] [stdout] 615 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | / match (cached, evicted) { [INFO] [stdout] 592 | | (Some(value), false) => Ok(value.into_response()), [INFO] [stdout] 593 | | (Some(stale_value), true) => { [INFO] [stdout] 594 | | let response = inner_fut.await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 614 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:592:41 [INFO] [stdout] | [INFO] [stdout] 592 | (Some(value), false) => Ok(value.into_response()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:593:46 [INFO] [stdout] | [INFO] [stdout] 593 | (Some(stale_value), true) => { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 594 | | let response = inner_fut.await.unwrap(); [INFO] [stdout] 595 | | if response.status().is_success() { [INFO] [stdout] 596 | | Ok(update_cache(&cache, key, response, limit, add_response_headers).await) [INFO] [stdout] ... | [INFO] [stdout] 605 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:594:36 [INFO] [stdout] | [INFO] [stdout] 594 | let response = inner_fut.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:594:46 [INFO] [stdout] | [INFO] [stdout] 594 | let response = inner_fut.await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:594:36 [INFO] [stdout] | [INFO] [stdout] 594 | let response = inner_fut.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:595:21 [INFO] [stdout] | [INFO] [stdout] 595 | / if response.status().is_success() { [INFO] [stdout] 596 | | Ok(update_cache(&cache, key, response, limit, add_response_headers).await) [INFO] [stdout] 597 | | } else if use_stale { [INFO] [stdout] 598 | | debug!("Returning stale value."); [INFO] [stdout] ... | [INFO] [stdout] 603 | | Ok(response) [INFO] [stdout] 604 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:595:55 [INFO] [stdout] | [INFO] [stdout] 595 | if response.status().is_success() { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 596 | | Ok(update_cache(&cache, key, response, limit, add_response_headers).await) [INFO] [stdout] 597 | | } else if use_stale { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:596:25 [INFO] [stdout] | [INFO] [stdout] 596 | Ok(update_cache(&cache, key, response, limit, add_response_headers).await) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:597:28 [INFO] [stdout] | [INFO] [stdout] 597 | } else if use_stale { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 598 | | debug!("Returning stale value."); [INFO] [stdout] 599 | | Ok(stale_value.into_response()) [INFO] [stdout] 600 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 603 | | Ok(response) [INFO] [stdout] 604 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:597:41 [INFO] [stdout] | [INFO] [stdout] 597 | } else if use_stale { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 598 | | debug!("Returning stale value."); [INFO] [stdout] 599 | | Ok(stale_value.into_response()) [INFO] [stdout] 600 | | } else { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:599:25 [INFO] [stdout] | [INFO] [stdout] 599 | Ok(stale_value.into_response()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:600:28 [INFO] [stdout] | [INFO] [stdout] 600 | } else { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 601 | | debug!("Stale value in cache, evicting and returning failed response."); [INFO] [stdout] 602 | | cache.lock().unwrap().cache_remove(&key); [INFO] [stdout] 603 | | Ok(response) [INFO] [stdout] 604 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:603:25 [INFO] [stdout] | [INFO] [stdout] 603 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:606:30 [INFO] [stdout] | [INFO] [stdout] 606 | (None, _) => { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 607 | | let response = inner_fut.await.unwrap(); [INFO] [stdout] 608 | | if response.status().is_success() { [INFO] [stdout] 609 | | Ok(update_cache(&cache, key, response, limit, add_response_headers).await) [INFO] [stdout] ... | [INFO] [stdout] 613 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:607:36 [INFO] [stdout] | [INFO] [stdout] 607 | let response = inner_fut.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:607:46 [INFO] [stdout] | [INFO] [stdout] 607 | let response = inner_fut.await.unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:607:36 [INFO] [stdout] | [INFO] [stdout] 607 | let response = inner_fut.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | / if response.status().is_success() { [INFO] [stdout] 609 | | Ok(update_cache(&cache, key, response, limit, add_response_headers).await) [INFO] [stdout] 610 | | } else { [INFO] [stdout] 611 | | Ok(response) [INFO] [stdout] 612 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:608:55 [INFO] [stdout] | [INFO] [stdout] 608 | if response.status().is_success() { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 609 | | Ok(update_cache(&cache, key, response, limit, add_response_headers).await) [INFO] [stdout] 610 | | } else { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:609:25 [INFO] [stdout] | [INFO] [stdout] 609 | Ok(update_cache(&cache, key, response, limit, add_response_headers).await) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:610:28 [INFO] [stdout] | [INFO] [stdout] 610 | } else { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 611 | | Ok(response) [INFO] [stdout] 612 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:611:25 [INFO] [stdout] | [INFO] [stdout] 611 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 559 | #[instrument(skip(self, request))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 559 | #[instrument(skip(self, request))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 559 | #[instrument(skip(self, request))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/lib.rs:559:5 [INFO] [stdout] | [INFO] [stdout] 559 | #[instrument(skip(self, request))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-response-cache` (lib) due to 29 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "19dc5546dfd52dc44277ea3972232c583394ceaafd4616737dab1ceeb1b278c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19dc5546dfd52dc44277ea3972232c583394ceaafd4616737dab1ceeb1b278c4", kill_on_drop: false }` [INFO] [stdout] 19dc5546dfd52dc44277ea3972232c583394ceaafd4616737dab1ceeb1b278c4