Build Information
Successful build of SwiftyGPIO, reference 2.0.0-beta10 (d9b049), with Swift 6.4 for macOS (SPM) on 19 Sep 2026 21:49:36 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/uraimo/SwiftyGPIO.git
Reference: 2.0.0-beta10
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/uraimo/SwiftyGPIO
* tag 2.0.0-beta10 -> FETCH_HEAD
HEAD is now at d9b0494 Workaround for #96, Issue with poll on boot
Cloned https://github.com/uraimo/SwiftyGPIO.git
Revision (git rev-parse @):
d9b04944a4c0639d606e9a0fcfef41c8ebcf6d2c
SUCCESS checkout https://github.com/uraimo/SwiftyGPIO.git at 2.0.0-beta10
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/uraimo/SwiftyGPIO.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[31 / 40] SwiftyGPIO
[36 / 40] SwiftyGPIO
[37 / 40] SwiftyGPIO
Build complete! (7.21 sec)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGPIO/Generic/SPI.swift:94:46: [1;33mwarning: [1;39minitialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m92 |[0;0m
[0;36m93 |[0;0m var tr = spi_ioc_transfer(
[0;36m94 |[0;0m tx_buf: UInt64( UInt(bitPattern: [4;39mUnsafeMutablePointer(mutating: tx)[0;0m) ),
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m95 |[0;0m rx_buf: UInt64( UInt(bitPattern: UnsafeMutablePointer(mutating: rx)) ),
[0;36m96 |[0;0m len: UInt32(tx.count),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGPIO/Generic/SPI.swift:95:46: [1;33mwarning: [1;39minitialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m93 |[0;0m var tr = spi_ioc_transfer(
[0;36m94 |[0;0m tx_buf: UInt64( UInt(bitPattern: UnsafeMutablePointer(mutating: tx)) ),
[0;36m95 |[0;0m rx_buf: UInt64( UInt(bitPattern: [4;39mUnsafeMutablePointer(mutating: rx)[0;0m) ),
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m96 |[0;0m len: UInt32(tx.count),
[0;36m97 |[0;0m speed_hz: speed,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGPIO/Generic/UART.swift:94:19: [1;33mwarning: [1;39minitialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m92 |[0;0m public func readLine() throws -> String {
[0;36m93 |[0;0m var buf = [CChar](repeating:0, count: 4097) //4096 chars at max in canonical mode
[0;36m94 |[0;0m var ptr = [4;39mUnsafeMutablePointer<CChar>(&buf)[0;0m
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m95 |[0;0m var pos = 0
[0;36m96 |[0;0m
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGPIO/Generic/1Wire.swift:76:19: [1;33mwarning: [1;39minitialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m74 |[0;0m private func readLine(_ fd: Int32) throws -> String? {
[0;36m75 |[0;0m var buf = [CChar](repeating:0, count: 128)
[0;36m76 |[0;0m var ptr = [4;39mUnsafeMutablePointer<CChar>(&buf)[0;0m
[0;36m|[0;0m | |- [1;39mnote: [1;39mimplicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'[0;0m
[0;36m|[0;0m | `- [1;39mnote: [1;39muse the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope[0;0m
[0;36m|[0;0m `- [1;33mwarning: [1;39minitialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
[0;36m77 |[0;0m var pos = 0
[0;36m78 |[0;0m
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftyGPIO",
"name" : "SwiftyGPIO",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftyGPIO",
"targets" : [
"SwiftyGPIO"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftyGPIOTests",
"module_type" : "SwiftTarget",
"name" : "SwiftyGPIOTests",
"path" : "Tests/SwiftyGPIOTests",
"sources" : [
"SwiftyGPIOTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftyGPIO"
],
"type" : "test"
},
{
"c99name" : "SwiftyGPIO",
"module_type" : "SwiftTarget",
"name" : "SwiftyGPIO",
"path" : "Sources/SwiftyGPIO",
"product_memberships" : [
"SwiftyGPIO"
],
"sources" : [
"Generic/1Wire.swift",
"Generic/ADC.swift",
"Generic/GPIO.swift",
"Generic/I2C.swift",
"Generic/SPI.swift",
"Generic/UART.swift",
"Presets.swift",
"SunXi.swift",
"SwiftyGPIO.swift",
"Vendor/Mailbox.swift",
"Vendor/RaspberryGPIO.swift",
"Vendor/RaspberryPWM.swift",
"Vendor/RaspberrySPI.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.