Build Information
Failed to build VDKit, reference 1.197.0 (479b07
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 01:17:23 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/VDKit.git
Reference: 1.197.0
Initialized empty Git repository in /Users/admin/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/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "vdkit",
"name": "VDKit",
"url": "https://github.com/dankinsoid/VDKit.git",
"version": "unspecified",
"path": "/Users/admin/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 from cache (0.98s)
Creating working copy for https://github.com/dankinsoid/VDKit.git
Working copy of https://github.com/dankinsoid/VDKit.git resolved at 1.197.0 (479b079)
warning: '.resolve-product-dependencies': dependency 'vdkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/dankinsoid/VDKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/27] Write sources
[22/27] Write swift-version--7754E27361AE5C74.txt
[23/45] Compiling VDKitRuntimeObjc _VD.m
[24/45] Compiling VDKitRuntimeObjc _VDDelegateProxy.m
[25/47] Compiling VDKitRuntimeObjc _VDKVOObserver.m
[26/47] Compiling VDKitRuntimeObjc _VDObjCRuntime.m
[28/49] Emitting module VDBuilders
[29/49] Compiling VDBuilders SingleBuilder.swift
[30/49] Compiling VDOptional UnwrapOperator.swift
[31/49] Emitting module VDOptional
[32/49] Emitting module VDMirror
[33/49] Compiling VDMirror Mirror++.swift
[34/49] Compiling VDDates DateFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/DateFormat.swift:241:1: warning: extension declares a conformance of imported type 'UnitsStyle' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
239 | }
240 |
241 | extension DateComponentsFormatter.UnitsStyle: Decodable {}
| |- warning: extension declares a conformance of imported type 'UnitsStyle' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
242 | extension DateComponentsFormatter.UnitsStyle: Encodable {}
243 |
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/DateFormat.swift:242:1: warning: extension declares a conformance of imported type 'UnitsStyle' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
240 |
241 | extension DateComponentsFormatter.UnitsStyle: Decodable {}
242 | extension DateComponentsFormatter.UnitsStyle: Encodable {}
| |- warning: extension declares a conformance of imported type 'UnitsStyle' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
243 |
244 | extension DateFormat {
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/Date++.swift:16:20: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension Locale {
16 | public static var `default` = Locale.autoupdatingCurrent
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/Date++.swift:20:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension TimeZone {
20 | public static var `default` = TimeZone.autoupdatingCurrent
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/DateFormat.swift:98:5: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
96 | return format
97 | case .component(let component, let style):
98 | switch component {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
99 | case .era:
100 | switch style {
[35/49] Compiling VDBuilders ArrayBuilder.swift
[36/49] Compiling VDBuilders ComposeBuilder.swift
[37/49] Compiling VDKitRuntime Runtime++.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDKitRuntime/Runtime++.swift:15:13: warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | #if !DISABLE_SWIZZLING && !os(Linux)
15 | private var deallocatingSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | private var deallocatingSubjectContext: UInt8 = 0
17 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/VDKitRuntime/Runtime++.swift:16:13: warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | #if !DISABLE_SWIZZLING && !os(Linux)
15 | private var deallocatingSubjectTriggerContext: UInt8 = 0
16 | private var deallocatingSubjectContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | #endif
18 | private var deallocatedSubjectTriggerContext: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/VDKitRuntime/Runtime++.swift:18:13: warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | private var deallocatingSubjectContext: UInt8 = 0
17 | #endif
18 | private var deallocatedSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private var deallocatedSubjectContext: UInt8 = 0
20 |
/Users/admin/builder/spi-builder-workspace/Sources/VDKitRuntime/Runtime++.swift:19:13: warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 | private var deallocatedSubjectTriggerContext: UInt8 = 0
19 | private var deallocatedSubjectContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | // Dealloc
[38/49] Emitting module VDKitRuntime
/Users/admin/builder/spi-builder-workspace/Sources/VDKitRuntime/Runtime++.swift:15:13: warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | #if !DISABLE_SWIZZLING && !os(Linux)
15 | private var deallocatingSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | private var deallocatingSubjectContext: UInt8 = 0
17 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/VDKitRuntime/Runtime++.swift:16:13: warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | #if !DISABLE_SWIZZLING && !os(Linux)
15 | private var deallocatingSubjectTriggerContext: UInt8 = 0
16 | private var deallocatingSubjectContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | #endif
18 | private var deallocatedSubjectTriggerContext: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/VDKitRuntime/Runtime++.swift:18:13: warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | private var deallocatingSubjectContext: UInt8 = 0
17 | #endif
18 | private var deallocatedSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private var deallocatedSubjectContext: UInt8 = 0
20 |
/Users/admin/builder/spi-builder-workspace/Sources/VDKitRuntime/Runtime++.swift:19:13: warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 | private var deallocatedSubjectTriggerContext: UInt8 = 0
19 | private var deallocatedSubjectContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | // Dealloc
[39/96] Compiling UIKitEnvironment UIViewEnvironment.swift
[40/96] Compiling VDDates CalendarComponent++.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:10:1: warning: extension declares a conformance of imported type 'Component' to imported protocols 'CaseIterable', 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
8 | import Foundation
9 |
10 | extension Calendar.Component: CaseIterable, Comparable {
| |- warning: extension declares a conformance of imported type 'Component' to imported protocols 'CaseIterable', 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public typealias AllCases = Set<Calendar.Component>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:116:1: warning: extension declares a conformance of imported type 'Component' to imported protocols 'RawRepresentable', 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
114 | }
115 |
116 | extension Calendar.Component: Codable, RawRepresentable, CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Component' to imported protocols 'RawRepresentable', 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
117 |
118 | public var rawValue: String {
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:29:3: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
27 |
28 | public var smaller: Calendar.Component? {
29 | switch self {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
30 | case .era: return .year
31 | case .year: return .month
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:61:3: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
59 |
60 | public var larger: Calendar.Component? {
61 | switch self {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
62 | case .era: return nil
63 | case .year: return .era
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:83:3: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
81 |
82 | public var inSeconds: TimeInterval {
83 | switch self {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
84 | case .era: return .infinity
85 | case .year: return 365.2425 * Calendar.Component.day.inSeconds
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:119:3: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
117 |
118 | public var rawValue: String {
119 | switch self {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
120 | case .era: return "era"
121 | case .year: return "year"
[41/96] Compiling VDDates Date++.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/Date++.swift:4:20: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Calendar {
4 | public static var `default` = Calendar.autoupdatingCurrent
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public func current(_ component: Component) -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/Date++.swift:16:20: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension Locale {
16 | public static var `default` = Locale.autoupdatingCurrent
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/Date++.swift:20:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension TimeZone {
20 | public static var `default` = TimeZone.autoupdatingCurrent
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/Date++.swift:39:1: warning: extension declares a conformance of imported type 'DateComponents' to imported protocols 'RawRepresentable', 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
37 | }
38 |
39 | extension DateComponents: RawRepresentable, ExpressibleByDictionaryLiteral {
| |- warning: extension declares a conformance of imported type 'DateComponents' to imported protocols 'RawRepresentable', 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
40 | public static func era(_ value: Int) -> DateComponents { .current(era: value) }
41 | public static func year(_ value: Int) -> DateComponents { .current(year: value) }
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/Date++.swift:401:3: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
399 |
400 | public func name(of component: Calendar.Component, locale: Locale = .default, timeZone: TimeZone = .default) -> String {
401 | switch component {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
402 | case .era: return string("GGGG", locale: locale, timeZone: timeZone)
403 | case .year: return string("yyyy", locale: locale, timeZone: timeZone)
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/Date++.swift:511:9: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
509 |
510 | public func setting(_ value: Int, _ component: Calendar.Component, calendar: Calendar = .default) -> Date? {
511 | switch component {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.isLeapMonth'
| `- note: add missing case: '.dayOfYear'
512 | case .nanosecond, .second, .minute, .hour:
513 | var comps = components(calendar: calendar)
[42/96] Emitting module VDDates
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:10:1: warning: extension declares a conformance of imported type 'Component' to imported protocols 'CaseIterable', 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
8 | import Foundation
9 |
10 | extension Calendar.Component: CaseIterable, Comparable {
| |- warning: extension declares a conformance of imported type 'Component' to imported protocols 'CaseIterable', 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public typealias AllCases = Set<Calendar.Component>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/CalendarComponent++.swift:116:1: warning: extension declares a conformance of imported type 'Component' to imported protocols 'RawRepresentable', 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
114 | }
115 |
116 | extension Calendar.Component: Codable, RawRepresentable, CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'Component' to imported protocols 'RawRepresentable', 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
117 |
118 | public var rawValue: String {
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/Date++.swift:4:20: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Calendar {
4 | public static var `default` = Calendar.autoupdatingCurrent
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public func current(_ component: Component) -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/Date++.swift:16:20: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension Locale {
16 | public static var `default` = Locale.autoupdatingCurrent
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/Date++.swift:20:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension TimeZone {
20 | public static var `default` = TimeZone.autoupdatingCurrent
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/Date++.swift:39:1: warning: extension declares a conformance of imported type 'DateComponents' to imported protocols 'RawRepresentable', 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
37 | }
38 |
39 | extension DateComponents: RawRepresentable, ExpressibleByDictionaryLiteral {
| |- warning: extension declares a conformance of imported type 'DateComponents' to imported protocols 'RawRepresentable', 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
40 | public static func era(_ value: Int) -> DateComponents { .current(era: value) }
41 | public static func year(_ value: Int) -> DateComponents { .current(year: value) }
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/DateFormat.swift:241:1: warning: extension declares a conformance of imported type 'UnitsStyle' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
239 | }
240 |
241 | extension DateComponentsFormatter.UnitsStyle: Decodable {}
| |- warning: extension declares a conformance of imported type 'UnitsStyle' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
242 | extension DateComponentsFormatter.UnitsStyle: Encodable {}
243 |
/Users/admin/builder/spi-builder-workspace/Sources/VDDates/DateFormat.swift:242:1: warning: extension declares a conformance of imported type 'UnitsStyle' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
240 |
241 | extension DateComponentsFormatter.UnitsStyle: Decodable {}
242 | extension DateComponentsFormatter.UnitsStyle: Encodable {}
| |- warning: extension declares a conformance of imported type 'UnitsStyle' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
243 |
244 | extension DateFormat {
[43/96] Emitting module UIKitEnvironment
[44/96] Compiling WrappedDefaults WrappedDefault.swift
[45/96] Compiling WrappedDefaults UserDefaults+Extensions.swift
[46/96] Compiling VDCommon CollectionDifference++.swift
[47/96] Compiling VDCommon CopyOnWrite.swift
[48/97] Compiling VDCommon Pair.swift
[49/97] Compiling VDCommon Pattern.swift
[50/97] Compiling WrappedDefaults UserDefaultsSerializable.swift
[51/97] Emitting module WrappedDefaults
[52/97] Compiling VDCommon Result++.swift
[53/97] Compiling VDCommon String++.swift
[54/97] Compiling VDCommon Proxy.swift
[55/97] Compiling VDCommon Range++.swift
[56/97] Compiling VDCommon Lock++.swift
[57/97] Compiling VDCommon OffsetBounds.swift
[58/97] Compiling VDCommon Union.swift
[59/97] Compiling VDCommon Clojures.swift
[60/97] Compiling VDCommon Collection++.swift
[61/97] Compiling VDSwiftUICommon AdditionalSafeArea.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDCommon/AttributedString++.swift:24:1: warning: extension declares a conformance of imported type 'NSAttributedString' to imported protocols 'Collection', 'Sequence'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
22 | }
23 |
24 | extension NSAttributedString: Collection {
| |- warning: extension declares a conformance of imported type 'NSAttributedString' to imported protocols 'Collection', 'Sequence'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
25 |
26 | public typealias Index = Int
[62/97] Compiling VDSwiftUICommon Backdrop.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDCommon/AttributedString++.swift:24:1: warning: extension declares a conformance of imported type 'NSAttributedString' to imported protocols 'Collection', 'Sequence'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
22 | }
23 |
24 | extension NSAttributedString: Collection {
| |- warning: extension declares a conformance of imported type 'NSAttributedString' to imported protocols 'Collection', 'Sequence'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
25 |
26 | public typealias Index = Int
[63/97] Emitting module VDCoreGraphics
/Users/admin/builder/spi-builder-workspace/Sources/VDCoreGraphics/CA++.swift:116:1: warning: extension declares a conformance of imported type 'CATransform3D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'QuartzCore' introduce this conformance in the future
114 | }
115 |
116 | extension CATransform3D: Equatable {
| |- warning: extension declares a conformance of imported type 'CATransform3D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'QuartzCore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
117 |
118 | private var ms: [CGFloat] { [m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44] }
/Users/admin/builder/spi-builder-workspace/Sources/VDCoreGraphics/CG++.swift:194:1: warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
192 | }
193 |
194 | extension CGPoint: Hashable {
| |- warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
195 |
196 | public func hash(into hasher: inout Hasher) {
/Users/admin/builder/spi-builder-workspace/Sources/VDCoreGraphics/CG++.swift:202:1: warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
200 | }
201 |
202 | extension CGSize: Hashable {
| |- warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
203 |
204 | public func hash(into hasher: inout Hasher) {
[64/97] Emitting module VDCommon
/Users/admin/builder/spi-builder-workspace/Sources/VDCommon/AttributedString++.swift:24:1: warning: extension declares a conformance of imported type 'NSAttributedString' to imported protocols 'Collection', 'Sequence'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
22 | }
23 |
24 | extension NSAttributedString: Collection {
| |- warning: extension declares a conformance of imported type 'NSAttributedString' to imported protocols 'Collection', 'Sequence'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
25 |
26 | public typealias Index = Int
[65/97] Compiling VDCommon Decimal++.swift
[66/97] Compiling VDCommon GetterSetter.swift
[67/97] Compiling VDCommon Lazy.swift
[68/97] Compiling VDCommon Locale++.swift
[69/97] Compiling BindGeometry Geometry++.swift
[70/97] Emitting module BindGeometry
[71/102] Compiling VDSwiftUICommon UIGestures.swift
[72/102] Compiling VDSwiftUICommon View++.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[73/104] Emitting module EnvironmentStateObject
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/EnvironmentStateObject/EnvironmentStateObject.swift:13:6: error: 'StateObject' is only available in macOS 11.0 or newer
11 | public struct EnvironmentStateObject<Model: ObservableObject>: DynamicProperty {
12 |
13 | @StateObject private var object = Object()
| `- error: 'StateObject' is only available in macOS 11.0 or newer
14 | @State private var updater = false
15 | @Environment(\.environmentModel) private var environment
[74/104] Compiling EnvironmentStateObject EnvironmentStateObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/EnvironmentStateObject/EnvironmentStateObject.swift:13:6: error: 'StateObject' is only available in macOS 11.0 or newer
11 | public struct EnvironmentStateObject<Model: ObservableObject>: DynamicProperty {
12 |
13 | @StateObject private var object = Object()
| `- error: 'StateObject' is only available in macOS 11.0 or newer
14 | @State private var updater = false
15 | @Environment(\.environmentModel) private var environment
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/EnvironmentStateObject/EnvironmentStateObject.swift:22:20: warning: main actor-isolated property 'object' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | public struct EnvironmentStateObject<Model: ObservableObject>: DynamicProperty {
12 |
13 | @StateObject private var object = Object()
| `- note: property declared here
14 | @State private var updater = false
15 | @Environment(\.environmentModel) private var environment
:
20 | get {
21 | createModel()
22 | return object.model
| `- warning: main actor-isolated property 'object' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
23 | }
24 | nonmutating set {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/EnvironmentStateObject/EnvironmentStateObject.swift:25:13: warning: main actor-isolated property 'object' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
11 | public struct EnvironmentStateObject<Model: ObservableObject>: DynamicProperty {
12 |
13 | @StateObject private var object = Object()
| `- note: mutation of this property is only permitted within the actor
14 | @State private var updater = false
15 | @Environment(\.environmentModel) private var environment
:
23 | }
24 | nonmutating set {
25 | object.model = newValue
| `- warning: main actor-isolated property 'object' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
26 | updater.toggle()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/EnvironmentStateObject/EnvironmentStateObject.swift:32:13: warning: capture of 'self' with non-sendable type 'EnvironmentStateObject<Model>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
10 | @propertyWrapper
11 | public struct EnvironmentStateObject<Model: ObservableObject>: DynamicProperty {
| `- note: consider making generic struct 'EnvironmentStateObject' conform to the 'Sendable' protocol
12 |
13 | @StateObject private var object = Object()
:
30 | public var projectedValue: Binding<Model> {
31 | Binding {
32 | self.wrappedValue
| `- warning: capture of 'self' with non-sendable type 'EnvironmentStateObject<Model>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | } set: {
34 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/EnvironmentStateObject/EnvironmentStateObject.swift:34:13: warning: capture of 'self' with non-sendable type 'EnvironmentStateObject<Model>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
10 | @propertyWrapper
11 | public struct EnvironmentStateObject<Model: ObservableObject>: DynamicProperty {
| `- note: consider making generic struct 'EnvironmentStateObject' conform to the 'Sendable' protocol
12 |
13 | @StateObject private var object = Object()
:
32 | self.wrappedValue
33 | } set: {
34 | self.wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'EnvironmentStateObject<Model>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/EnvironmentStateObject/EnvironmentStateObject.swift:49:15: warning: main actor-isolated property 'object' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | public struct EnvironmentStateObject<Model: ObservableObject>: DynamicProperty {
12 |
13 | @StateObject private var object = Object()
| `- note: property declared here
14 | @State private var updater = false
15 | @Environment(\.environmentModel) private var environment
:
46 | }
47 |
48 | @inline(__always) private func createModel() {
| `- note: add '@MainActor' to make instance method 'createModel()' part of global actor 'MainActor'
49 | guard object.model == nil else { return }
| `- warning: main actor-isolated property 'object' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | object.model = (environment[id] as? () -> Model)?() ?? defaultValue()
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/EnvironmentStateObject/EnvironmentStateObject.swift:50:9: warning: main actor-isolated property 'object' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
11 | public struct EnvironmentStateObject<Model: ObservableObject>: DynamicProperty {
12 |
13 | @StateObject private var object = Object()
| `- note: mutation of this property is only permitted within the actor
14 | @State private var updater = false
15 | @Environment(\.environmentModel) private var environment
:
46 | }
47 |
48 | @inline(__always) private func createModel() {
| `- note: add '@MainActor' to make instance method 'createModel()' part of global actor 'MainActor'
49 | guard object.model == nil else { return }
50 | object.model = (environment[id] as? () -> Model)?() ?? defaultValue()
| `- warning: main actor-isolated property 'object' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
51 | }
52 |
[75/104] Compiling LoadingPlaceholder PlaceholderModifier.swift
[76/104] Emitting module LoadingPlaceholder
[77/104] Emitting module LinesStack
[78/104] Compiling VDCoreGraphics CGAffineTransform++.swift
[79/104] Compiling VDCoreGraphics CA++.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDCoreGraphics/CA++.swift:116:1: warning: extension declares a conformance of imported type 'CATransform3D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'QuartzCore' introduce this conformance in the future
114 | }
115 |
116 | extension CATransform3D: Equatable {
| |- warning: extension declares a conformance of imported type 'CATransform3D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'QuartzCore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
117 |
118 | private var ms: [CGFloat] { [m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44] }
/Users/admin/builder/spi-builder-workspace/Sources/VDCoreGraphics/CG++.swift:194:1: warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
192 | }
193 |
194 | extension CGPoint: Hashable {
| |- warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
195 |
196 | public func hash(into hasher: inout Hasher) {
BUILD FAILURE 6.0 macosSpm