Helo,
This weekend I tried to upgrade my app to swift 6.1, and I stumb into an error in the pipeline, with a huge stack-trace. After trying it in my local machine I found that this is generates a counter overflow when I run my tests with code-coverage enabled and also in parallel.
This is a small part of the full stacktrace, Seems some case of recursivity at first look.
error: terminated(1): /usr/bin/llvm-profdata merge -sparse /__w/mr-scrooge/mr-scrooge/.build/aarch64-unknown-linux-gnu/debug/codecov/XCTest13463496829016464912_0.profraw '/__w/mr-scrooge/mr-scrooge/.build/aarch64-unknown-linux-gnu/debug/codecov/Swift Testing13463496829016464912_0.profraw' -o /__w/mr-scrooge/mr-scrooge/.build/aarch64-unknown-linux-gnu/debug/codecov/default.profdata output:
/__w/mr-scrooge/mr-scrooge/.build/aarch64-unknown-linux-gnu/debug/codecov/XCTest13463496829016464912_0.profraw: $s7Atomics20AtomicUpdateOrderingV9_rawValueACSi_tcfC: counter overflow
/__w/mr-scrooge/mr-scrooge/.build/aarch64-unknown-linux-gnu/debug/codecov/XCTest13463496829016464912_0.profraw: $s7Atomics19_AtomicInt64StorageVyACBi64_cfC: counter overflow
/__w/mr-scrooge/mr-scrooge/.build/aarch64-unknown-linux-gnu/debug/codecov/XCTest13463496829016464912_0.profraw: $s7Atomics20AtomicUpdateOrderingV2eeoiySbAC_ACtFZ: counter overflow
In my tests I've got XC test cases and Swift Testing cases (Just started migrating stuff)
You can see the full Stack Trace here:
Any Idea if this is a known error? Also some workarround to make it working?
Thanks,
Jaume.