Build Information
Failed to build DangerSwiftProse with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/f-meloni/danger-swift-prose.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/f-meloni/danger-swift-prose
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e574c4c Unhide dependencies
Cloned https://github.com/f-meloni/danger-swift-prose.git
Revision (git rev-parse @):
e574c4ce2e623b8959fbd7fa4ebaaa6aa6b85265
SUCCESS checkout https://github.com/f-meloni/danger-swift-prose.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/f-meloni/danger-swift-prose.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/23] Write sources
[9/23] Write swift-version-6F35C1178C84523A.txt
[10/31] Compiling CwlMachBadInstructionHandler mach_excServer.c
[11/31] Compiling CwlCatchExceptionSupport CwlCatchException.m
[12/31] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[14/33] Compiling Logger Logger.swift
[15/33] Emitting module Logger
[16/33] Emitting module CwlCatchException
[17/33] Compiling CwlCatchException CwlCatchException.swift
[17/33] Write Objects.LinkFileList
[19/33] Compiling RequestKit RequestKitSession.swift
[20/33] Compiling RequestKit Router.swift
[21/33] Emitting module RequestKit
[22/33] Compiling RequestKit JSONPostRouter.swift
[23/33] Emitting module DangerShellExecutor
[24/33] Compiling DangerShellExecutor ShellExecutor.swift
[25/50] Compiling OctoKit Stars.swift
[26/50] Compiling OctoKit String+PercentEncoding.swift
[27/50] Compiling OctoKit URL+URLParameters.swift
[28/50] Compiling OctoKit Time.swift
[29/51] Compiling OctoKit Parameters.swift
[30/51] Compiling OctoKit PublicKey.swift
[31/51] Compiling OctoKit Follow.swift
[32/51] Compiling OctoKit Gist.swift
[33/51] Compiling OctoKit Milestone.swift
[34/51] Compiling OctoKit Octokit.swift
[35/51] Compiling OctoKit PullRequest.swift
[36/51] Compiling OctoKit Repositories.swift
[37/51] Compiling OctoKit Issue.swift
[38/51] Compiling OctoKit Label.swift
[39/51] Compiling OctoKit Configuration.swift
[40/51] Compiling OctoKit File.swift
[40/51] Linking libCwlCatchException.dylib
[42/51] Compiling OctoKit User.swift
[43/51] Emitting module OctoKit
[44/74] Compiling Danger SwiftlintReportDeleter.swift
[45/74] Compiling Danger Report.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/75] 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
[47/75] 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:2:17: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | extension UnsafePointer where Pointee : ~Copyable {
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 |
[48/75] 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
[49/75] 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 |
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/shibapm/Komondor
Fetching https://github.com/Quick/Quick
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/Logger
[1/116] Fetching logger
[117/625] Fetching logger, komondor
[128/1581] Fetching logger, komondor, shellout
[697/5903] Fetching logger, komondor, shellout, octokit.swift
[1932/20452] Fetching logger, komondor, shellout, octokit.swift, quick
[7273/58877] Fetching logger, komondor, shellout, octokit.swift, quick, swiftformat
[23143/77517] Fetching logger, komondor, shellout, octokit.swift, quick, swiftformat, nimble
Fetched https://github.com/shibapm/Logger from cache (2.97s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[43203/77401] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble
[43319/77840] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble, cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.80s)
Fetching https://github.com/f-meloni/TestSpy
[43838/77401] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble
[43973/79449] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble, testspy
Fetched https://github.com/f-meloni/TestSpy from cache (2.10s)
Fetching https://github.com/nerdishbynature/RequestKit.git
[47046/77401] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble
[47431/78955] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble, requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.91s)
Fetching https://github.com/mxcl/Version
[47699/77401] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble
[47815/77652] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble, version
Fetched https://github.com/mxcl/Version from cache (0.87s)
Fetching https://github.com/shibapm/PackageConfig
[47951/77401] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble
[48199/77981] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble, packageconfig
Fetched https://github.com/shibapm/PackageConfig from cache (0.80s)
Fetching https://github.com/danger/swift.git
[48583/77401] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble
[50889/87028] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble, swift
Fetched https://github.com/danger/swift.git from cache (1.24s)
Fetching https://github.com/jpsim/Yams
[57805/77401] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble
[57848/86738] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble, yams
Fetched https://github.com/jpsim/Yams from cache (1.85s)
Fetching https://github.com/f-meloni/Rocket
[58573/77401] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble
[59190/78787] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble, rocket
Fetched https://github.com/f-meloni/Rocket from cache (0.97s)
Fetching https://github.com/kareman/SwiftShell
[59342/77401] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble
[59343/82264] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble, swiftshell
Fetched https://github.com/kareman/SwiftShell from cache (1.26s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[59663/77401] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble
[59664/78648] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble, cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.87s)
[59726/77401] Fetching komondor, shellout, octokit.swift, quick, swiftformat, nimble
Fetched https://github.com/Quick/Quick from cache (33.08s)
Fetched https://github.com/shibapm/Komondor from cache (33.09s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (33.09s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (33.09s)
Fetched https://github.com/nerdishbynature/octokit.swift from cache (33.09s)
Fetched https://github.com/Quick/Nimble from cache (33.09s)
Computing version for https://github.com/f-meloni/Rocket
Computed https://github.com/f-meloni/Rocket at 1.0.0 (0.96s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.43.5 (2.60s)
Computing version for https://github.com/shibapm/PackageConfig
Computed https://github.com/shibapm/PackageConfig at 0.12.2 (0.65s)
Computing version for https://github.com/shibapm/Komondor
Computed https://github.com/shibapm/Komondor at 1.0.4 (0.66s)
Computing version for https://github.com/f-meloni/TestSpy
Computed https://github.com/f-meloni/TestSpy at 0.4.1 (0.65s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.0.5 (0.67s)
Computing version for https://github.com/danger/swift.git
Computed https://github.com/danger/swift.git at 3.0.0 (0.67s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.0.1 (0.67s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.66s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 2.0.0 (0.68s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.64s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 2.2.0 (0.68s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 1.2.0 (2.32s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.10.0 (0.68s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 1.2.0 (0.65s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 1.2.0 (0.64s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 2.4.0 (0.70s)
Creating working copy for https://github.com/f-meloni/Rocket
Working copy of https://github.com/f-meloni/Rocket resolved at 1.0.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.43.5
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 2.4.0
Creating working copy for https://github.com/danger/swift.git
Working copy of https://github.com/danger/swift.git resolved at 3.0.0
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 1.2.0
Creating working copy for https://github.com/f-meloni/TestSpy
Working copy of https://github.com/f-meloni/TestSpy resolved at 0.4.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.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/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
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/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.10.0
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.0.1
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.0.5
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 2.2.0
Creating working copy for https://github.com/shibapm/Komondor
Working copy of https://github.com/shibapm/Komondor resolved at 1.0.4
Creating working copy for https://github.com/shibapm/PackageConfig
Working copy of https://github.com/shibapm/PackageConfig resolved at 0.12.2
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 2.0.0
warning: 'spi-builder-workspace': dependency 'packageconfig' is not used by any target
BUILD FAILURE 6.0 macosSpm