Build Information
Failed to build BQ25703A with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/CmST0us/BQ25703A.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Fetching https://github.com/rensbreur/SwiftTUI.git
[1/2298] Fetching swifttui
Fetched https://github.com/rensbreur/SwiftTUI.git from cache (1.37s)
Fetching https://github.com/CmST0us/PeripheryKit.git
[1/150] Fetching peripherykit
Fetched https://github.com/CmST0us/PeripheryKit.git from cache (0.82s)
Fetching https://github.com/apple/swift-mmio.git
Fetching https://github.com/apple/swift-syntax.git
[1/2208] Fetching swift-mmio
[2209/63145] Fetching swift-mmio, swift-syntax
Fetched https://github.com/apple/swift-mmio.git from cache (3.13s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.13s)
Computing version for https://github.com/apple/swift-mmio.git
Computed https://github.com/apple/swift-mmio.git at 0.0.2 (0.76s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.79s)
Creating working copy for https://github.com/CmST0us/PeripheryKit.git
Working copy of https://github.com/CmST0us/PeripheryKit.git resolved at main (3dc804a)
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
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/PeripheryKitCopySysrootHeader"], environment: [:], workingDirectory: nil), outputFilesDirectory: <AbsolutePath:"/Users/admin/builder/spi-builder-workspace/.build/plugins/outputs/peripherykit/Cperiphery/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.0 macosSpm