Build Information
Successful build of SwiftyGPIO, reference 2.0.0-beta10 (d9b049), with Swift 6.4 for Linux on 19 Sep 2026 21:35:05 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/uraimo/SwiftyGPIO.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
[28 / 36] SwiftyGPIO
[33 / 36] SwiftyGPIO
/host/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),
/host/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,
/host/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>
/host/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>
[34 / 37] SwiftyGPIO
Build complete! (5.44 secs)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftyGPIO",
"name" : "SwiftyGPIO",
"path" : "/host/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"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.