Build Information
Failed to build OSLogging 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 OSLogging -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/Alexander-Ignition/OSLogging.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Alexander-Ignition/OSLogging
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2370acd Support only Apple platforms
Cloned https://github.com/Alexander-Ignition/OSLogging.git
Revision (git rev-parse @):
2370acda786974f59d1726c4662620b9d036a817
SUCCESS checkout https://github.com/Alexander-Ignition/OSLogging.git at master
========================================
Build
========================================
Selected platform: watchOS
Swift version: 6.0
Building package at path: $workDir
https://github.com/Alexander-Ignition/OSLogging.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-log.git
Creating working copy of package ‘swift-log’
Checking out 1.1.1 of package ‘swift-log’
Resolved source packages:
OSLogging: /Users/admin/builder/spi-builder-workspace
swift-log: https://github.com/apple/swift-log.git @ 1.1.1
resolved source packages: OSLogging, swift-log
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "OSLogging",
"name" : "OSLogging",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "OSLogging",
"targets" : [
"OSLogging"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OSLogging",
"module_type" : "SwiftTarget",
"name" : "OSLogging",
"path" : "Sources/OSLogging",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"OSLogging"
],
"sources" : [
"OSLogHandler.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"OSLogging"
]
}
}
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 OSLogging -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 OSLogging -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:
OSLogging: /Users/admin/builder/spi-builder-workspace
swift-log: https://github.com/apple/swift-log.git @ 1.1.1
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
Target 'OSLogging' in project 'OSLogging'
➜ Explicit dependency on target 'OSLogging' in project 'OSLogging'
➜ Explicit dependency on target 'Logging' in project 'swift-log'
Target 'OSLogging' in project 'OSLogging'
➜ Explicit dependency on target 'Logging' in project 'swift-log'
Target 'Logging' in project 'swift-log'
➜ Explicit dependency on target 'Logging' in project 'swift-log'
Target 'Logging' in project 'swift-log' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
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
Build description signature: a2966a94f8380742bd66b42e5fe586a5
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/a2966a94f8380742bd66b42e5fe586a5.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 'OSLogging' from project 'OSLogging')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Logging' from project 'swift-log')
error: The package product 'Logging' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'OSLogging' from project 'OSLogging')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'OSLogging' from project 'OSLogging')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Logging' from project 'swift-log')
** 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 OSLogging -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:
swift-log: https://github.com/apple/swift-log.git @ 1.1.1
OSLogging: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
Target 'OSLogging' in project 'OSLogging'
➜ Explicit dependency on target 'OSLogging' in project 'OSLogging'
➜ Explicit dependency on target 'Logging' in project 'swift-log'
Target 'OSLogging' in project 'OSLogging'
➜ Explicit dependency on target 'Logging' in project 'swift-log'
Target 'Logging' in project 'swift-log'
➜ Explicit dependency on target 'Logging' in project 'swift-log'
Target 'Logging' in project 'swift-log' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
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
Build description signature: a2966a94f8380742bd66b42e5fe586a5
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/a2966a94f8380742bd66b42e5fe586a5.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 'Logging' from project 'swift-log')
error: The package product 'Logging' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'OSLogging' from project 'OSLogging')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'OSLogging' from project 'OSLogging')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'Logging' from project 'swift-log')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'OSLogging' from project 'OSLogging')
** BUILD FAILED **
BUILD FAILURE 6.0 watchOS