Build Information
Failed to build PDFAuthor, reference master (a360d6
), with Swift 5.8 for macOS (SPM) on 5 Jul 2024 08:58:20 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.44.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tribalworldwidelondon/PDFAuthor.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tribalworldwidelondon/PDFAuthor
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a360d6a Fixed missing imports
Cloned https://github.com/tribalworldwidelondon/PDFAuthor.git
Revision (git rev-parse @):
a360d6aa8b61ecc0fe3ad12b996c77a7259a6567
SUCCESS checkout https://github.com/tribalworldwidelondon/PDFAuthor.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/tribalworldwidelondon/PDFAuthor.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/23] Compiling CwlMachBadInstructionHandler mach_excServer.c
[1/23] Compiling CwlCatchExceptionSupport CwlCatchException.m
[2/25] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[4/25] Compiling Cassowary Symbol.swift
[5/26] Compiling Cassowary Variable.swift
[6/26] Compiling Cassowary Strength.swift
[7/26] Compiling Cassowary Term.swift
[8/26] Compiling Cassowary ConstraintOperatorsInt.swift
[9/26] Compiling Cassowary Double+Epsilon.swift
[10/26] Compiling Cassowary Row.swift
[11/26] Compiling Cassowary Solver.swift
[12/26] Compiling Cassowary OrderedDictionary.swift
[13/26] Compiling Cassowary RelationalOperator.swift
[14/26] Compiling Cassowary Errors.swift
[15/26] Compiling Cassowary Expression.swift
[16/26] Emitting module Cassowary
[17/26] Compiling Cassowary CassowaryDebugDescription.swift
[18/26] Compiling Cassowary Constraint.swift
[19/26] Compiling Cassowary ConstraintOperators.swift
[20/26] Compiling Cassowary ConstraintOperatorsCGFloat.swift
[21/40] Emitting module CwlCatchException
[22/40] Compiling CwlCatchException CwlCatchException.swift
[22/40] Linking libCwlCatchException.dylib
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/44] 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
public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
^~~~~~~~~~~~~~~~~~~~
[25/44] 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
public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
^~~~~~~~~~~~~~~~~~~~
[26/44] 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
public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
^~~~~~~~~~~~~~~~~~~~
/Users/admin/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/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:15: 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/admin/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 }
^~~~~~~~~~~~~~~~~~~~
[27/44] 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
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)
^~~~~~~~~~~~~~~~~~
Fetching https://github.com/tribalworldwidelondon/CassowarySwift.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/195] Fetching cassowaryswift
[138/1442] Fetching cassowaryswift, cwlpreconditiontesting
Fetched https://github.com/tribalworldwidelondon/CassowarySwift.git (1.51s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (1.51s)
Computing version for https://github.com/tribalworldwidelondon/CassowarySwift.git
Computed https://github.com/tribalworldwidelondon/CassowarySwift.git at 2.0.1 (0.72s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 1.2.0 (0.71s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/439] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.79s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 1.2.0 (2.24s)
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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.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
BUILD FAILURE 5.8 macosSpm