Build Information
Successful build of SingleBoard, reference main (6866fb), with Swift 6.4 for Linux on 18 Sep 2026 05:17:28 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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/Kaiede/SingleBoard.git
Reference: main
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/Kaiede/SingleBoard
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6866fb3 Update README.md
Cloned https://github.com/Kaiede/SingleBoard.git
Revision (git rev-parse @):
6866fb3ddc9c76c1875279c7981ba489c98f7ff1
SUCCESS checkout https://github.com/Kaiede/SingleBoard.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/Kaiede/SingleBoard.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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...
[Pre-planning 1 / 182]
[9 / 56]
[42 / 66] SingleBoard
[50 / 69] PCA9685
[58 / 72] MCP4725
[58 / 72] SingleBoard
[65 / 73] SingleBoard
/host/spi-builder-workspace/Sources/SingleBoard/Common/I2C.swift:219:28: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m217 |[0;0m fileprivate func readData(at address: UInt8, length: Int) -> Data? {
[0;36m218 |[0;0m var data = Data(count: length)
[0;36m219 |[0;0m let success = data.withUnsafeMutableBytes {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m220 |[0;0m (dataBuffer) in
[0;36m221 |[0;0m return i2cIoctl(.read, address: address, length: UInt16(length), data: dataBuffer)
/host/spi-builder-workspace/Sources/SingleBoard/Common/I2C.swift:243:30: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m241 |[0;0m fileprivate func writeData(at address: UInt8, value: Data) -> Bool {
[0;36m242 |[0;0m var internalValue = value
[0;36m243 |[0;0m return internalValue.withUnsafeMutableBytes {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m244 |[0;0m (dataBuffer) in
[0;36m245 |[0;0m return i2cIoctl(.write, address: address, length: UInt16(value.count), data: dataBuffer)
/host/spi-builder-workspace/Sources/SingleBoard/Common/I2C.swift:297:28: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m295 |[0;0m fileprivate func readData(command: UInt8) -> Data? {
[0;36m296 |[0;0m var data = Data(count: SysI2CBus.I2C_MAX_LENGTH+1)
[0;36m297 |[0;0m let success = data.withUnsafeMutableBytes {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m298 |[0;0m (dataBuffer) in
[0;36m299 |[0;0m return smbusIoctl(.read, command: command, dataKind: .blockData, data: dataBuffer)
/host/spi-builder-workspace/Sources/SingleBoard/Common/I2C.swift:323:21: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m321 |[0;0m data[0] = value
[0;36m322 |[0;0m
[0;36m323 |[0;0m return data.withUnsafeMutableBytes {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m324 |[0;0m (dataBuffer) in
[0;36m325 |[0;0m return smbusIoctl(.write, command: command, dataKind: .byteData, data: dataBuffer)
/host/spi-builder-workspace/Sources/SingleBoard/Common/I2C.swift:334:21: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m332 |[0;0m data[1] = UInt8(value >> 8)
[0;36m333 |[0;0m
[0;36m334 |[0;0m return data.withUnsafeMutableBytes {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m335 |[0;0m (dataBuffer) in
[0;36m336 |[0;0m return smbusIoctl(.write, command: command, dataKind: .wordData, data: dataBuffer)
/host/spi-builder-workspace/Sources/SingleBoard/Common/I2C.swift:345:21: [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m343 |[0;0m data.append(UInt8(value.count))
[0;36m344 |[0;0m data.append(data)
[0;36m345 |[0;0m return data.withUnsafeMutableBytes {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m346 |[0;0m (dataBuffer) in
[0;36m347 |[0;0m return smbusIoctl(.write, command: command, dataKind: .blockData, data: dataBuffer)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[68 / 75] SingleBoard
Build complete! (4.94 secs)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SingleBoard",
"name" : "SingleBoard",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SingleBoard",
"targets" : [
"SingleBoard"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PCA9685",
"targets" : [
"PCA9685"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MCP4725",
"targets" : [
"MCP4725"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SingleBoardTests",
"module_type" : "SwiftTarget",
"name" : "SingleBoardTests",
"path" : "Tests/SingleBoardTests",
"sources" : [
"RaspberryPi/RegisterTests.swift",
"SingleBoardTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SingleBoard"
],
"type" : "test"
},
{
"c99name" : "SingleBoard",
"module_type" : "SwiftTarget",
"name" : "SingleBoard",
"path" : "Sources/SingleBoard",
"product_memberships" : [
"SingleBoard",
"PCA9685",
"MCP4725"
],
"sources" : [
"Boards/Chip_Board.swift",
"Boards/Pine_Board.swift",
"Boards/Raspberry_Board.swift",
"Boards/Raspberry_PWM.swift",
"Boards/Raspberry_Registers.swift",
"Common/Extensions.swift",
"Common/GPIO.swift",
"Common/I2C.swift",
"SingleBoard.swift"
],
"type" : "library"
},
{
"c99name" : "PCA9685",
"module_type" : "SwiftTarget",
"name" : "PCA9685",
"path" : "Sources/PCA9685",
"product_memberships" : [
"PCA9685"
],
"sources" : [
"PCA9685.swift"
],
"target_dependencies" : [
"SingleBoard"
],
"type" : "library"
},
{
"c99name" : "MCP4725",
"module_type" : "SwiftTarget",
"name" : "MCP4725",
"path" : "Sources/MCP4725",
"product_memberships" : [
"MCP4725"
],
"sources" : [
"MCP4725.swift"
],
"target_dependencies" : [
"SingleBoard"
],
"type" : "library"
}
],
"tools_version" : "5.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
Done.