Build Information
Failed to build BQ25703A with Swift 6.0 for visionOS using Xcode 16.0.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme BQ25703A-Package -destination generic/platform=xros OTHER_SWIFT_FLAGS=-stats-output-dir .stats -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: visionOS
Swift version: 6.0
Building package at path: $workDir
https://github.com/CmST0us/BQ25703A.git
Command line invocation:
/Applications/Xcode-15.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEPackageSupportToolchainOverrideForManifestLoading = org.swift.600202405261a
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
TOOLCHAINS = org.swift.600202405261a
Resolve Package Graph
Fetching from https://github.com/rensbreur/SwiftTUI.git
Fetching from https://github.com/CmST0us/PeripheryKit.git
Fetching from https://github.com/apple/swift-syntax.git
Fetching from https://github.com/apple/swift-mmio.git
Creating working copy of package ‘SwiftTUI’
Checking out main (9ae1ac9) of package ‘SwiftTUI’
Creating working copy of package ‘swift-mmio’
Checking out 0.0.2 of package ‘swift-mmio’
Creating working copy of package ‘swift-syntax’
Checking out 509.1.1 of package ‘swift-syntax’
Creating working copy of package ‘PeripheryKit’
Checking out main (3dc804a) of package ‘PeripheryKit’
Resolved source packages:
PeripheryKit: https://github.com/CmST0us/PeripheryKit.git @ main (3dc804a)
BQ25703A: /Users/admin/builder/spi-builder-workspace
swift-syntax: https://github.com/apple/swift-syntax.git @ 509.1.1
swift-mmio: https://github.com/apple/swift-mmio.git @ 0.0.2
SwiftTUI: https://github.com/rensbreur/SwiftTUI.git @ main (9ae1ac9)
resolved source packages: PeripheryKit, BQ25703A, swift-syntax, swift-mmio, SwiftTUI
{
"dependencies" : [
{
"identity" : "swift-mmio",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-mmio.git"
},
{
"identity" : "swifttui",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/rensbreur/SwiftTUI.git"
},
{
"identity" : "peripherykit",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/CmST0us/PeripheryKit.git"
}
],
"manifest_display_name" : "BQ25703A",
"name" : "BQ25703A",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "BQ25703A",
"targets" : [
"BQ25703A"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Tester",
"targets" : [
"Tester"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Tester",
"module_type" : "SwiftTarget",
"name" : "Tester",
"path" : "Sources/Tester",
"product_dependencies" : [
"SwiftTUI",
"PeripheryKit"
],
"product_memberships" : [
"Tester"
],
"sources" : [
"Data+Hex.swift",
"main.swift"
],
"target_dependencies" : [
"BQ25703A"
],
"type" : "executable"
},
{
"c99name" : "BQ25703A",
"module_type" : "SwiftTarget",
"name" : "BQ25703A",
"path" : "Sources/BQ25703A",
"product_dependencies" : [
"MMIO"
],
"product_memberships" : [
"BQ25703A",
"Tester"
],
"sources" : [
"ADCIBAT.swift",
"ADCIINCMPIN.swift",
"ADCOption.swift",
"ADCVBUS_PSYS.swift",
"ADCVSYSVBAT.swift",
"ChargeOption0.swift",
"ChargeOption1.swift",
"ChargeOption2.swift",
"ChargeOption3.swift",
"ChargerCurrent.swift",
"ChargerStatus.swift",
"DeviceID.swift",
"IIN_DPM.swift",
"IIN_HOST.swift",
"InputVoltage.swift",
"MMIO+Projectable.swift",
"ManufacturerID.swift",
"MaxChargeVoltage.swift",
"MinSystemVoltage.swift",
"OTGCurrent.swift",
"OTGVoltage.swift",
"ProchotOption0.swift",
"ProchotOption1.swift",
"ProchotStatus.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"BQ25703A",
"BQ25703A-Package",
"Tester"
]
}
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"BQ25703A",
"BQ25703A-Package",
"Tester"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme BQ25703A-Package -destination generic/platform=xros OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
/Applications/Xcode-15.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme BQ25703A-Package -destination generic/platform=xros "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportToolchainOverrideForManifestLoading = org.swift.600202405261a
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
TOOLCHAINS = org.swift.600202405261a
Resolve Package Graph
Resolved source packages:
swift-syntax: https://github.com/apple/swift-syntax.git @ 509.1.1
BQ25703A: /Users/admin/builder/spi-builder-workspace
swift-mmio: https://github.com/apple/swift-mmio.git @ 0.0.2
PeripheryKit: https://github.com/CmST0us/PeripheryKit.git @ main (3dc804a)
SwiftTUI: https://github.com/rensbreur/SwiftTUI.git @ main (9ae1ac9)
Prepare packages
Compile plug-in “PeripheryKitCopySysrootHeader” in package “peripherykit”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/PeripheryKitCopySysrootHeader
[debug]: Using compiler /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builder/spi-builder-workspace/.dependencies/plugins'
[debug]: Computed hash of plugin compilation inputs: e474114f38b65ec1b52163bfbe067653fb3653db204053d807308ad98a43fdb6
Apply build tool plug-in “PeripheryKitCopySysrootHeader” to target “Cperiphery” in package “peripherykit”
/usr/bin/sandbox-exec -p "(version 1)
(deny default)
(import \"system.sb\")
(allow file-read*)
(allow process*)
(allow mach-lookup (global-name \"com.apple.lsd.mapdb\"))
(allow file-write*
(subpath \"/private/tmp\")
(subpath \"/private/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T\")
)
(deny file-write*
(subpath \"/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/PeripheryKit\")
)
(allow file-write*
(subpath \"/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/peripherykit.output/Cperiphery/PeripheryKitCopySysrootHeader\")
(subpath \"/private/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/TemporaryItems/NSIRD_xcodebuild_M8yEE3\")
(subpath \"/private/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/TemporaryItems\")
)
" /bin/cp -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/.dependencies/plugins/peripherykit.output/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
Resolve Package Graph
** BUILD INTERRUPTED **
The following build commands failed:
Apply build tool plug-in “PeripheryKitCopySysrootHeader” to target “Cperiphery” in package “peripherykit”
CopySysrootHeader
eyJibHVlcHJpbnRQcm92aWRlcl9wcm92aWRlckZpbGVQYXRoU3RyaW5nIjoiXC9Vc2Vyc1wvYWRtaW5cL2J1aWxkZXJcL3NwaS1idWlsZGVyLXdvcmtzcGFjZSIsInR5cGUiOnsiYmx1ZXByaW50UHJvdmlkZXIiOnt9fX0=
(3 failures)
Command line invocation:
/Applications/Xcode-15.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme BQ25703A-Package -destination generic/platform=xros "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportToolchainOverrideForManifestLoading = org.swift.600202405261a
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
TOOLCHAINS = org.swift.600202405261a
Resolve Package Graph
Resolved source packages:
SwiftTUI: https://github.com/rensbreur/SwiftTUI.git @ main (9ae1ac9)
swift-syntax: https://github.com/apple/swift-syntax.git @ 509.1.1
swift-mmio: https://github.com/apple/swift-mmio.git @ 0.0.2
BQ25703A: /Users/admin/builder/spi-builder-workspace
PeripheryKit: https://github.com/CmST0us/PeripheryKit.git @ main (3dc804a)
Prepare packages
Compile plug-in “PeripheryKitCopySysrootHeader” in package “peripherykit”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/PeripheryKitCopySysrootHeader
[debug]: Using compiler /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builder/spi-builder-workspace/.dependencies/plugins'
[debug]: Computed hash of plugin compilation inputs: e474114f38b65ec1b52163bfbe067653fb3653db204053d807308ad98a43fdb6
Apply build tool plug-in “PeripheryKitCopySysrootHeader” to target “Cperiphery” in package “peripherykit”
/usr/bin/sandbox-exec -p "(version 1)
(deny default)
(import \"system.sb\")
(allow file-read*)
(allow process*)
(allow mach-lookup (global-name \"com.apple.lsd.mapdb\"))
(allow file-write*
(subpath \"/private/tmp\")
(subpath \"/private/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T\")
)
(deny file-write*
(subpath \"/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/PeripheryKit\")
)
(allow file-write*
(subpath \"/Users/admin/builder/spi-builder-workspace/.dependencies/plugins/peripherykit.output/Cperiphery/PeripheryKitCopySysrootHeader\")
(subpath \"/private/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/TemporaryItems\")
(subpath \"/private/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/TemporaryItems/NSIRD_xcodebuild_4HuqLV\")
)
" /bin/cp -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/.dependencies/plugins/peripherykit.output/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 INTERRUPTED **
The following build commands failed:
Apply build tool plug-in “PeripheryKitCopySysrootHeader” to target “Cperiphery” in package “peripherykit”
CopySysrootHeader
eyJibHVlcHJpbnRQcm92aWRlcl9wcm92aWRlckZpbGVQYXRoU3RyaW5nIjoiXC9Vc2Vyc1wvYWRtaW5cL2J1aWxkZXJcL3NwaS1idWlsZGVyLXdvcmtzcGFjZSIsInR5cGUiOnsiYmx1ZXByaW50UHJvdmlkZXIiOnt9fX0=
(3 failures)
BUILD FAILURE 6.0 visionOS