- Open the attached Swift Package.
- CMD+B to build the project.
- Go to ThreadSafeMockThrowingTypedErrorFunc.swift file for the details what was tried, what compiles and what triggers the crash
- Compare with MockThrowingTypedErrorFunc.swift, where everything is identical except for this is a final class, not an actor.
- Open the attached Swift Package with Xcode 26 beta 4
- CMD+B to build the project
- CMD+U to run tests
- You’ll see a crash in ThreadSafeMockThrowingTypedErrorFunc.swift:L39
- Open CrashingTests.swift for more details
See also the attached stacktraces