Build Information
Failed to build VDKit with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/VDKit.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/dankinsoid/VDKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/dankinsoid/VDKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/27] Write sources
[22/27] Write swift-version--423B1241ED78D482.txt
[23/39] Compiling VDKitRuntimeObjc _VDDelegateProxy.m
[24/39] Compiling VDKitRuntimeObjc _VD.m
[25/45] Compiling VDKitRuntimeObjc _VDKVOObserver.m
[27/47] Emitting module VDMirror
[27/47] Compiling VDKitRuntimeObjc _VDObjCRuntime.m
[29/49] Compiling VDBuilders SingleBuilder.swift
[30/49] Compiling VDBuilders ComposeBuilder.swift
[31/49] Compiling VDMirror Mirror++.swift
[32/49] Compiling VDBuilders ArrayBuilder.swift
[33/49] Emitting module VDBuilders
[34/49] Compiling VDOptional UnwrapOperator.swift
[35/49] Emitting module VDOptional
[36/93] Emitting module VDKitRuntime
[37/93] Compiling VDKitRuntime Runtime++.swift
[38/95] Compiling UIKitEnvironment UIViewEnvironment.swift
[39/95] Emitting module UIKitEnvironment
[40/95] Compiling VDCommon Range++.swift
[41/95] Compiling VDCommon Result++.swift
[42/97] Compiling VDDates DateFormat.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/DateFormat.swift:98:5: warning: switch must be exhaustive
switch component {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/DateFormat.swift:98:5: note: add missing case: '.isLeapMonth'
switch component {
^
[43/97] Compiling VDCommon Pattern.swift
[44/97] Compiling VDCommon Proxy.swift
[45/97] Emitting module VDCommon
[46/97] Compiling VDCommon OffsetBounds.swift
[47/97] Compiling VDCommon Pair.swift
[48/97] Compiling VDCommon AttributedString++.swift
[49/97] Compiling VDCommon Bool++.swift
[50/97] Compiling VDCommon Clojures.swift
[51/97] Compiling VDCommon Decimal++.swift
[52/97] Compiling VDCommon GetterSetter.swift
[53/97] Compiling VDCommon Lazy.swift
[54/97] Compiling VDCommon Locale++.swift
[55/97] Compiling VDCommon Lock++.swift
[56/97] Compiling WrappedDefaults WrappedDefault.swift
[57/97] Compiling WrappedDefaults UserDefaultsSerializable.swift
[58/97] Compiling WrappedDefaults UserDefaults+Extensions.swift
[59/97] Emitting module WrappedDefaults
[60/97] Compiling VDDates Date++.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/Date++.swift:401:3: warning: switch must be exhaustive
switch component {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/Date++.swift:401:3: note: add missing case: '.isLeapMonth'
switch component {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/Date++.swift:511:9: warning: switch must be exhaustive
switch component {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/Date++.swift:511:9: note: add missing case: '.isLeapMonth'
switch component {
^
[61/97] Emitting module VDDates
[62/97] Compiling VDDates CalendarComponent++.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:29:3: warning: switch must be exhaustive
switch self {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:29:3: note: add missing case: '.isLeapMonth'
switch self {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:61:3: warning: switch must be exhaustive
switch self {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:61:3: note: add missing case: '.isLeapMonth'
switch self {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:83:3: warning: switch must be exhaustive
switch self {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:83:3: note: add missing case: '.isLeapMonth'
switch self {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:119:3: warning: switch must be exhaustive
switch self {
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:119:3: note: add missing case: '.isLeapMonth'
switch self {
^
[63/97] Compiling VDCoreGraphics CGAffineTransform++.swift
[64/97] Compiling VDCommon Collection++.swift
[65/97] Compiling VDCommon CollectionDifference++.swift
[66/97] Compiling VDCommon CopyOnWrite.swift
[67/97] Compiling VDCommon String++.swift
[68/97] Compiling VDCommon Union.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/97] Emitting module EnvironmentStateObject
/Users/builder/builds/UKfvDsi8u/3/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()
^
[70/97] Compiling EnvironmentStateObject EnvironmentStateObject.swift
/Users/builder/builds/UKfvDsi8u/3/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
[71/97] Emitting module BindGeometry
[72/97] Emitting module VDCoreGraphics
[73/97] Compiling VDCoreGraphics CA++.swift
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/29] Compiling VDSwiftUICommon OnFirstAppear.swift
[3/29] Compiling VDSwiftUICommon Popover.swift
[4/29] Compiling VDSwiftUICommon PullToRefresh.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/31] Emitting module EnvironmentStateObject
/Users/builder/builds/UKfvDsi8u/3/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()
^
[6/31] Compiling EnvironmentStateObject EnvironmentStateObject.swift
/Users/builder/builds/UKfvDsi8u/3/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
BUILD FAILURE 5.10 macosSpm