The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftSerial, reference 0.2.1 (d20cf9), with Swift 6.4 for Linux on 10 Nov 2026 09:43:30 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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sgade/SwiftSerial.git
Reference: 0.2.1
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/sgade/SwiftSerial
 * tag               0.2.1      -> FETCH_HEAD
HEAD is now at d20cf9f Allow a new open attempt after a failure
Cloned https://github.com/sgade/SwiftSerial.git
Revision (git rev-parse @):
d20cf9f92f870060fabb9e2775f15b6c5e29cb79
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sgade/SwiftSerial.git at 0.2.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/sgade/SwiftSerial.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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:b44244c3c3fc9f2af9eceb487c9bff83319ab045277845df83db1e4f60420d2c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Building for debugging...
[Planning deferred tasks]
[26 / 34] SwiftSerial
[31 / 34] SwiftSerial
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:276:5: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
274 | 		} else {
275 | 			let new = AsyncStream<UInt8> { continuation in
276 | 				Task {
    |     |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |     `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
277 | 					for try await data in readDataStream {
278 | 						for byte in data {
/host/spi-builder-workspace/Sources/SwiftSerial/SerialPort.swift:299:5: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
297 | 			let byteStream = try asyncBytes()
298 | 			let new = AsyncStream<String> { continuation in
299 | 				Task {
    |     |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |     `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
300 | 					var accumulator = Data()
301 | 					for try await byte in byteStream {
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
Build complete! (4.24 secs)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftSerial",
  "name" : "SwiftSerial",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwiftSerial",
      "targets" : [
        "SwiftSerial"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSerialTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSerialTests",
      "path" : "Tests/SwiftSerialTests",
      "sources" : [
        "PseudoTerminal.swift",
        "SerialPortTests.swift"
      ],
      "target_dependencies" : [
        "SwiftSerial"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSerial",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSerial",
      "path" : "Sources/SwiftSerial",
      "product_memberships" : [
        "SwiftSerial"
      ],
      "sources" : [
        "BaudRate.swift",
        "DataBitsSize.swift",
        "ParityType.swift",
        "PortError.swift",
        "PortMode.swift",
        "SerialPort.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:b44244c3c3fc9f2af9eceb487c9bff83319ab045277845df83db1e4f60420d2c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Done.