Skip to content

./scripts/test.sh --contrib fails on current git HEAD #2969

@mcclure

Description

@mcclure

Rocket Version

ec44ab7e058105a2127bfd6d2e1109c4fbcf9faa

Operating System

Debian 13

Rust Toolchain Version

rustc 1.88.0 (6b00bc388 2025-06-23) also tested with rustc 1.90.0 (1159e78c4 2025-09-14)

What happened?

I am writing a PR. The PR contribution guidelines say to run ./scripts/test.sh --contrib. It fails in my PR. But it also fails on current git head, ec44ab7e05810 . It fails with:

error[E0433]: failed to resolve: could not find `try_join` in `futures_util`
   --> /home/mcc/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-async-0.5.2/src/pg/mod.rs:429:23
    |
429 |         futures_util::try_join!(
    |                       ^^^^^^^^ could not find `try_join` in `futures_util`

For more information about this error, try `rustc --explain E0433`.
error: could not compile `diesel-async` (lib) due to 1 previous error

I don't quite understand what's happening here, and it's not clear to me the problem is in Rocket. If I had to guess, I'd guess cargo is for some reason picking an inappropriately old version of futures_util, and a Cargo.toml somewhere needs a more explicit version number.

Test Case

./scripts/test.sh --contrib

Log Output

n/a, rocket is not running

Additional Context

No response

System Checks

  • My bug report relates to functionality.
  • I have tested against the latest Rocket release or a recent git commit.
  • I have tested against the latest stable rustc toolchain.
  • I was unable to find this issue previously reported.

Metadata

Metadata

Assignees

Labels

triageA bug report being investigated

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions