Build Information
Failed to build BQ25703A with Swift 5.9 for macOS (Xcode) using Xcode 15.2 at main.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme BQ25703A-Package -destination platform=macos,arch=arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CmST0us/BQ25703A.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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: macosXcodebuild
Swift version: 5.9
Building package at path: $workDir
https://github.com/CmST0us/BQ25703A.git
Command line invocation:
/Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/rensbreur/SwiftTUI.git (cached)
Fetching from https://github.com/CmST0us/PeripheryKit.git
Fetching from https://github.com/apple/swift-syntax.git (cached)
Fetching from https://github.com/apple/swift-mmio.git (cached)
Creating working copy of package ‘PeripheryKit’
Checking out main of package ‘PeripheryKit’
Creating working copy of package ‘swift-syntax’
Checking out 509.1.1 of package ‘swift-syntax’
Creating working copy of package ‘swift-mmio’
Checking out 0.0.2 of package ‘swift-mmio’
Creating working copy of package ‘SwiftTUI’
Checking out main of package ‘SwiftTUI’
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
swift-mmio: https://github.com/apple/swift-mmio.git @ 0.0.2
BQ25703A: /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
SwiftTUI: https://github.com/rensbreur/SwiftTUI.git @ main
swift-syntax: https://github.com/apple/swift-syntax.git @ 509.1.1
PeripheryKit: https://github.com/CmST0us/PeripheryKit.git @ main
resolved source packages: swift-mmio, BQ25703A, SwiftTUI, swift-syntax, PeripheryKit
objc[73007]: Class XROS1_1SimRuntime is implemented in both /Library/Developer/CoreSimulator/Volumes/xrOS_21O209/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x110b5c0e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x1157e00e0). One of the two will be used. Which one is undefined.
{
"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/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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"
]
}
}
objc[74042]: Class XROS1_1SimRuntime is implemented in both /Library/Developer/CoreSimulator/Volumes/xrOS_21O209/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x10f4100e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x10f4240e0). One of the two will be used. Which one is undefined.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme BQ25703A-Package -destination platform=macos,arch=arm64
Command line invocation:
/Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData build -scheme BQ25703A-Package -destination platform=macos,arch=arm64
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
swift-mmio: https://github.com/apple/swift-mmio.git @ 0.0.2
SwiftTUI: https://github.com/rensbreur/SwiftTUI.git @ main
swift-syntax: https://github.com/apple/swift-syntax.git @ 509.1.1
BQ25703A: /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
PeripheryKit: https://github.com/CmST0us/PeripheryKit.git @ main
Prepare packages
Compile plug-in “PeripheryKitCopySysrootHeader” in package “peripherykit”
[debug]: Compiling plugin to executable at /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/plugins/PeripheryKitCopySysrootHeader
[debug]: Using compiler /Applications/Xcode-15.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/plugins'
[debug]: Computed hash of plugin compilation inputs: 4b5e02d268c2ca76e2ec7da57bcdec12be50952cdbb8c3d08650aa3de0a6777c
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/4f/vmvvw7xn07sg3fzsc7v7mmx40000gp/T\")
)
(deny file-write*
(subpath \"/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/checkouts/PeripheryKit\")
)
(allow file-write*
(subpath \"/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/plugins/peripherykit.output/Cperiphery/PeripheryKitCopySysrootHeader\")
)
" /bin/cp -rvf /Library/Developer/Runtimes/swift-5.9-runtime-aarch64-none-linux-gnu/toolchain/aarch64-none-linux-gnu/libc/usr/include /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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
objc[74122]: Class XROS1_1SimRuntime is implemented in both /Library/Developer/CoreSimulator/Volumes/xrOS_21O209/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x10bfe00e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x10c0080e0). One of the two will be used. Which one is undefined.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00008103-0008793E26D2001E }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:00008103-0008793E26D2001E }
{ platform:macOS, arch:arm64, variant:DriverKit, id:00008103-0008793E26D2001E }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008103-0008793E26D2001E }
** BUILD INTERRUPTED **
The following build commands failed:
Apply build tool plug-in “PeripheryKitCopySysrootHeader” to target “Cperiphery” in package “peripherykit”
CopySysrootHeader
eyJibHVlcHJpbnRQcm92aWRlcl9wcm92aWRlckZpbGVQYXRoU3RyaW5nIjoiXC9Vc2Vyc1wvYnVpbGRlclwvYnVpbGRzXC9URG1aa1hKbVwvMVwvZmluZXN0cnVjdHVyZVwvc3dpZnRwYWNrYWdlaW5kZXgtYnVpbGRlclwvc3BpLWJ1aWxkZXItd29ya3NwYWNlIiwidHlwZSI6eyJibHVlcHJpbnRQcm92aWRlciI6e319fQ==
(3 failures)
Command line invocation:
/Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData build -scheme BQ25703A-Package -destination platform=macos,arch=arm64
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
swift-mmio: https://github.com/apple/swift-mmio.git @ 0.0.2
SwiftTUI: https://github.com/rensbreur/SwiftTUI.git @ main
BQ25703A: /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace
PeripheryKit: https://github.com/CmST0us/PeripheryKit.git @ main
swift-syntax: https://github.com/apple/swift-syntax.git @ 509.1.1
Prepare packages
Compile plug-in “PeripheryKitCopySysrootHeader” in package “peripherykit”
[debug]: Compiling plugin to executable at /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/plugins/PeripheryKitCopySysrootHeader
[debug]: Using compiler /Applications/Xcode-15.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/plugins'
[debug]: Computed hash of plugin compilation inputs: 4b5e02d268c2ca76e2ec7da57bcdec12be50952cdbb8c3d08650aa3de0a6777c
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/4f/vmvvw7xn07sg3fzsc7v7mmx40000gp/T\")
)
(deny file-write*
(subpath \"/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/checkouts/PeripheryKit\")
)
(allow file-write*
(subpath \"/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/plugins/peripherykit.output/Cperiphery/PeripheryKitCopySysrootHeader\")
)
" /bin/cp -rvf /Library/Developer/Runtimes/swift-5.9-runtime-aarch64-none-linux-gnu/toolchain/aarch64-none-linux-gnu/libc/usr/include /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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
objc[74225]: Class XROS1_1SimRuntime is implemented in both /Library/Developer/CoreSimulator/Volumes/xrOS_21O209/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x10c1a40e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x10c1b80e0). One of the two will be used. Which one is undefined.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:00008103-0008793E26D2001E }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:00008103-0008793E26D2001E }
{ platform:macOS, arch:arm64, variant:DriverKit, id:00008103-0008793E26D2001E }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008103-0008793E26D2001E }
** BUILD INTERRUPTED **
The following build commands failed:
Apply build tool plug-in “PeripheryKitCopySysrootHeader” to target “Cperiphery” in package “peripherykit”
CopySysrootHeader
eyJibHVlcHJpbnRQcm92aWRlcl9wcm92aWRlckZpbGVQYXRoU3RyaW5nIjoiXC9Vc2Vyc1wvYnVpbGRlclwvYnVpbGRzXC9URG1aa1hKbVwvMVwvZmluZXN0cnVjdHVyZVwvc3dpZnRwYWNrYWdlaW5kZXgtYnVpbGRlclwvc3BpLWJ1aWxkZXItd29ya3NwYWNlIiwidHlwZSI6eyJibHVlcHJpbnRQcm92aWRlciI6e319fQ==
(3 failures)
BUILD FAILURE 5.9 macosXcodebuild