hello-stephen opened a new pull request, #403:
URL: https://github.com/apache/doris-thirdparty/pull/403

   ## What changed
   
   - Install Rust 1.91.0 in the scheduled thirdparty build workflow.
   - Apply the same toolchain pin to the manual build workflow.
   - Print the pinned compiler version during environment preparation.
   
   ## Why
   
   The hosted Ubuntu runner has moved to Rust 1.97.0. The current `lance-c 
v0.1.2` lockfile pins `ethnum v1.5.2`, which assumes `TryFromIntError` is 
zero-sized. That assumption no longer holds on Rust 1.97.0, so the build fails 
with `E0512` while compiling `ethnum`.
   
   The Doris thirdparty build already prefers Rust 1.91.0 when that toolchain 
is installed. Installing the expected version in the workflow makes the build 
deterministic and avoids changing the upstream `lance-c` source archive or its 
lockfile.
   
   Failed job: 
https://github.com/apache/doris-thirdparty/actions/runs/29551593405/job/87795875361
   
   ## Validation
   
   - `actionlint` passes for both changed workflows.
   - `ethnum v1.5.2` reproduces `E0512` with Rust 1.97.0.
   - The same crate compiles successfully with Rust 1.91.0.
   - `git diff --check` passes.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to