The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

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: 1.197.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/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
========================================
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 _VD.m
[24/43] Compiling VDKitRuntimeObjc _VDDelegateProxy.m
[26/43] Emitting module VDMirror
[26/45] Compiling VDKitRuntimeObjc _VDKVOObserver.m
[27/47] Compiling VDKitRuntimeObjc _VDObjCRuntime.m
[29/49] Emitting module VDBuilders
[30/49] Compiling VDBuilders ComposeBuilder.swift
[31/49] Compiling VDBuilders SingleBuilder.swift
[32/49] Compiling VDBuilders ArrayBuilder.swift
[33/67] Compiling VDMirror Mirror++.swift
[34/67] Compiling VDKitRuntime Runtime++.swift
[35/67] Emitting module VDKitRuntime
[36/67] Emitting module VDOptional
[37/67] Compiling VDOptional UnwrapOperator.swift
[38/95] Compiling UIKitEnvironment UIViewEnvironment.swift
[39/95] Emitting module UIKitEnvironment
[40/95] Emitting module VDCommon
[41/97] Compiling WrappedDefaults WrappedDefault.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/97] Emitting module VDSwiftUICommon
/Users/builder/builds/TDmZkXJm/3/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/3/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/3/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/3/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()
         ^
[43/99] Compiling VDDates DateFormat.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/DateFormat.swift:98:5: warning: switch must be exhaustive
                                switch component {
                                ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/DateFormat.swift:98:5: note: add missing case: '.isLeapMonth'
                                switch component {
                                ^
[44/99] Emitting module VDDates
[45/99] Compiling VDDates CalendarComponent++.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:29:3: warning: switch must be exhaustive
                switch self {
                ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:29:3: note: add missing case: '.isLeapMonth'
                switch self {
                ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:61:3: warning: switch must be exhaustive
                switch self {
                ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:61:3: note: add missing case: '.isLeapMonth'
                switch self {
                ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:83:3: warning: switch must be exhaustive
                switch self {
                ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:83:3: note: add missing case: '.isLeapMonth'
                switch self {
                ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:119:3: warning: switch must be exhaustive
                switch self {
                ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:119:3: note: add missing case: '.isLeapMonth'
                switch self {
                ^
[46/99] Compiling VDDates Date++.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/Date++.swift:401:3: warning: switch must be exhaustive
                switch component {
                ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/Date++.swift:401:3: note: add missing case: '.isLeapMonth'
                switch component {
                ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/Date++.swift:511:9: warning: switch must be exhaustive
        switch component {
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/VDDates/Date++.swift:511:9: note: add missing case: '.isLeapMonth'
        switch component {
        ^
[47/99] Compiling VDSwiftUICommon AdditionalSafeArea.swift
[48/99] Compiling VDSwiftUICommon Backdrop.swift
[49/99] Compiling VDSwiftUICommon Binding++.swift
[50/99] Compiling VDSwiftUICommon Hosting++.swift
[51/99] Compiling VDSwiftUICommon Image++.swift
[52/99] Compiling VDSwiftUICommon PullToRefresh.swift
[53/99] Compiling VDSwiftUICommon Rounded.swift
[54/99] Compiling VDSwiftUICommon Menu.swift
[55/99] Compiling VDSwiftUICommon OnFirstAppear.swift
[56/99] Compiling VDSwiftUICommon Popover.swift
[57/99] Compiling VDSwiftUICommon StateOrBinding.swift
[58/99] Compiling VDSwiftUICommon StateSubject.swift
[59/99] Compiling VDSwiftUICommon Envionment++.swift
[60/99] Compiling VDSwiftUICommon EnvironmentViewBuilder.swift
[61/99] Compiling VDSwiftUICommon Font++.swift
[62/99] Compiling VDSwiftUICommon Blur.swift
[63/99] Compiling VDSwiftUICommon Color++.swift
[64/99] Compiling WrappedDefaults UserDefaults+Extensions.swift
[65/99] Emitting module WrappedDefaults
[66/99] Compiling WrappedDefaults UserDefaultsSerializable.swift
[67/99] Compiling VDCoreGraphics CA++.swift
[68/99] Compiling VDCommon String++.swift
[69/99] Compiling VDCommon Union.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[70/99] Emitting module EnvironmentStateObject
/Users/builder/builds/TDmZkXJm/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()
     ^
[71/99] Compiling EnvironmentStateObject EnvironmentStateObject.swift
/Users/builder/builds/TDmZkXJm/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
[72/99] Compiling VDCoreGraphics CGAffineTransform++.swift
[73/99] Emitting module VDCoreGraphics
[74/99] Emitting module BindGeometry
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/29] Emitting module VDSwiftUICommon
/Users/builder/builds/TDmZkXJm/3/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/3/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/3/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/3/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/31] Emitting module EnvironmentStateObject
/Users/builder/builds/TDmZkXJm/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()
     ^
[4/31] Compiling VDSwiftUICommon OnFirstAppear.swift
[5/31] Compiling VDSwiftUICommon Popover.swift
[6/31] Compiling VDSwiftUICommon PullToRefresh.swift
[7/31] Compiling VDSwiftUICommon TextAlignment++.swift
[8/31] Compiling VDSwiftUICommon UIGestures.swift
[9/31] Compiling VDSwiftUICommon View++.swift
[10/31] Compiling VDSwiftUICommon Hosting++.swift
[11/31] Compiling VDSwiftUICommon Image++.swift
[12/31] Compiling VDSwiftUICommon Menu.swift
[13/31] Compiling EnvironmentStateObject EnvironmentStateObject.swift
/Users/builder/builds/TDmZkXJm/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
[14/31] Emitting module BindGeometry
[15/31] Emitting module VDCoreGraphics
BUILD FAILURE 5.10 macosSpm