This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 BQ25703A with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /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/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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/CmST0us/BQ25703A.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/rensbreur/SwiftTUI.git
[1/2298] Fetching swifttui
Fetched https://github.com/rensbreur/SwiftTUI.git from cache (0.48s)
Fetching https://github.com/CmST0us/PeripheryKit.git
[1/150] Fetching peripherykit
Fetched https://github.com/CmST0us/PeripheryKit.git from cache (0.26s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-mmio.git
[1/2208] Fetching swift-mmio
Computing version for https://github.com/apple/swift-mmio.git
Fetched https://github.com/apple/swift-mmio.git from cache (0.58s)
[1/60887] Fetching swift-syntax
Computed https://github.com/apple/swift-mmio.git at 0.0.2 (1.02s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.07s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.71s)
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/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)
Creating working copy for https://github.com/rensbreur/SwiftTUI.git
Working copy of https://github.com/rensbreur/SwiftTUI.git resolved at main (9ae1ac9)
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", "/host/spi-builder-workspace/.build/plugins/outputs/peripherykit/Cperiphery/PeripheryKitCopySysrootHeader"], environment: [:], workingDirectory: nil), outputFilesDirectory: <AbsolutePath:"/host/spi-builder-workspace/.build/plugins/outputs/peripherykit/Cperiphery/PeripheryKitCopySysrootHeader">)
/bin/cp: cannot stat '/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 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.