Build Information
Failed to build BQ25703A, reference main (c82efb), with Swift 6.3 for macOS (SPM) on 20 Apr 2026 23:00:13 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CmST0us/BQ25703A.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CmST0us/BQ25703A
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c82efb6 package: add peripherykit for tester register: rename ChargerOption0 to ChargeOption0 register: fix r/w tester: add get charging status and start charging test action
Cloned https://github.com/CmST0us/BQ25703A.git
Revision (git rev-parse @):
c82efb6a0e8a42287ebc8c602c259dd4f204b6c5
SUCCESS checkout https://github.com/CmST0us/BQ25703A.git at main
Fetching https://github.com/rensbreur/SwiftTUI.git
[1/2454] Fetching swifttui
Fetched https://github.com/rensbreur/SwiftTUI.git from cache (1.33s)
Fetching https://github.com/CmST0us/PeripheryKit.git
[1/163] Fetching peripherykit
Fetched https://github.com/CmST0us/PeripheryKit.git from cache (0.66s)
Fetching https://github.com/apple/swift-mmio.git
Fetching https://github.com/apple/swift-syntax.git
[1/4917] Fetching swift-mmio
[4918/79898] Fetching swift-mmio, swift-syntax
Fetched https://github.com/apple/swift-mmio.git from cache (5.26s)
Fetched https://github.com/apple/swift-syntax.git from cache (5.26s)
Computing version for https://github.com/apple/swift-mmio.git
Computed https://github.com/apple/swift-mmio.git at 0.0.2 (6.02s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.76s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/rensbreur/SwiftTUI.git
Working copy of https://github.com/rensbreur/SwiftTUI.git resolved at main (9ae1ac9)
Creating working copy for https://github.com/apple/swift-mmio.git
Working copy of https://github.com/apple/swift-mmio.git resolved at 0.0.2
Creating working copy for https://github.com/CmST0us/PeripheryKit.git
Working copy of https://github.com/CmST0us/PeripheryKit.git resolved at main (3dc804a)
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "bq25703a",
"name": "BQ25703A",
"url": "https://github.com/CmST0us/BQ25703A.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BQ25703A",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-mmio",
"name": "swift-mmio",
"url": "https://github.com/apple/swift-mmio.git",
"version": "0.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-mmio",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.7.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/CmST0us/BQ25703A.git
[1/68] Fetching bq25703a
Fetched https://github.com/CmST0us/BQ25703A.git from cache (0.60s)
Fetching https://github.com/apple/swift-mmio.git from cache
Fetched https://github.com/apple/swift-mmio.git from cache (0.48s)
Computing version for https://github.com/apple/swift-mmio.git
Computed https://github.com/apple/swift-mmio.git at 0.1.1 (1.15s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/17424] Fetching swift-argument-parser
[4357/92405] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.80s)
[10498/74981] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.04s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (6.71s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.75s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/apple/swift-mmio.git
Working copy of https://github.com/apple/swift-mmio.git resolved at 0.1.1
Creating working copy for https://github.com/CmST0us/BQ25703A.git
Working copy of https://github.com/CmST0us/BQ25703A.git resolved at main (c82efb6)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.3.0.123.5-macosx26.4-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.3.0.123.5-macosx26.4-MacroSupport.zip (0.29s)
warning: '.resolve-product-dependencies': dependency 'bq25703a' is not used by any target
Found 1 product dependencies
- swift-mmio
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/CmST0us/BQ25703A.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
error: failed: PrebuildCommand(configuration: SPMBuildCore.BuildToolPluginInvocationResult.CommandConfiguration(displayName: Optional("CopySysrootHeader"), executable: <AbsolutePath:"/bin/cp">, arguments: ["-rvf", "/Library/Developer/Runtimes/swift-5.9-runtime-aarch64-none-linux-gnu/toolchain/aarch64-none-linux-gnu/libc/usr/include", "/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/peripherykit/Cperiphery/destination/PeripheryKitCopySysrootHeader"], environment: [], workingDirectory: nil), outputFilesDirectory: <AbsolutePath:"/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/peripherykit/Cperiphery/destination/PeripheryKitCopySysrootHeader">)
cp: /Library/Developer/Runtimes/swift-5.9-runtime-aarch64-none-linux-gnu/toolchain/aarch64-none-linux-gnu/libc/usr/include: No such file or directory
BUILD FAILURE 6.3 macosSpm