Avatar
CIが謎の失敗するようになってしまった [65/103] Compiling ******** AmazonSESTests.swift /home/runner/work/********/AmazonSESTests.swift:2:8: error: module '_Testing_Foundation' was built with C++ interoperability enabled, but current compilation does not enable C++ interoperability 1 | import Testing 2 | import Foundation | |- error: module '_Testing_Foundation' was built with C++ interoperability enabled, but current compilation does not enable C++ interoperability | `- note: visit https://www.swift.org/documentation/cxx-interop/project-build-setup to learn how to enable C++ interoperability 3 | import Soto 4 | import ********
3:38 AM
キャッシュロードの状況は毎回同じなんだけどたまにコレでテストターゲットのビルドが落ちる パッケージの中には複数の test target があって、その1つは cxx interop が有効になっているので、cxx interopが無効なテストをビルドするときに、cxx interop が有効なテストをビルドした時の _Testing_Foundation のキャッシュを参照してしまって、エラーが起きてるような感じがする
3:39 AM
Swift 6.2.0 に移行してから発生しているが、同時にインストーラを Swiftly に変えたり、Swiftly のツールチェーンをキャッシュさせたり、インフラの変更が他にもあってようわからん
3:39 AM
一つのパッケージに cxx interop on と off の test target がある時に、バイナリのキャッシュ戦略がどうなって、本来どうやってそれらがアイソレートされているか、詳しい人はいますか・・・