I recently expanded the testing matrix of my macro package. I have some GitHub actions that run on every push to main. I started testing Linux builds and I am seeing some strange failures. They seem to be on some narrow but consistent set of configuration variables.
I then run the builds and test across those products.
All of my macOS build run pass. All of my macOS test runs pass. All of my Linux build runs pass. The following Linux test runs are failing:
Swift 6.0.0 / swift-syntax 510.0.0 / debug
Swift 6.0.1 / swift-syntax 510.0.0 / debug
Swift 6.0.2 / swift-syntax 510.0.0 / debug
Swift 6.0.3 / swift-syntax 510.0.0 / debug
It's only this range of Swift toolchains… only this specific version of swift-syntax… only debug builds… and only when I run tests.
I have no idea what could be causing this… but I've run these all multiple times and I keep seeing the same failures. Whatever it is… it seems to be consistent.
Here is an example of what the output looks like:
Any ideas? Can anyone else reproduce a failure on that specific configuration on their macro package from Linux?
Hmm… the 6929 issue from SPM references x86_64 architecture… but I don't see more details from the issues connecting this back to Linux platforms. Did we have any reason to believe 510.0.0 would fail in a similar way building from macOS on x86_64?
I'm also seeing the failures on a narrow configuration… it is only when I build and test from debug that I am failing on Linux. I am able to build debug on Linux. I am also able to build and test release on Linux. Would we expect those configurations not to show the issue with probability one? Would we have any reason to believe this same issue could show up on any510.0.0 Linux build with probability greater than zero?