The Swift Package Index logo.Swift Package Index

Build Information

Successful build of PeripheryKit, reference main (a02676), with Swift 6.4 for Linux on 20 Sep 2026 22:08:38 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CmST0us/PeripheryKit.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/CmST0us/PeripheryKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a02676d package: remote sysroot copy plugin package: add static and shared product target Cperiphery: bump to 1.0.0 version
Cloned https://github.com/CmST0us/PeripheryKit.git
Revision (git rev-parse @):
a02676dd096523ec792fab3574ae490b421f0364
SUCCESS checkout https://github.com/CmST0us/PeripheryKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/CmST0us/PeripheryKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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]
[46 / 63] Cperiphery
[50 / 63] PeripheryKit
[59 / 67] pio-product
[64 / 67] PeripheryKit_shared-product
/host/spi-builder-workspace/Sources/pio/pio.swift:162:17: warning: mutation of captured var 'bpm' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
160 |                 buzzer.play(track: Music.twinkle)
161 |
162 |                 bpm += 40
    |                 `- warning: mutation of captured var 'bpm' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
163 |                 buzzer.bpm = bpm
164 |
/host/spi-builder-workspace/Sources/pio/pio.swift:163:30: warning: reference to captured var 'bpm' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
161 |
162 |                 bpm += 40
163 |                 buzzer.bpm = bpm
    |                              `- warning: reference to captured var 'bpm' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
164 |
165 |                 halfStep += 12
/host/spi-builder-workspace/Sources/pio/pio.swift:165:17: warning: mutation of captured var 'halfStep' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
163 |                 buzzer.bpm = bpm
164 |
165 |                 halfStep += 12
    |                 `- warning: mutation of captured var 'halfStep' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
166 |                 buzzer.fixedHalfStep = halfStep
167 |
/host/spi-builder-workspace/Sources/pio/pio.swift:166:40: warning: reference to captured var 'halfStep' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
164 |
165 |                 halfStep += 12
166 |                 buzzer.fixedHalfStep = halfStep
    |                                        `- warning: reference to captured var 'halfStep' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
167 |
168 |                 Thread.sleep(forTimeInterval: 1)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[68 / 68] pio-product
Build complete! (5.47 secs)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PeripheryKit",
  "name" : "PeripheryKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PeripheryKit_static",
      "targets" : [
        "PeripheryKit"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "PeripheryKit_shared",
      "targets" : [
        "PeripheryKit"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "pio",
      "targets" : [
        "pio"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "pio",
      "module_type" : "SwiftTarget",
      "name" : "pio",
      "path" : "Sources/pio",
      "product_memberships" : [
        "pio"
      ],
      "sources" : [
        "pio.swift"
      ],
      "target_dependencies" : [
        "PeripheryKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PeripheryKitTests",
      "module_type" : "SwiftTarget",
      "name" : "PeripheryKitTests",
      "path" : "Tests/PeripheryKitTests",
      "sources" : [
        "PeripheryKitTests.swift"
      ],
      "target_dependencies" : [
        "PeripheryKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PeripheryKit",
      "module_type" : "SwiftTarget",
      "name" : "PeripheryKit",
      "path" : "Sources/PeripheryKit",
      "product_memberships" : [
        "PeripheryKit_static",
        "PeripheryKit_shared",
        "pio"
      ],
      "sources" : [
        "Button.swift",
        "Buzzer.swift",
        "Delay.swift",
        "GPIO.swift",
        "GPIOEventDispatcher.swift",
        "I2C.swift",
        "LED.swift",
        "PWM.swift",
        "Utils/Data+Int.swift",
        "Utils/Int+Data.swift"
      ],
      "target_dependencies" : [
        "Cperiphery"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DownloadCPeriphery",
      "module_type" : "PluginTarget",
      "name" : "DownloadCPeriphery",
      "path" : "Plugins/DownloadCPeriphery",
      "plugin_capability" : {
        "intent" : {
          "description" : "Download c-periphery",
          "type" : "custom",
          "verb" : "download-c-periphery"
        },
        "permissions" : [
          {
            "network_scope" : {
              "all" : {
                "ports" : [
                  443
                ]
              }
            },
            "reason" : "Download packages",
            "type" : "allowNetworkConnections"
          },
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Write packages",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "sources" : [
        "DownloadCPeriphery.swift"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Cperiphery",
      "module_type" : "ClangTarget",
      "name" : "Cperiphery",
      "path" : "Sources/Cperiphery",
      "product_memberships" : [
        "PeripheryKit_static",
        "PeripheryKit_shared",
        "pio"
      ],
      "sources" : [
        "gpio.c",
        "gpio_cdev_v1.c",
        "gpio_cdev_v2.c",
        "gpio_sysfs.c",
        "i2c.c",
        "led.c",
        "mmio.c",
        "pwm.c",
        "serial.c",
        "shims.c",
        "spi.c",
        "version.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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.