Build Information
Failed to build VDKit with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.28.6
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/VDKit.git
Reference: 1.197.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/dankinsoid/VDKit
* tag 1.197.0 -> FETCH_HEAD
HEAD is now at 479b079 1.197.0
Cloned https://github.com/dankinsoid/VDKit.git
Revision (git rev-parse @):
479b079ef914ce3b01bb1f8a40891ac6e0b09982
SUCCESS checkout https://github.com/dankinsoid/VDKit.git at 1.197.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "vdkit",
"name": "VDKit",
"url": "https://github.com/dankinsoid/VDKit.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/VDKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/dankinsoid/VDKit.git from cache
Fetched https://github.com/dankinsoid/VDKit.git (0.33s)
Creating working copy for https://github.com/dankinsoid/VDKit.git
Working copy of https://github.com/dankinsoid/VDKit.git resolved at 1.197.0
warning: '.resolve-product-dependencies': dependency 'vdkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
https://github.com/dankinsoid/VDKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/16] Compiling VDKitRuntimeObjc _VDDelegateProxy.m
[2/16] Emitting module VDMirror
[2/20] Compiling VDKitRuntimeObjc _VDKVOObserver.m
[3/20] Compiling VDKitRuntimeObjc _VD.m
[4/24] Compiling VDKitRuntimeObjc _VDObjCRuntime.m
[6/26] Compiling VDBuilders SingleBuilder.swift
[7/26] Compiling VDBuilders ComposeBuilder.swift
[8/26] Compiling VDMirror Mirror++.swift
[9/26] Emitting module VDOptional
[10/26] Compiling VDOptional UnwrapOperator.swift
[11/26] Compiling VDBuilders ArrayBuilder.swift
[12/26] Emitting module VDBuilders
[13/26] Compiling VDKitRuntime Runtime++.swift
[14/26] Emitting module VDKitRuntime
[15/72] Compiling UIKitEnvironment UIViewEnvironment.swift
[16/72] Emitting module UIKitEnvironment
[17/72] Compiling WrappedDefaults UserDefaults+Extensions.swift
[18/72] Compiling VDDates DateFormat.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/DateFormat.swift:98:5: warning: switch must be exhaustive
switch component {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/DateFormat.swift:98:5: note: add missing case: '.isLeapMonth'
switch component {
^
[19/72] Emitting module VDDates
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/72] Emitting module VDSwiftUICommon
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/StateSubject.swift:35:3: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject private var object = Object()
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/StateSubject.swift:59:22: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
public func receive<S>(subscriber: S) where S : Subscriber, Failure == S.Failure, Output == S.Input {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/StateSubject.swift:17:28: note: 'S' previously declared here
public struct StateSubject<S: Subject>: DynamicProperty, Publisher where S.Failure == Never {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/StateSubject.swift:109:3: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject private var object = Object()
^
[21/74] Compiling VDCommon Pattern.swift
[22/74] Compiling VDCommon Proxy.swift
[23/76] Compiling VDDates Date++.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/Date++.swift:401:3: warning: switch must be exhaustive
switch component {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/Date++.swift:401:3: note: add missing case: '.isLeapMonth'
switch component {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/Date++.swift:511:9: warning: switch must be exhaustive
switch component {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/Date++.swift:511:9: note: add missing case: '.isLeapMonth'
switch component {
^
[24/76] Compiling VDDates CalendarComponent++.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:29:3: warning: switch must be exhaustive
switch self {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:29:3: note: add missing case: '.isLeapMonth'
switch self {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:61:3: warning: switch must be exhaustive
switch self {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:61:3: note: add missing case: '.isLeapMonth'
switch self {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:83:3: warning: switch must be exhaustive
switch self {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:83:3: note: add missing case: '.isLeapMonth'
switch self {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:119:3: warning: switch must be exhaustive
switch self {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:119:3: note: add missing case: '.isLeapMonth'
switch self {
^
[25/76] Compiling VDCommon Range++.swift
[26/76] Compiling VDCommon Result++.swift
[27/76] Emitting module VDCommon
[28/76] Compiling WrappedDefaults WrappedDefault.swift
[29/76] Emitting module WrappedDefaults
[30/76] Compiling WrappedDefaults UserDefaultsSerializable.swift
[31/76] Compiling VDCommon OffsetBounds.swift
[32/76] Compiling VDCommon Pair.swift
[33/76] Compiling VDCommon Decimal++.swift
[34/76] Compiling VDCommon GetterSetter.swift
[35/76] Compiling VDCommon Lazy.swift
[36/76] Compiling VDCommon Collection++.swift
[37/76] Compiling VDCommon CollectionDifference++.swift
[38/76] Compiling VDCommon CopyOnWrite.swift
[39/76] Compiling VDCommon AttributedString++.swift
[40/76] Compiling VDCommon Bool++.swift
[41/76] Compiling VDCommon Clojures.swift
[42/76] Compiling VDCommon Locale++.swift
[43/76] Compiling VDCommon Lock++.swift
[44/76] Compiling VDCommon String++.swift
[45/76] Compiling VDCommon Union.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/76] Emitting module EnvironmentStateObject
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI/EnvironmentStateObject/EnvironmentStateObject.swift:13:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject private var object = Object()
^
[47/76] Compiling EnvironmentStateObject EnvironmentStateObject.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI/EnvironmentStateObject/EnvironmentStateObject.swift:13:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject private var object = Object()
^
error: fatalError
[48/76] Emitting module BindGeometry
[49/76] Compiling VDCoreGraphics CA++.swift
[50/76] Compiling VDCoreGraphics CGAffineTransform++.swift
[51/76] Emitting module VDCoreGraphics
[0/1] Planning build
Building for debugging...
[1/30] Emitting module VDCoreGraphics
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/30] Emitting module VDSwiftUICommon
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/StateSubject.swift:35:3: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject private var object = Object()
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/StateSubject.swift:59:22: warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
public func receive<S>(subscriber: S) where S : Subscriber, Failure == S.Failure, Output == S.Input {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/StateSubject.swift:17:28: note: 'S' previously declared here
public struct StateSubject<S: Subject>: DynamicProperty, Publisher where S.Failure == Never {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/StateSubject.swift:109:3: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject private var object = Object()
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/32] Emitting module EnvironmentStateObject
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI/EnvironmentStateObject/EnvironmentStateObject.swift:13:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject private var object = Object()
^
[4/32] Compiling EnvironmentStateObject EnvironmentStateObject.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUI/EnvironmentStateObject/EnvironmentStateObject.swift:13:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject private var object = Object()
^
error: fatalError
[5/32] Compiling VDSwiftUICommon TextAlignment++.swift
[6/32] Compiling VDSwiftUICommon UIGestures.swift
[7/32] Compiling VDSwiftUICommon View++.swift
[8/32] Compiling VDCoreGraphics CGAffineTransform++.swift
[9/32] Emitting module BindGeometry
BUILD FAILURE 5.9 macosSpm