The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Sparse, reference 0.4.1 (7c360c), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 11:02:50 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnpatrickmorgan/Sparse.git
Reference: 0.4.1
Initialized empty Git repository in /Users/admin/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
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Nimble.git
[1/1257] Fetching cwlpreconditiontesting
[228/1717] Fetching cwlpreconditiontesting, cwlcatchexception
[1718/16613] Fetching cwlpreconditiontesting, cwlcatchexception, quick
[1719/36430] Fetching cwlpreconditiontesting, cwlcatchexception, quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.51s)
[5086/21534] Fetching cwlpreconditiontesting, cwlcatchexception, nimble
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.01s)
Fetched https://github.com/Quick/Nimble.git from cache (2.01s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (2.01s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.4 (2.73s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.0 (0.69s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 1.2.0 (2.53s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 1.2.0 (2.43s)
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
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "sparse",
      "name": "Sparse",
      "url": "https://github.com/johnpatrickmorgan/Sparse.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Sparse",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "quick",
          "name": "Quick",
          "url": "https://github.com/Quick/Quick.git",
          "version": "2.2.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Quick",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "nimble",
              "name": "Nimble",
              "url": "https://github.com/Quick/Nimble.git",
              "version": "8.1.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "nimble",
          "name": "Nimble",
          "url": "https://github.com/Quick/Nimble.git",
          "version": "8.1.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/johnpatrickmorgan/Sparse.git
[1/373] Fetching sparse
Fetched https://github.com/johnpatrickmorgan/Sparse.git from cache (0.65s)
Fetching https://github.com/Quick/Quick.git from cache
Fetching https://github.com/Quick/Nimble.git from cache
Fetched https://github.com/Quick/Quick.git from cache (0.59s)
Fetched https://github.com/Quick/Nimble.git from cache (0.59s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (1.31s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.70s)
Creating working copy for https://github.com/johnpatrickmorgan/Sparse.git
Working copy of https://github.com/johnpatrickmorgan/Sparse.git resolved at 0.4.1 (7c360cc)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
warning: '.resolve-product-dependencies': dependency 'sparse' is not used by any target
Found 2 product dependencies
  - Quick
  - Nimble
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/johnpatrickmorgan/Sparse.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version--6988338F2F200930.txt
[4/30] Compiling CwlMachBadInstructionHandler mach_excServer.c
[5/30] Compiling CwlCatchExceptionSupport CwlCatchException.m
[6/30] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[8/32] Compiling Sparse ParsingContext.swift
[9/32] Compiling Sparse PositionedInput.swift
[10/32] Compiling Sparse IgnoreError.swift
[11/32] Compiling Sparse InfiniteLoopError.swift
[12/32] Compiling Sparse ContextDescribableError.swift
[13/32] Compiling Sparse ContextualizedError.swift
[14/32] Compiling Sparse Parser.swift
[15/32] Compiling Sparse ParserError.swift
[16/32] Compiling Sparse CSVParser.swift
[17/32] Compiling Sparse CharacterParsers.swift
[18/32] Compiling Sparse DotStringsEntry.swift
[19/32] Compiling Sparse DotStringsParser.swift
[20/32] Compiling Sparse Stream.swift
[21/32] Compiling Sparse StringParsers.swift
[22/32] Emitting module Sparse
[23/32] Compiling Sparse Parser_name.swift
[24/32] Compiling Sparse Parser_run.swift
[25/32] Compiling Sparse Parser_combinators.swift
[26/32] Compiling Sparse Parser_creators.swift
[27/34] Compiling Sparse Transforms.swift
[28/34] Compiling Sparse UnexpectedInputError.swift
[29/34] Compiling CwlCatchException CwlCatchException.swift
[30/34] Emitting module CwlCatchException
[30/34] Write Objects.LinkFileList
[31/34] Linking libCwlCatchException.dylib
[33/38] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT	((mach_msg_type_number_t) \
43 | //		( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
   |                                                           `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/38] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift:185:166: error: cannot find 'x86_THREAD_STATE64' in scope
183 | 		try kernCheck { context.withUnsafeMutablePointers { masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr in
184 | 			// 3. Apply the mach port as the handler for this thread
185 | 			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: cannot find 'x86_THREAD_STATE64' in scope
186 | 		} }
187 |
[35/38] Emitting module CwlPreconditionTesting
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT	((mach_msg_type_number_t) \
43 | //		( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
   |                                                           `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
[36/38] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT	((mach_msg_type_number_t) \
43 | //		( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
   |                                                           `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:47: error: cannot find 'x86_thread_state64_t' in scope
61 |
62 | 		// Read the old thread state
63 | 		var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
   |                                               `- error: cannot find 'x86_thread_state64_t' in scope
64 |
65 | 		// 1. Decrement the stack pointer
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:25: error: generic parameter 'T' could not be inferred
61 |
62 | 		// Read the old thread state
63 | 		var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
   |                         `- error: generic parameter 'T' could not be inferred
64 |
65 | 		// 1. Decrement the stack pointer
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:82:35: error: cannot find 'x86_thread_state64_t' in scope
80 |
81 | 		// Write the new thread state
82 | 		new_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { $0.pointee = state }
   |                                   `- error: cannot find 'x86_thread_state64_t' in scope
83 | 		new_stateCnt.pointee = x86_THREAD_STATE64_COUNT
84 |
BUILD FAILURE 6.3 macosSpm