Build Information
Failed to build VDKit, reference 1.197.0 (479b07
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 17:52:37 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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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 (1.01s)
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
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] Compiling VDOptional UnwrapOperator.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDOptional/UnwrapOperator.swift:78:26: warning: cannot form key path that captures non-sendable type 'Value'; this is an error in the Swift 6 language mode
75 | }
76 |
77 | public func ??<Root, Value: Hashable>(_ lhs: KeyPath<Root, Value?>, _ rhs: Value) -> KeyPath<Root, Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
78 | lhs.appending(path: \.or[rhs])
| `- warning: cannot form key path that captures non-sendable type 'Value'; this is an error in the Swift 6 language mode
79 | }
80 |
/Users/admin/builder/spi-builder-workspace/Sources/VDOptional/UnwrapOperator.swift:82:26: warning: cannot form key path that captures non-sendable type 'Value'; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public func ??<Root, Value: Hashable>(_ lhs: WritableKeyPath<Root, Value?>, _ rhs: Value) -> WritableKeyPath<Root, Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
82 | lhs.appending(path: \.or[rhs])
| `- warning: cannot form key path that captures non-sendable type 'Value'; this is an error in the Swift 6 language mode
83 | }
84 |
[29/49] Emitting module VDOptional
[30/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
[31/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
[32/49] Compiling VDMirror Mirror++.swift
[33/49] Emitting module VDMirror
[34/49] Compiling VDBuilders SingleBuilder.swift
[35/53] Compiling VDBuilders ComposeBuilder.swift
[36/53] Emitting module VDBuilders
[37/53] Compiling VDBuilders ArrayBuilder.swift
[38/55] 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 {
[39/55] Emitting module UIKitEnvironment
[40/55] Compiling UIKitEnvironment UIViewEnvironment.swift
[41/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"
[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] 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)
[44/96] Compiling WrappedDefaults WrappedDefault.swift
[45/96] Emitting module WrappedDefaults
[46/96] Compiling WrappedDefaults UserDefaults+Extensions.swift
[47/96] Compiling WrappedDefaults UserDefaultsSerializable.swift
[48/96] Compiling VDSwiftUICommon PullToRefresh.swift
[49/96] Compiling VDSwiftUICommon StateSubject.swift
[50/96] Compiling VDSwiftUICommon Envionment++.swift
[51/96] Compiling VDSwiftUICommon EnvironmentViewBuilder.swift
[52/96] Compiling VDSwiftUICommon Color++.swift
[53/96] Compiling VDSwiftUICommon EdgeInsets++.swift
[54/96] Compiling VDSwiftUICommon OnFirstAppear.swift
[55/96] Compiling VDSwiftUICommon Rounded.swift
[56/96] Compiling VDSwiftUICommon StateOrBinding.swift
[57/96] Compiling VDSwiftUICommon Popover.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/97] Emitting module VDSwiftUICommon
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/Color++.swift:17:1: warning: extension declares a conformance of imported type 'Color' to imported protocol '_ExpressibleByColorLiteral'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
15 |
16 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
17 | extension Color: _ExpressibleByColorLiteral {
| |- warning: extension declares a conformance of imported type 'Color' to imported protocol '_ExpressibleByColorLiteral'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
18 |
19 | public init(_colorLiteralRed red: Float, green: Float, blue: Float, alpha: Float) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/Color++.swift:261:1: warning: extension declares a conformance of imported type 'Color' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
259 |
260 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
261 | extension Color: Decodable {
| |- warning: extension declares a conformance of imported type 'Color' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
262 |
263 | public init(from decoder: Decoder) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/Color++.swift:274:1: warning: extension declares a conformance of imported type 'Color' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
272 |
273 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
274 | extension Color: Encodable {
| |- warning: extension declares a conformance of imported type 'Color' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
275 |
276 | public func encode(to encoder: Encoder) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/Image++.swift:11:1: warning: extension declares a conformance of imported type 'Image' to imported protocol '_ExpressibleByImageLiteral'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
9 |
10 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
11 | extension Image: _ExpressibleByImageLiteral {
| |- warning: extension declares a conformance of imported type 'Image' to imported protocol '_ExpressibleByImageLiteral'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | public init(imageLiteralResourceName path: String) {
13 | self = Image(path)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/StateSubject.swift:35:3: error: 'StateObject' is only available in macOS 11.0 or newer
33 | }
34 | }
35 | @StateObject private var object = Object()
| `- error: 'StateObject' is only available in macOS 11.0 or newer
36 | private let create: () -> S
37 | private let defaultValue: Output
/Users/admin/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 the Swift 6 language mode
15 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
16 | @propertyWrapper
17 | public struct StateSubject<S: Subject>: DynamicProperty, Publisher where S.Failure == Never {
| `- note: 'S' previously declared here
18 | public typealias Failure = Never
19 | public typealias Output = S.Output
:
57 | }
58 |
59 | public func receive<S>(subscriber: S) where S : Subscriber, Failure == S.Failure, Output == S.Input {
| `- warning: generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
60 | subject.receive(subscriber: subscriber)
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/StateSubject.swift:59:14: warning: main actor-isolated instance method 'receive(subscriber:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
16 | @propertyWrapper
17 | public struct StateSubject<S: Subject>: DynamicProperty, Publisher where S.Failure == Never {
| `- note: add '@preconcurrency' to the 'Publisher' conformance to defer isolation checking to run time
18 | public typealias Failure = Never
19 | public typealias Output = S.Output
:
57 | }
58 |
59 | public func receive<S>(subscriber: S) where S : Subscriber, Failure == S.Failure, Output == S.Input {
| |- warning: main actor-isolated instance method 'receive(subscriber:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'receive(subscriber:)' to make this instance method not isolated to the actor
60 | subject.receive(subscriber: subscriber)
61 | }
Combine.Publisher:5:10: note: 'receive(subscriber:)' declared here
3 | associatedtype Output
4 | associatedtype Failure : Error
5 | func receive<S>(subscriber: S) where S : Subscriber, Self.Failure == S.Failure, Self.Output == S.Input
| `- note: 'receive(subscriber:)' declared here
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/StateSubject.swift:109:3: error: 'StateObject' is only available in macOS 11.0 or newer
107 | return object.value ?? defaultValue
108 | }
109 | @StateObject private var object = Object()
| `- error: 'StateObject' is only available in macOS 11.0 or newer
110 | private let create: () -> P
111 | private let defaultValue: P.Output
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/StateSubject.swift:130:14: warning: main actor-isolated instance method 'receive(subscriber:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
98 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
99 | @propertyWrapper
100 | public struct StatePublisher<P: Publisher, Output>: DynamicProperty, Publisher where P.Failure == Never, P.Output == Output {
| `- note: add '@preconcurrency' to the 'Publisher' conformance to defer isolation checking to run time
101 | public typealias Failure = Never
102 |
:
128 | }
129 |
130 | public func receive<S>(subscriber: S) where S : Subscriber, Failure == S.Failure, Output == S.Input {
| |- warning: main actor-isolated instance method 'receive(subscriber:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'receive(subscriber:)' to make this instance method not isolated to the actor
131 | projectedValue.receive(subscriber: subscriber)
132 | }
Combine.Publisher:5:10: note: 'receive(subscriber:)' declared here
3 | associatedtype Output
4 | associatedtype Failure : Error
5 | func receive<S>(subscriber: S) where S : Subscriber, Self.Failure == S.Failure, Self.Output == S.Input
| `- note: 'receive(subscriber:)' declared here
6 | }
[59/99] Compiling VDCoreGraphics CGAffineTransform++.swift
[60/99] Compiling VDCommon Union.swift
[61/99] Compiling VDSwiftUICommon Image++.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/99] Compiling VDSwiftUICommon Menu.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/99] Compiling VDSwiftUICommon Binding++.swift
[64/99] Compiling VDSwiftUICommon Blur.swift
[65/99] Compiling VDSwiftUICommon AdditionalSafeArea.swift
[66/99] Compiling VDSwiftUICommon Backdrop.swift
[67/99] 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
[68/99] Compiling VDSwiftUICommon Font++.swift
[69/99] Compiling VDSwiftUICommon Hosting++.swift
[70/99] Emitting module BindGeometry
[71/99] Compiling BindGeometry Geometry++.swift
[72/104] Compiling VDSwiftUICommon ViewBuilder++.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/ViewTag.swift:18:54: warning: function call causes an infinite recursion
16 | return "Never"
17 | } else {
18 | return String(describing: Body.self) + "." + Body.bodyString
| `- warning: function call causes an infinite recursion
19 | }
20 | }
[73/104] Compiling VDSwiftUICommon ViewTag.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/VDSwiftUICommon/ViewTag.swift:18:54: warning: function call causes an infinite recursion
16 | return "Never"
17 | } else {
18 | return String(describing: Body.self) + "." + Body.bodyString
| `- warning: function call causes an infinite recursion
19 | }
20 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[74/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
[75/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:101:54: warning: cannot form key path that captures non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
99 | func body(content: Content) -> some View {
100 | let value: () -> Model = { self.model }
101 | return content.environment(\.environmentModel[key], value)
| `- warning: cannot form key path that captures non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
102 | }
103 |
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
| `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 | public init<H>(_ base: H) where H : Hashable
3 | public var base: Any { get }
[76/104] Emitting module LinesStack
[77/104] Compiling LoadingPlaceholder PlaceholderModifier.swift
[78/104] Emitting module LoadingPlaceholder
[81/104] 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) {
[82/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