From 9575d7f31ad1dd60b90387e686cfb938f3db3b62 Mon Sep 17 00:00:00 2001 From: Bob Date: Thu, 21 May 2026 19:54:52 +0000 Subject: [PATCH] fix(ci): pin Rust to 1.79.0 to avoid E0282 in time crate on 1.80+ aw-server-rust@dc70318 uses a version of the `time` crate that fails to compile on Rust 1.80+ due to tightened type inference (E0282: type annotations needed for Box<_>). Pin to 1.79.0 until aw-server-rust updates its dependencies. --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d735f8d5..e2e07460 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,9 @@ jobs: # Rust - name: Set up Rust id: toolchain - uses: dtolnay/rust-toolchain@stable + # Pin to 1.79.0: aw-server-rust@dc70318 uses `time` crate which fails to compile + # on Rust 1.80+ due to tightened type inference (E0282 in Box<_> expressions). + uses: dtolnay/rust-toolchain@1.79.0 if: steps.cache-jniLibs.outputs.cache-hit != 'true' - name: Set up Rust toolchain for Android NDK