Build Information
Failed to build SwiftSlash, reference 5.0.2 (20b8aa), with Swift 6.2 for macOS (SPM) on 8 Oct 2026 22:34:38 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tannerdsilva/SwiftSlash.git
Reference: 5.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tannerdsilva/SwiftSlash
* tag 5.0.2 -> FETCH_HEAD
HEAD is now at 20b8aae fix non-ascii argv truncation: strndup needs the utf8 byte length
Cloned https://github.com/tannerdsilva/SwiftSlash.git
Revision (git rev-parse @):
20b8aae8b528e86091b792daaa3d9760b0addddc
SUCCESS checkout https://github.com/tannerdsilva/SwiftSlash.git at 5.0.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/tannerdsilva/SwiftSlash.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/14] Write sources
[9/14] Write swift-version--3CB7CFEC50E0D141.txt
[10/16] Compiling __cswiftslash_types __cswiftslash_types.c
[11/16] Compiling __cswiftslash_threads __cswiftslash_threads.c
[12/16] Compiling __cswiftslash_posix_helpers __cswiftslash_posix_helpers.c
[13/21] Compiling __cswiftslash_eventtrigger __cswiftslash_eventtrigger.c
[15/21] Emitting module SwiftSlashFHHelpers
[16/21] Compiling SwiftSlashFHHelpers PosixPipe.swift
[17/21] Compiling SwiftSlashFHHelpers FHHelpers.swift
[18/21] Compiling SwiftSlashFHHelpers SystemErrno.swift
[19/21] Compiling SwiftSlashFHHelpers FileHandleError.swift
[20/21] Emitting module SwiftSlashOneShotLatch
[21/21] Compiling SwiftSlashOneShotLatch OneShotLatch.swift
[22/27] Compiling SwiftSlashFIFO FIFOIterators.swift
[23/27] Compiling SwiftSlashFIFO FIFOCore.swift
[24/27] Emitting module SwiftSlashFIFO
[25/27] Compiling SwiftSlashFIFO FIFO.swift
[26/27] Compiling SwiftSlashFuture Future.swift
[27/27] Emitting module SwiftSlashFuture
[28/32] Compiling SwiftSlashPThread Workspace.swift
[29/32] Compiling SwiftSlashPThread PThreadErrors.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/32] Compiling SwiftSlashPThread GenericPThread.swift
[31/32] Emitting module SwiftSlashPThread
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSlashPThread/PThread.swift:310:2: error: unknown attribute 'c'
308 | // below are the four "pillar functions" that allow for seamless and tightly integrated pthread tasks.
309 | /// allocator function. responsible for initializing the workspace and transferring the crucial memory from the Setup.
310 | @c fileprivate func _run_alloc(_ csPtr:__cswiftslash_ptr_t) -> __cswiftslash_ptr_t {
| `- error: unknown attribute 'c'
311 | let ws = UnsafeMutablePointer<Workspace>.allocate(capacity:1)
312 | ws.initialize(to:Workspace(csPtr.assumingMemoryBound(to:Setup.self).pointee))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSlashPThread/PThread.swift:316:2: error: unknown attribute 'c'
314 | }
315 | /// deallocator function. responsible for being as intentional as possible in capturing the current workspace and releasing the reference of it before it returns.
316 | @c fileprivate func _run_dealloc(_ wsPtr:__cswiftslash_ptr_t) -> Void {
| `- error: unknown attribute 'c'
317 | wsPtr.assumingMemoryBound(to:Workspace.self).deinitialize(count:1).deallocate()
318 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSlashPThread/PThread.swift:320:2: error: unknown attribute 'c'
318 | }
319 | /// cancel function. responsible for setting the cancellation flag on the contained workspace.
320 | @c fileprivate func _run_cancel(_ wsPtr:__cswiftslash_ptr_t) -> Void {
| `- error: unknown attribute 'c'
321 | wsPtr.assumingMemoryBound(to:Workspace.self).pointee.setCancellation()
322 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSlashPThread/PThread.swift:324:2: error: unknown attribute 'c'
322 | }
323 | /// main function. responsible for running the work function and setting the result into the return future.
324 | @c fileprivate func _run_main(_ wsPtr:__cswiftslash_ptr_t) -> Void {
| `- error: unknown attribute 'c'
325 | // capture the contained workspace (nonretained because of pthread cancellation) so that we can interact with it safely for the work.
326 | wsPtr.assumingMemoryBound(to:Workspace.self).pointee.work()
[32/32] Compiling SwiftSlashPThread PThread.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSlashPThread/PThread.swift:310:2: error: unknown attribute 'c'
308 | // below are the four "pillar functions" that allow for seamless and tightly integrated pthread tasks.
309 | /// allocator function. responsible for initializing the workspace and transferring the crucial memory from the Setup.
310 | @c fileprivate func _run_alloc(_ csPtr:__cswiftslash_ptr_t) -> __cswiftslash_ptr_t {
| `- error: unknown attribute 'c'
311 | let ws = UnsafeMutablePointer<Workspace>.allocate(capacity:1)
312 | ws.initialize(to:Workspace(csPtr.assumingMemoryBound(to:Setup.self).pointee))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSlashPThread/PThread.swift:316:2: error: unknown attribute 'c'
314 | }
315 | /// deallocator function. responsible for being as intentional as possible in capturing the current workspace and releasing the reference of it before it returns.
316 | @c fileprivate func _run_dealloc(_ wsPtr:__cswiftslash_ptr_t) -> Void {
| `- error: unknown attribute 'c'
317 | wsPtr.assumingMemoryBound(to:Workspace.self).deinitialize(count:1).deallocate()
318 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSlashPThread/PThread.swift:320:2: error: unknown attribute 'c'
318 | }
319 | /// cancel function. responsible for setting the cancellation flag on the contained workspace.
320 | @c fileprivate func _run_cancel(_ wsPtr:__cswiftslash_ptr_t) -> Void {
| `- error: unknown attribute 'c'
321 | wsPtr.assumingMemoryBound(to:Workspace.self).pointee.setCancellation()
322 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSlashPThread/PThread.swift:324:2: error: unknown attribute 'c'
322 | }
323 | /// main function. responsible for running the work function and setting the result into the return future.
324 | @c fileprivate func _run_main(_ wsPtr:__cswiftslash_ptr_t) -> Void {
| `- error: unknown attribute 'c'
325 | // capture the contained workspace (nonretained because of pthread cancellation) so that we can interact with it safely for the work.
326 | wsPtr.assumingMemoryBound(to:Workspace.self).pointee.work()
BUILD FAILURE 6.2 macosSpm