The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PDFAuthor with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tribalworldwidelondon/PDFAuthor.git
Reference: 0.1.9
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/tribalworldwidelondon/PDFAuthor
 * tag               0.1.9      -> FETCH_HEAD
HEAD is now at b94d61f Updated to 0.1.9
Cloned https://github.com/tribalworldwidelondon/PDFAuthor.git into spi-builder-workspace
b94d61fdd8321f6377269c915f50176faba88838
SUCCESS checkout https://github.com/tribalworldwidelondon/PDFAuthor.git at 0.1.9
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/tribalworldwidelondon/CassowarySwift.git from cache
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git from cache
Fetched https://github.com/tribalworldwidelondon/CassowarySwift.git (0.36s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.37s)
Computing version for https://github.com/tribalworldwidelondon/CassowarySwift.git
Computed https://github.com/tribalworldwidelondon/CassowarySwift.git at 2.0.1 (0.46s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 1.2.0 (0.02s)
Fetching https://github.com/mattgallagher/CwlCatchException.git from cache
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.18s)
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/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/tribalworldwidelondon/CassowarySwift.git
Working copy of https://github.com/tribalworldwidelondon/CassowarySwift.git resolved at 2.0.1
Building for debugging...
[0/22] Compiling CwlMachBadInstructionHandler mach_excServer.c
[1/22] Compiling CwlCatchExceptionSupport CwlCatchException.m
[2/24] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[4/24] Compiling Cassowary Errors.swift
[5/24] Compiling Cassowary Expression.swift
[6/26] Compiling Cassowary Term.swift
[7/26] Compiling Cassowary Variable.swift
[8/26] Compiling Cassowary OrderedDictionary.swift
[9/26] Compiling Cassowary RelationalOperator.swift
[10/26] Compiling Cassowary Row.swift
[11/26] Compiling Cassowary Solver.swift
[12/26] Compiling Cassowary ConstraintOperators.swift
[13/26] Compiling Cassowary ConstraintOperatorsCGFloat.swift
[14/26] Compiling Cassowary Strength.swift
[15/26] Compiling Cassowary Symbol.swift
[16/26] Compiling Cassowary CassowaryDebugDescription.swift
[17/26] Compiling Cassowary Constraint.swift
[18/26] Emitting module Cassowary
[19/26] Compiling Cassowary ConstraintOperatorsInt.swift
[20/26] Compiling Cassowary Double+Epsilon.swift
[21/40] Compiling CwlCatchException CwlCatchException.swift
[22/40] Emitting module CwlCatchException
[22/40] Linking libCwlCatchException.dylib
[24/44] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
/Users/builder/builds/TDmZkXJm/2/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: emit-module command failed with exit code 1 (use -v to see invocation)
[25/44] Emitting module CwlPreconditionTesting
/Users/builder/builds/TDmZkXJm/2/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)
                                                          ^~~~~~~~~~~~~~~~~~~~
[26/44] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
/Users/builder/builds/TDmZkXJm/2/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)
                                                                                                                                                                                          ^~~~~~~~~~~~~~~~~~
[27/44] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
[1/21] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
/Users/builder/builds/TDmZkXJm/2/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)
                                                                                                                                                                                          ^~~~~~~~~~~~~~~~~~
[2/21] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
/Users/builder/builds/TDmZkXJm/2/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: emit-module command failed with exit code 1 (use -v to see invocation)
[3/21] Emitting module CwlPreconditionTesting
/Users/builder/builds/TDmZkXJm/2/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/21] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
/Users/builder/builds/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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/TDmZkXJm/2/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
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm