Build Information
Failed to build PackageGeneratorCLI with Swift 5.10 for watchOS using Xcode 15.4.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.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: 0.5.2
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/mackoj/PackageGeneratorCLI
* tag 0.5.2 -> FETCH_HEAD
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 0.5.2
========================================
Build
========================================
Selected platform: watchOS
Swift version: 5.10
Building package at path: $workDir
https://github.com/mackoj/PackageGeneratorCLI.git
Command line invocation:
/Applications/Xcode-15.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/builder/builds/TDmZkXJm/2/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)
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/repositories/swift-argument-parser-54a11a8d is not valid git repository for 'https://github.com/apple/swift-argument-parser', will fetch again.Fetching from https://github.com/apple/swift-argument-parser (cached)
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/repositories/swift-argument-parser-54a11a8d is not valid git repository for 'https://github.com/apple/swift-argument-parser', will fetch again.Fetching from https://github.com/apple/swift-argument-parser (cached)
Creating working copy of package ‘swift-argument-parser’
Checking out 1.1.4 of package ‘swift-argument-parser’
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/repositories/Files-065eb39a is not valid git repository for 'https://github.com/JohnSundell/Files', will fetch again.Fetching from https://github.com/JohnSundell/Files (cached)
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/repositories/Files-065eb39a is not valid git repository for 'https://github.com/JohnSundell/Files', will fetch again.Fetching from https://github.com/JohnSundell/Files (cached)
Creating working copy of package ‘Files’
Checking out 4.2.0 of package ‘Files’
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/repositories/swift-syntax-463e60c9 is not valid git repository for 'https://github.com/apple/swift-syntax', will fetch again.Fetching from https://github.com/apple/swift-syntax (cached)
/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies/repositories/swift-syntax-463e60c9 is not valid git repository for 'https://github.com/apple/swift-syntax', will fetch again.Fetching from https://github.com/apple/swift-syntax (cached)
Creating working copy of package ‘swift-syntax’
Checking out 510.0.1 of package ‘swift-syntax’
Resolved source packages:
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
PackageGeneratorCLI: /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace
resolved source packages: Files, swift-argument-parser, swift-syntax, PackageGeneratorCLI
objc[41067]: 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 (0x10f01c0e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x10fbc80e0). 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/TDmZkXJm/2/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[41699]: 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 (0x110ee40e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x1113d40e0). One of the two will be used. Which one is undefined.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.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.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData build -scheme PackageGeneratorCLI-Package -destination generic/platform=watchos
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
swift-syntax: https://github.com/apple/swift-syntax @ 510.0.1
PackageGeneratorCLI: /Users/builder/builds/TDmZkXJm/2/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
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
ExecuteExternalTool /Applications/Xcode-15.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /Applications/Xcode-15.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /bin/cat /Applications/Xcode-15.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: d034eca53befad7b7b534279ae5cb95f
Build description path: /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d034eca53befad7b7b534279ae5cb95f.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[41736]: 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 (0x10f8940e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x11238c0e0). One of the two will be used. Which one is undefined.
** BUILD FAILED **
Command line invocation:
/Applications/Xcode-15.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData build -scheme PackageGeneratorCLI-Package -destination generic/platform=watchos
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
swift-syntax: https://github.com/apple/swift-syntax @ 510.0.1
PackageGeneratorCLI: /Users/builder/builds/TDmZkXJm/2/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
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
ExecuteExternalTool /Applications/Xcode-15.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /Applications/Xcode-15.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /bin/cat /Applications/Xcode-15.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: d034eca53befad7b7b534279ae5cb95f
Build description path: /Users/builder/builds/TDmZkXJm/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d034eca53befad7b7b534279ae5cb95f.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[41824]: 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 (0x1118200e0) and /Library/Developer/CoreSimulator/Volumes/xrOS_21O5181e/Library/Developer/CoreSimulator/Profiles/Runtimes/xrOS 1.1.simruntime/Contents/MacOS/xrOS 1.1 (0x1118340e0). One of the two will be used. Which one is undefined.
** BUILD FAILED **
BUILD FAILURE 5.10 watchOS