Open jaanus opened 1 month ago
I moved my CI workflow from GitHub Actions to CircleCI. The exact same Xcode version 15.4.0 on CircleCI does NOT have this same error as my local setup has, and builds and tests everything successfully as expected.
So this seems to be specific to GitHub Actions and that machine image.
Description
On GitHub Actions, my code fails to compile with Xcode 15.4 with error
Assertion failed: (false && "Unhandled adjustment"), function adjustTypeForDeclReference, file CSApply.cpp, line 971.
I cannot reproduce this locally with Xcode 15.4 or Xcode 16 betas. My code is warning-free, error-free. It compiles, builds, and tests as expected.
Reproduction
The code related to the crash seems to be:
I cannot reproduce this problem locally. The code is error-free and warning-free. It builds and tests as expected for me locally.
Stack dump
Expected behavior
My code should build on GitHub Actions without warnings or errors, similarly as it does for me locally.
Environment
macOS 14.6 (23G80) Xcode 15.4 15F31d
Other software in CI image: https://github.com/actions/runner-images/blob/macos-14-arm64/20240805.3/images/macos/macos-14-arm64-Readme.md
Additional information
Link to failed GitHub Actions job run: https://github.com/tact/Canopy/actions/runs/10334206540/job/28607411500?pr=22
Pull request for context: https://github.com/tact/Canopy/pull/22
Link to exact version of code that is triggering the error in GitHub Actions: https://github.com/tact/Canopy/tree/585c5050ec40cbc70242cb0632f5e042e2b33764