The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Sparse with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnpatrickmorgan/Sparse.git
Reference: 0.4.1
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/johnpatrickmorgan/Sparse
 * tag               0.4.1      -> FETCH_HEAD
HEAD is now at 7c360cc Adds library product to Package.swift
Cloned https://github.com/johnpatrickmorgan/Sparse.git
Revision (git rev-parse @):
7c360cc062cf14ee993c6de5b28e04f0892818ac
SUCCESS checkout https://github.com/johnpatrickmorgan/Sparse.git at 0.4.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/johnpatrickmorgan/Sparse.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version--423B1241ED78D482.txt
[4/30] Compiling CwlMachBadInstructionHandler mach_excServer.c
[5/30] Compiling CwlCatchExceptionSupport CwlCatchException.m
[6/32] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[8/32] Emitting module Sparse
[9/34] Compiling Sparse Stream.swift
[10/34] Compiling Sparse StringParsers.swift
[11/34] Compiling Sparse ParserError.swift
[12/34] Compiling Sparse Parser_combinators.swift
[13/34] Compiling Sparse Parser_creators.swift
[14/34] Compiling Sparse Transforms.swift
[15/34] Compiling Sparse UnexpectedInputError.swift
[16/34] Compiling Sparse CSVParser.swift
[17/34] Compiling Sparse CharacterParsers.swift
[18/34] Compiling Sparse ContextDescribableError.swift
[19/34] Compiling Sparse ContextualizedError.swift
[20/34] Compiling Sparse DotStringsEntry.swift
[21/34] Compiling Sparse DotStringsParser.swift
[22/34] Compiling Sparse IgnoreError.swift
[23/34] Compiling Sparse InfiniteLoopError.swift
[24/34] Compiling Sparse Parser.swift
[25/34] Compiling Sparse Parser_name.swift
[26/34] Compiling Sparse Parser_run.swift
[27/34] Compiling Sparse ParsingContext.swift
[28/34] Compiling Sparse PositionedInput.swift
[29/34] Emitting module CwlCatchException
[30/34] Compiling CwlCatchException CwlCatchException.swift
[30/34] Write Objects.LinkFileList
[31/34] Linking libCwlCatchException.dylib
[33/38] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
                                                          ^~~~~~~~~~~~~~~~~~~~
[34/38] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift:185:166: error: cannot find 'x86_THREAD_STATE64' in scope
                        thread_swap_exception_ports(mach_thread_self(), EXC_MASK_BAD_INSTRUCTION, currentExceptionPtr, Int32(bitPattern: UInt32(EXCEPTION_STATE) | MACH_EXCEPTION_CODES), x86_THREAD_STATE64, masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr)
                                                                                                                                                                                          ^~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/38] Emitting module CwlPreconditionTesting
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
                                                          ^~~~~~~~~~~~~~~~~~~~
[36/38] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
                                                          ^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:47: error: cannot find 'x86_thread_state64_t' in scope
                var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
                                                            ^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:25: error: generic parameter 'T' could not be inferred
                var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
                                      ^
Swift.UnsafePointer:7:28: note: in call to function 'withMemoryRebound(to:capacity:_:)'
    @inlinable public func withMemoryRebound<T, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws -> Result) rethrows -> Result
                           ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:82:35: error: cannot find 'x86_thread_state64_t' in scope
                new_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { $0.pointee = state }
                                                ^~~~~~~~~~~~~~~~~~~~
error: fatalError
Fetching https://github.com/mattgallagher/CwlCatchException.git from cache
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git from cache
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/Quick/Quick.git from cache
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.23s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.23s)
Fetched https://github.com/Quick/Quick.git from cache (0.23s)
Fetched https://github.com/Quick/Nimble.git from cache (0.23s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.4 (0.03s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.0 (0.03s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 1.2.0 (0.02s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 1.2.0 (0.02s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 1.2.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 1.2.0
warning: /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/Nimble-80770dfe is not valid git repository for 'https://github.com/Quick/Nimble.git', will fetch again.
Fetching https://github.com/Quick/Nimble.git from cache
Fetched https://github.com/Quick/Nimble.git from cache (0.01s)
warning: /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/Nimble-80770dfe is not valid git repository for 'https://github.com/Quick/Nimble.git', will fetch again.
Fetching https://github.com/Quick/Nimble.git from cache
Fetched https://github.com/Quick/Nimble.git from cache (0.00s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.4
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version--423B1241ED78D482.txt
[2/7] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift:185:166: error: cannot find 'x86_THREAD_STATE64' in scope
                        thread_swap_exception_ports(mach_thread_self(), EXC_MASK_BAD_INSTRUCTION, currentExceptionPtr, Int32(bitPattern: UInt32(EXCEPTION_STATE) | MACH_EXCEPTION_CODES), x86_THREAD_STATE64, masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr)
                                                                                                                                                                                          ^~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Emitting module CwlPreconditionTesting
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
                                                          ^~~~~~~~~~~~~~~~~~~~
[4/7] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
                                                          ^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:47: error: cannot find 'x86_thread_state64_t' in scope
                var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
                                                            ^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:25: error: generic parameter 'T' could not be inferred
                var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
                                      ^
Swift.UnsafePointer:7:28: note: in call to function 'withMemoryRebound(to:capacity:_:)'
    @inlinable public func withMemoryRebound<T, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws -> Result) rethrows -> Result
                           ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:82:35: error: cannot find 'x86_thread_state64_t' in scope
                new_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { $0.pointee = state }
                                                ^~~~~~~~~~~~~~~~~~~~
[5/7] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
                                                          ^~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm