Build Information
Failed to build Upstash with Swift 6.0 for watchOS 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 Upstash -destination generic/platform=watchos 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/swift-cloud/Upstash.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-cloud/Upstash
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2a548ea Refactor redis file
Cloned https://github.com/swift-cloud/Upstash.git
Revision (git rev-parse @):
2a548ea6f3474777606ed65a5d7d4bcf83c83f5b
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/swift-cloud/Upstash.git at main
========================================
Build
========================================
Selected platform: watchOS
Swift version: 6.0
Building package at path: $workDir
https://github.com/swift-cloud/Upstash.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/apple/swift-crypto
Fetching from https://github.com/flight-school/anycodable
Fetching from https://github.com/swift-cloud/Compute
Creating working copy of package ‘Compute’
Checking out 2.17.0 of package ‘Compute’
Creating working copy of package ‘anycodable’
Checking out 0.6.7 of package ‘anycodable’
Creating working copy of package ‘swift-crypto’
Checking out 2.5.0 of package ‘swift-crypto’
Resolved source packages:
Upstash: /Users/admin/builder/spi-builder-workspace
AnyCodable: https://github.com/flight-school/anycodable @ 0.6.7
swift-crypto: https://github.com/apple/swift-crypto @ 2.5.0
Compute: https://github.com/swift-cloud/Compute @ 2.17.0
resolved source packages: Upstash, AnyCodable, swift-crypto, Compute
{
"dependencies" : [
{
"identity" : "compute",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-cloud/Compute"
},
{
"identity" : "anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.7",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/flight-school/anycodable"
}
],
"manifest_display_name" : "Upstash",
"name" : "Upstash",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "Upstash",
"targets" : [
"Upstash"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Upstash",
"module_type" : "SwiftTarget",
"name" : "Upstash",
"path" : "Sources/Upstash",
"product_dependencies" : [
"Compute",
"AnyCodable"
],
"product_memberships" : [
"Upstash"
],
"sources" : [
"Redis/RedisClient.swift",
"Redis/RedisCommand.swift",
"Redis/RedisError.swift",
"Redis/RedisResponse.swift",
"Redis/RedisResult.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"Upstash"
]
}
}
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 Upstash -destination generic/platform=watchos 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 Upstash -destination generic/platform=watchos "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:
AnyCodable: https://github.com/flight-school/anycodable @ 0.6.7
Compute: https://github.com/swift-cloud/Compute @ 2.17.0
Upstash: /Users/admin/builder/spi-builder-workspace
swift-crypto: https://github.com/apple/swift-crypto @ 2.5.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (9 targets)
Target 'Upstash' in project 'Upstash'
➜ Explicit dependency on target 'Upstash' in project 'Upstash'
➜ Explicit dependency on target 'Compute' in project 'Compute'
➜ Explicit dependency on target 'AnyCodable' in project 'AnyCodable'
Target 'Upstash' in project 'Upstash'
➜ Explicit dependency on target 'Compute' in project 'Compute'
➜ Explicit dependency on target 'AnyCodable' in project 'AnyCodable'
Target 'AnyCodable' in project 'AnyCodable'
➜ Explicit dependency on target 'AnyCodable' in project 'AnyCodable'
Target 'AnyCodable' in project 'AnyCodable' (no dependencies)
Target 'Compute' in project 'Compute'
➜ Explicit dependency on target 'Compute' in project 'Compute'
➜ Explicit dependency on target 'ComputeRuntime' in project 'Compute'
➜ Explicit dependency on target 'Crypto' in project 'swift-crypto'
Target 'Compute' in project 'Compute'
➜ Explicit dependency on target 'ComputeRuntime' in project 'Compute'
➜ Explicit dependency on target 'Crypto' in project 'swift-crypto'
Target 'Crypto' in project 'swift-crypto'
➜ Explicit dependency on target 'Crypto' in project 'swift-crypto'
Target 'Crypto' in project 'swift-crypto' (no dependencies)
Target 'ComputeRuntime' in project 'Compute' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -x c -c /dev/null
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.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 /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -x c -c /dev/null
Build description signature: 90153e8680d3f3a11e397798bb4af94e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/90153e8680d3f3a11e397798bb4af94e.xcbuilddata
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'.
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'ComputeRuntime' from project 'Compute')
error: The package product 'Compute' requires minimum platform version 9.0 for the watchOS platform, but this target supports 7.0 (in target 'Upstash' from project 'Upstash')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Upstash' from project 'Upstash')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Upstash' from project 'Upstash')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'AnyCodable' from project 'AnyCodable')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'AnyCodable' from project 'AnyCodable')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Crypto' from project 'swift-crypto')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Crypto' from project 'swift-crypto')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Compute' from project 'Compute')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Compute' from project 'Compute')
** BUILD FAILED **
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 Upstash -destination generic/platform=watchos "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:
AnyCodable: https://github.com/flight-school/anycodable @ 0.6.7
Compute: https://github.com/swift-cloud/Compute @ 2.17.0
swift-crypto: https://github.com/apple/swift-crypto @ 2.5.0
Upstash: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (9 targets)
Target 'Upstash' in project 'Upstash'
➜ Explicit dependency on target 'Upstash' in project 'Upstash'
➜ Explicit dependency on target 'Compute' in project 'Compute'
➜ Explicit dependency on target 'AnyCodable' in project 'AnyCodable'
Target 'Upstash' in project 'Upstash'
➜ Explicit dependency on target 'Compute' in project 'Compute'
➜ Explicit dependency on target 'AnyCodable' in project 'AnyCodable'
Target 'AnyCodable' in project 'AnyCodable'
➜ Explicit dependency on target 'AnyCodable' in project 'AnyCodable'
Target 'AnyCodable' in project 'AnyCodable' (no dependencies)
Target 'Compute' in project 'Compute'
➜ Explicit dependency on target 'Compute' in project 'Compute'
➜ Explicit dependency on target 'ComputeRuntime' in project 'Compute'
➜ Explicit dependency on target 'Crypto' in project 'swift-crypto'
Target 'Compute' in project 'Compute'
➜ Explicit dependency on target 'ComputeRuntime' in project 'Compute'
➜ Explicit dependency on target 'Crypto' in project 'swift-crypto'
Target 'Crypto' in project 'swift-crypto'
➜ Explicit dependency on target 'Crypto' in project 'swift-crypto'
Target 'Crypto' in project 'swift-crypto' (no dependencies)
Target 'ComputeRuntime' in project 'Compute' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -x c -c /dev/null
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.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 /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -x c -c /dev/null
Build description signature: 90153e8680d3f3a11e397798bb4af94e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/90153e8680d3f3a11e397798bb4af94e.xcbuilddata
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'.
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'AnyCodable' from project 'AnyCodable')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Crypto' from project 'swift-crypto')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Compute' from project 'Compute')
error: The package product 'Compute' requires minimum platform version 9.0 for the watchOS platform, but this target supports 7.0 (in target 'Upstash' from project 'Upstash')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Upstash' from project 'Upstash')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Compute' from project 'Compute')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'AnyCodable' from project 'AnyCodable')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'ComputeRuntime' from project 'Compute')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Upstash' from project 'Upstash')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Crypto' from project 'swift-crypto')
** BUILD FAILED **
BUILD FAILURE 6.0 watchOS