The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PeripheryKit, reference main (a02676), with Swift 5.10 for macOS (SPM) on 2 Jul 2024 10:20:18 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.44.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "peripherykit",
      "name": "PeripheryKit",
      "url": "https://github.com/CmST0us/PeripheryKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PeripheryKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/CmST0us/PeripheryKit.git
[1/163] Fetching peripherykit
Fetched https://github.com/CmST0us/PeripheryKit.git from cache (1.21s)
Creating working copy for https://github.com/CmST0us/PeripheryKit.git
Working copy of https://github.com/CmST0us/PeripheryKit.git resolved at main (a02676d)
warning: '.resolve-product-dependencies': dependency 'peripherykit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/CmST0us/PeripheryKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin DownloadCPeriphery
Building for debugging...
[1/24] Write swift-version-33747A42983211AE.txt
[2/24] Write sources
[3/24] Write pio-entitlement.plist
[3/24] Write sources
[5/24] Compiling Cperiphery version.c
[6/24] Compiling Cperiphery led.c
[7/24] Compiling Cperiphery gpio.c
/Users/admin/builder/spi-builder-workspace/Sources/Cperiphery/i2c.c:20:10: fatal error: 'linux/i2c.h' file not found
#include <linux/i2c.h>
         ^~~~~~~~~~~~~
1 error generated.
[8/24] Compiling Cperiphery i2c.c
[8/24] Compiling Cperiphery gpio_sysfs.c
[8/24] Compiling Cperiphery serial.c
[8/24] Compiling Cperiphery gpio_cdev_v1.c
[8/24] Compiling Cperiphery shims.c
[8/24] Compiling Cperiphery pwm.c
[8/24] Compiling Cperiphery gpio_cdev_v2.c
[8/24] Compiling Cperiphery spi.c
[8/24] Compiling Cperiphery mmio.c
BUILD FAILURE 5.10 macosSpm