Skip to content

Update rust Docker image to rust:1.88.0-slim #1486

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 19, 2025
Merged

Conversation

dgburr
Copy link
Contributor

@dgburr dgburr commented Jul 17, 2025

Description

Update rust Docker image to the latest version (rust:1.88.0-slim). This fixes the following build error when trying to compile sbp2json:

error: failed to compile `sbp2json v6.2.2-alpha (https://github.com/swift-nav/libsbp.git#635fc94f)`, intermediate artifacts can be found at `/tmp/cargo-installwOcSKv`

Caused by:
  package `textwrap v0.16.2` cannot be built because it requires rustc 1.70 or newer, while the currently active rustc version is 1.67.1
  Either upgrade to rustc 1.70 or newer, or use
  cargo update -p [email protected] --precise ver
  where `ver` is the latest version of `textwrap` supporting rustc 1.67.1

Also bump the haskell and python benchmarking Docker images to debian:bookworm-slim to fix the benchmark step in CI.

API compatibility

Does this change introduce a API compatibility risk?

No

API compatibility plan

If the above is "Yes", please detail the compatibility (or migration) plan:

N/A

JIRA Reference

https://swift-nav.atlassian.net/browse/BOARD-XXXX

@dgburr dgburr requested a review from armallen July 17, 2025 15:48
@dgburr dgburr requested a review from a team as a code owner July 17, 2025 16:14
@Madhunika-atmakuri Madhunika-atmakuri self-requested a review July 17, 2025 17:50
@armallen
Copy link
Contributor

@dgburr The Haskell step can't run because it's using ubuntu-20.04 runner, which are not available anymore.
Updating the workflow to run on ubuntu-24.04 fixes the issue (see change here and workflow result here

Copy link

@dgburr dgburr merged commit 0b0cdd2 into master Jul 19, 2025
16 checks passed
@dgburr dgburr deleted the dburr/update-rust-docker branch July 19, 2025 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants