Skip to content
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

CI is currently failing for macOS runner #43

Closed
alexdewar opened this issue May 30, 2024 · 2 comments · Fixed by EnergySystemsModellingLab/highs-example-rust#3
Closed
Labels
bug Something isn't working

Comments

@alexdewar
Copy link
Collaborator

See e.g.: https://github.com/EnergySystemsModellingLab/MUSE_2.0/actions/runs/9267296602/job/25599243110

The relevant part seems to be:

  thread 'main' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/highs-sys-1.6.2/build.rs:22:10:
  Unable to generate bindings: ClangDiagnostic("/Applications/Xcode_15.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/include/inttypes.h:21:15: fatal error: 'inttypes.h' file not found\n")

I think the issue may be that the runners have been updated or the stable version of the Rust toolchain has. Either way, I don't think it's something we've done, because checks have only just started failing.

@alexdewar alexdewar added the bug Something isn't working label May 30, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in MUSE May 30, 2024
@alexdewar
Copy link
Collaborator Author

I've opened an issue for the highs crate as that seems to be the proximate cause of the failure: rust-or/highs#17

Let's see if they have any ideas.

alexdewar added a commit that referenced this issue May 30, 2024
The macOS runner is currently failing, for reasons unknown (#43).

It seems to be something to do with the `highs` crate and I've raised an issue upstream, but for now, let's just disable the macOS runner so it isn't a blocker.
@alexdewar
Copy link
Collaborator Author

alexdewar commented May 30, 2024

I'm disabling the macOS runner for now, but we should re-enable it when this issue is solved and re-add it to the list of required checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant