Build Information
Failed to build PackageGeneratorCLI with Swift 5.9 for watchOS using Xcode 15.2.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme PackageGeneratorCLI-Package -destination generic/platform=watchos
Build Log
========================================
RunAll
========================================
Builder version: 4.38.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mackoj/PackageGeneratorCLI.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/mackoj/PackageGeneratorCLI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b9ec120 make it code from docc folder
Cloned https://github.com/mackoj/PackageGeneratorCLI.git
Revision (git rev-parse @):
b9ec1206333e0995f38e947ee06707d5407893e6
SUCCESS checkout https://github.com/mackoj/PackageGeneratorCLI.git at main
========================================
Build
========================================
Selected platform: watchOS
Swift version: 5.9
Building package at path: $workDir
https://github.com/mackoj/PackageGeneratorCLI.git
Command line invocation:
/Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/JohnSundell/Files (cached)
Fetching from https://github.com/apple/swift-argument-parser (cached)
Fetching from https://github.com/apple/swift-syntax (cached)
Creating working copy of package ‘Files’
Checking out 4.2.0 of package ‘Files’
Creating working copy of package ‘swift-syntax’
Checking out 510.0.1 of package ‘swift-syntax’
Creating working copy of package ‘swift-argument-parser’
Checking out 1.1.4 of package ‘swift-argument-parser’
Resolve Package Graph
Resolved source packages:
swift-syntax: https://github.com/apple/swift-syntax @ 510.0.1
Files: https://github.com/JohnSundell/Files @ 4.2.0
swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.1.4
PackageGeneratorCLI: /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace
resolved source packages: swift-syntax, Files, swift-argument-parser, PackageGeneratorCLI
objc[77550]: 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 (0x10dbbc0e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x10ecec0e0). One of the two will be used. Which one is undefined.
{
"dependencies" : [
{
"identity" : "files",
"requirement" : {
"range" : [
{
"lower_bound" : "4.2.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/Files.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0",
"upper_bound" : "511.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax"
}
],
"manifest_display_name" : "PackageGeneratorCLI",
"name" : "PackageGeneratorCLI",
"path" : "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "package-generator-cli",
"targets" : [
"PackageGeneratorCLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "PackageGeneratorModels",
"targets" : [
"PackageGeneratorModels"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PackageGeneratorModels",
"module_type" : "SwiftTarget",
"name" : "PackageGeneratorModels",
"path" : "Sources/PackageGeneratorModels",
"product_memberships" : [
"package-generator-cli",
"PackageGeneratorModels"
],
"sources" : [
"PackageInformation.swift",
"ParsedPackage.swift"
],
"type" : "library"
},
{
"c99name" : "PackageGeneratorCLI",
"module_type" : "SwiftTarget",
"name" : "PackageGeneratorCLI",
"path" : "Sources/PackageGeneratorCLI",
"product_dependencies" : [
"Files",
"SwiftParser",
"SwiftSyntax",
"ArgumentParser"
],
"product_memberships" : [
"package-generator-cli"
],
"sources" : [
"FileURL+ExpressibleByArgument.swift",
"FileURLCodable.swift",
"GetImportVisitor.swift",
"cli.swift"
],
"target_dependencies" : [
"PackageGeneratorModels"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"package-generator-cli",
"PackageGeneratorCLI-Package",
"PackageGeneratorModels"
]
}
}
objc[77913]: 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 (0x10d17c0e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x10d3e00e0). 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 PackageGeneratorCLI-Package -destination generic/platform=watchos
Command line invocation:
/Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData build -scheme PackageGeneratorCLI-Package -destination generic/platform=watchos
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
PackageGeneratorCLI: /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace
swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.1.4
swift-syntax: https://github.com/apple/swift-syntax @ 510.0.1
Files: https://github.com/JohnSundell/Files @ 4.2.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (14 targets)
Target 'package-generator-cli' in project 'PackageGeneratorCLI'
➜ Explicit dependency on target 'PackageGeneratorModels' in project 'PackageGeneratorCLI'
➜ Explicit dependency on target 'Files' in project 'Files'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
Target 'ArgumentParser' in project 'swift-argument-parser'
➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
Target 'ArgumentParser' in project 'swift-argument-parser'
➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
Target 'ArgumentParserToolInfo' in project 'swift-argument-parser' (no dependencies)
Target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
Target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
Target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
Target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
Target 'SwiftSyntax510' in project 'swift-syntax' (no dependencies)
Target 'SwiftSyntax509' in project 'swift-syntax' (no dependencies)
Target 'Files' in project 'Files'
➜ Explicit dependency on target 'Files' in project 'Files'
Target 'Files' in project 'Files' (no dependencies)
Target 'PackageGeneratorModels' in project 'PackageGeneratorCLI'
➜ Explicit dependency on target 'PackageGeneratorModels' in project 'PackageGeneratorCLI'
Target 'PackageGeneratorModels' in project 'PackageGeneratorCLI' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 9db242c1b31b541e4f5b5ff6b3264df9
Build description path: /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/9db242c1b31b541e4f5b5ff6b3264df9.xcbuilddata
error: The package product 'SwiftParser' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'package-generator-cli' from project 'PackageGeneratorCLI')
error: The package product 'SwiftSyntax' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'package-generator-cli' from project 'PackageGeneratorCLI')
Resolve Package Graph
objc[77962]: 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 (0x10cd840e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x10eefc0e0). One of the two will be used. Which one is undefined.
** BUILD FAILED **
Command line invocation:
/Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData build -scheme PackageGeneratorCLI-Package -destination generic/platform=watchos
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
PackageGeneratorCLI: /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace
Files: https://github.com/JohnSundell/Files @ 4.2.0
swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.1.4
swift-syntax: https://github.com/apple/swift-syntax @ 510.0.1
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (14 targets)
Target 'package-generator-cli' in project 'PackageGeneratorCLI'
➜ Explicit dependency on target 'PackageGeneratorModels' in project 'PackageGeneratorCLI'
➜ Explicit dependency on target 'Files' in project 'Files'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
Target 'ArgumentParser' in project 'swift-argument-parser'
➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
Target 'ArgumentParser' in project 'swift-argument-parser'
➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
Target 'ArgumentParserToolInfo' in project 'swift-argument-parser' (no dependencies)
Target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
Target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
Target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
Target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
Target 'SwiftSyntax510' in project 'swift-syntax' (no dependencies)
Target 'SwiftSyntax509' in project 'swift-syntax' (no dependencies)
Target 'Files' in project 'Files'
➜ Explicit dependency on target 'Files' in project 'Files'
Target 'Files' in project 'Files' (no dependencies)
Target 'PackageGeneratorModels' in project 'PackageGeneratorCLI'
➜ Explicit dependency on target 'PackageGeneratorModels' in project 'PackageGeneratorCLI'
Target 'PackageGeneratorModels' in project 'PackageGeneratorCLI' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 9db242c1b31b541e4f5b5ff6b3264df9
Build description path: /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/9db242c1b31b541e4f5b5ff6b3264df9.xcbuilddata
error: The package product 'SwiftParser' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'package-generator-cli' from project 'PackageGeneratorCLI')
error: The package product 'SwiftSyntax' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'package-generator-cli' from project 'PackageGeneratorCLI')
objc[78086]: 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 (0x10e1200e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x10e2f00e0). One of the two will be used. Which one is undefined.
** BUILD FAILED **
BUILD FAILURE 5.9 watchOS