The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PeripheryKit, reference main (a02676), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 18:09:51 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CmST0us/PeripheryKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/CmST0us/PeripheryKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin DownloadCPeriphery
Building for debugging...
[1/24] Write sources
[1/24] Write pio-entitlement.plist
[1/24] Write sources
[4/24] Write swift-version-1EA4D86E10B52AF.txt
[5/24] Compiling Cperiphery version.c
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/shims.c:22:12: error: call to undeclared function 'clock_nanosleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   22 |     while (clock_nanosleep(CLOCK_MONOTONIC, 0, &req, &rem) == -1) {
      |            ^
1 error generated.
[6/24] Compiling Cperiphery shims.c
[6/24] Compiling Cperiphery gpio_cdev_v1.c
[6/24] Compiling Cperiphery mmio.c
[6/24] Compiling Cperiphery gpio_sysfs.c
[6/24] Compiling Cperiphery i2c.c
[6/24] Compiling Cperiphery pwm.c
[6/24] Compiling Cperiphery gpio_cdev_v2.c
[6/24] Compiling Cperiphery spi.c
[6/24] Compiling Cperiphery serial.c
[6/24] Compiling Cperiphery led.c
BUILD FAILURE 6.2 macosSpm