Build Information
Failed to build VDKit with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/VDKit.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/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
========================================
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
[1/2876] Fetching vdkit
Fetched https://github.com/dankinsoid/VDKit.git (0.36s)
Creating working copy for https://github.com/dankinsoid/VDKit.git
Working copy of https://github.com/dankinsoid/VDKit.git resolved at master
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/16] Compiling VDKitRuntimeObjc _VDDelegateProxy.m
[1/16] Compiling VDKitRuntimeObjc _VD.m
[2/22] Compiling VDKitRuntimeObjc _VDKVOObserver.m
[3/22] Compiling VDKitRuntimeObjc _VDObjCRuntime.m
[5/26] Compiling VDBuilders SingleBuilder.swift
[6/26] Compiling VDBuilders ComposeBuilder.swift
[7/26] Compiling VDBuilders ArrayBuilder.swift
[8/26] Emitting module VDBuilders
[9/26] Emitting module VDMirror
[10/26] Compiling VDMirror Mirror++.swift
[11/26] Compiling VDOptional UnwrapOperator.swift
[12/26] Emitting module VDOptional
[13/26] Emitting module VDDates
[14/26] 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 {
^
[15/70] Emitting module VDKitRuntime
[16/70] Compiling VDKitRuntime Runtime++.swift
[17/72] Emitting module UIKitEnvironment
[18/72] Compiling UIKitEnvironment UIViewEnvironment.swift
[19/72] Compiling WrappedDefaults WrappedDefault.swift
[20/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 {
^
[21/72] Compiling VDSwiftUICommon Image++.swift
[22/72] Compiling VDSwiftUICommon Menu.swift
[23/72] Compiling VDSwiftUICommon OnFirstAppear.swift
[24/72] Compiling VDSwiftUICommon Popover.swift
[25/74] Compiling VDSwiftUICommon EdgeInsets++.swift
[26/74] Compiling VDSwiftUICommon Hosting++.swift
[27/74] Compiling VDSwiftUICommon Binding++.swift
[28/74] Compiling VDSwiftUICommon Blur.swift
[29/74] Compiling VDSwiftUICommon Color++.swift
[30/74] 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 {
^
[31/74] Compiling WrappedDefaults UserDefaults+Extensions.swift
[32/74] Emitting module WrappedDefaults
[33/74] Compiling WrappedDefaults UserDefaultsSerializable.swift
[34/74] Compiling VDSwiftUICommon Font++.swift
[35/74] Compiling VDSwiftUICommon Rounded.swift
[36/74] Compiling VDSwiftUICommon StateOrBinding.swift
[37/74] Emitting module VDCommon
[38/74] Compiling VDSwiftUICommon StateSubject.swift
[39/74] Compiling VDSwiftUICommon AdditionalSafeArea.swift
[40/74] Compiling VDSwiftUICommon Backdrop.swift
[41/74] Compiling VDSwiftUICommon Envionment++.swift
[42/74] Compiling VDSwiftUICommon EnvironmentViewBuilder.swift
[43/74] Compiling VDCommon String++.swift
[44/74] Compiling VDCommon Union.swift
[45/74] Emitting module VDCoreGraphics
[46/74] Compiling VDCoreGraphics CGAffineTransform++.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/74] Compiling VDSwiftUICommon UIGestures.swift
[49/74] Compiling VDSwiftUICommon View++.swift
[50/74] 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()
^
[51/74] 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
[52/76] Compiling VDCoreGraphics CA++.swift
[53/76] Emitting module BindGeometry
[0/1] Planning build
Building for debugging...
[1/25] Emitting module BindGeometry
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/25] 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()
^
[3/25] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/25] Compiling VDSwiftUICommon Envionment++.swift
[5/25] Compiling VDSwiftUICommon EnvironmentViewBuilder.swift
[6/25] Compiling VDSwiftUICommon Font++.swift
[7/25] Emitting module VDCoreGraphics
[8/25] 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()
^
BUILD FAILURE 5.9 macosSpm