Build Information
Successful build of PhantomKit, reference main (dbccbb
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 01:44:19 UTC.
Swift 6 data race errors: 11
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/pawello2222/PhantomKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pawello2222/PhantomKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at dbccbb5 Fix APIEndpoint path
Cloned https://github.com/pawello2222/PhantomKit.git
Revision (git rev-parse @):
dbccbb5553b2cbbc44d658c3a448c64dd55a6f19
SUCCESS checkout https://github.com/pawello2222/PhantomKit.git at main
Fetching https://github.com/pawello2222/Appliable
[1/141] Fetching appliable
Fetched https://github.com/pawello2222/Appliable from cache (0.92s)
Computing version for https://github.com/pawello2222/Appliable
Computed https://github.com/pawello2222/Appliable at 1.1.0 (3.38s)
Creating working copy for https://github.com/pawello2222/Appliable
Working copy of https://github.com/pawello2222/Appliable resolved at 1.1.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": "phantomkit",
"name": "PhantomKit",
"url": "https://github.com/pawello2222/PhantomKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PhantomKit",
"dependencies": [
{
"identity": "appliable",
"name": "Appliable",
"url": "https://github.com/pawello2222/Appliable",
"version": "1.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Appliable",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/pawello2222/PhantomKit.git
[1/5630] Fetching phantomkit
Fetched https://github.com/pawello2222/PhantomKit.git from cache (1.09s)
Fetching https://github.com/pawello2222/Appliable from cache
Fetched https://github.com/pawello2222/Appliable from cache (0.48s)
Computing version for https://github.com/pawello2222/Appliable
Computed https://github.com/pawello2222/Appliable at 1.1.0 (0.03s)
Creating working copy for https://github.com/pawello2222/PhantomKit.git
Working copy of https://github.com/pawello2222/PhantomKit.git resolved at main (dbccbb5)
Creating working copy for https://github.com/pawello2222/Appliable
Working copy of https://github.com/pawello2222/Appliable resolved at 1.1.0
warning: '.resolve-product-dependencies': dependency 'phantomkit' is not used by any target
Found 1 product dependencies
- Appliable
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/pawello2222/PhantomKit.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/6] Write sources
[5/6] Write swift-version--7754E27361AE5C74.txt
[7/9] Compiling Appliable ObjectAppliable.swift
[8/9] Emitting module Appliable
[9/9] Compiling Appliable Appliable.swift
[10/30] Compiling PhantomKitLog Logger.swift
[11/30] Compiling PhantomKitLog LogLevel.swift
[12/30] Compiling PhantomKitCore Equatable+Extensions.swift
[13/30] Compiling PhantomKitCore Error+Extensions.swift
[14/31] Compiling PhantomKitCore Set+Extensions.swift
[15/31] Compiling PhantomKitCore Locale+Extensions.swift
[16/31] Compiling PhantomKitCore NSDecimalNumber+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitCore/Extensions/NSDecimalNumber+Extensions.swift:104: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
102 |
103 | extension NSDecimalNumberHandler {
104 | public static var `default`: NSDecimalNumberHandler = .scaled(16)
| |- 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
105 |
106 | public static func scaled(_ scale: Int) -> NSDecimalNumberHandler {
[17/31] Compiling PhantomKitCore TimeInterval+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitCore/Extensions/TimeInterval+Extensions.swift:29:23: warning: static property 'ultraFast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | extension TimeInterval {
28 | /// The duration of `0.1` seconds.
29 | public static var ultraFast: Self = 0.1
| |- warning: static property 'ultraFast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ultraFast' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ultraFast' 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
30 |
31 | /// The duration of `0.2` seconds.
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitCore/Extensions/TimeInterval+Extensions.swift:32:23: warning: static property 'fast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The duration of `0.2` seconds.
32 | public static var fast: Self = 0.2
| |- warning: static property 'fast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fast' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fast' 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
33 |
34 | /// The duration of `0.3` seconds.
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitCore/Extensions/TimeInterval+Extensions.swift:35: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
33 |
34 | /// The duration of `0.3` seconds.
35 | public static var `default`: Self = 0.3
| |- 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
36 |
37 | /// The duration of `0.6` seconds.
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitCore/Extensions/TimeInterval+Extensions.swift:38:23: warning: static property 'slow' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// The duration of `0.6` seconds.
38 | public static var slow: Self = 0.6
| |- warning: static property 'slow' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'slow' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'slow' 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
39 |
40 | /// The duration of `1.0` seconds.
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitCore/Extensions/TimeInterval+Extensions.swift:41:23: warning: static property 'ultraSlow' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /// The duration of `1.0` seconds.
41 | public static var ultraSlow: Self = 1.0
| |- warning: static property 'ultraSlow' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ultraSlow' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ultraSlow' 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
42 | }
43 |
[18/31] Compiling PhantomKitCore String+Extensions.swift
[19/31] Compiling PhantomKitCore TimeZone+Extensions.swift
[20/31] Compiling PhantomKitCore Array+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitCore/Extensions/Array+Extensions.swift:27:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
25 | // MARK: - Conformance
26 |
27 | extension Array: RawRepresentable where Element: Codable {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
28 | /// Creates a new instance with the specified raw value.
29 | public init?(rawValue: String) {
[21/31] Compiling PhantomKitCore Bundle+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitCore/Extensions/Array+Extensions.swift:27:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
25 | // MARK: - Conformance
26 |
27 | extension Array: RawRepresentable where Element: Codable {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
28 | /// Creates a new instance with the specified raw value.
29 | public init?(rawValue: String) {
[22/31] Emitting module PhantomKitCore
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitCore/Extensions/Array+Extensions.swift:27:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
25 | // MARK: - Conformance
26 |
27 | extension Array: RawRepresentable where Element: Codable {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
28 | /// Creates a new instance with the specified raw value.
29 | public init?(rawValue: String) {
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitCore/Extensions/NSDecimalNumber+Extensions.swift:104: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
102 |
103 | extension NSDecimalNumberHandler {
104 | public static var `default`: NSDecimalNumberHandler = .scaled(16)
| |- 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
105 |
106 | public static func scaled(_ scale: Int) -> NSDecimalNumberHandler {
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitCore/Extensions/TimeInterval+Extensions.swift:29:23: warning: static property 'ultraFast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | extension TimeInterval {
28 | /// The duration of `0.1` seconds.
29 | public static var ultraFast: Self = 0.1
| |- warning: static property 'ultraFast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ultraFast' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ultraFast' 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
30 |
31 | /// The duration of `0.2` seconds.
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitCore/Extensions/TimeInterval+Extensions.swift:32:23: warning: static property 'fast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The duration of `0.2` seconds.
32 | public static var fast: Self = 0.2
| |- warning: static property 'fast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fast' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fast' 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
33 |
34 | /// The duration of `0.3` seconds.
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitCore/Extensions/TimeInterval+Extensions.swift:35: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
33 |
34 | /// The duration of `0.3` seconds.
35 | public static var `default`: Self = 0.3
| |- 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
36 |
37 | /// The duration of `0.6` seconds.
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitCore/Extensions/TimeInterval+Extensions.swift:38:23: warning: static property 'slow' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// The duration of `0.6` seconds.
38 | public static var slow: Self = 0.6
| |- warning: static property 'slow' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'slow' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'slow' 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
39 |
40 | /// The duration of `1.0` seconds.
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitCore/Extensions/TimeInterval+Extensions.swift:41:23: warning: static property 'ultraSlow' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /// The duration of `1.0` seconds.
41 | public static var ultraSlow: Self = 1.0
| |- warning: static property 'ultraSlow' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ultraSlow' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ultraSlow' 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
42 | }
43 |
[23/31] Compiling PhantomKitCore CGSize+Extensions.swift
[24/31] Compiling PhantomKitCore Calendar+Extensions.swift
[25/31] Compiling PhantomKitCore Comparable+Extensions.swift
[26/31] Compiling PhantomKitCore Date+Extensions.swift
[27/53] Compiling PhantomKitLog LogCategory.swift
[28/53] Compiling PhantomKitLog ConsoleLogger.swift
[29/53] Emitting module PhantomKitLog
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitLog/Components/LogBuilder.swift:89:24: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | extension LogBuilder {
89 | private static var dateFormatter = DateFormatter().apply {
| |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormatter' 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
90 | $0.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
91 | }
[30/53] Compiling PhantomKitLog OSLogLogger.swift
[31/53] Compiling PhantomKitLog LogBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitLog/Components/LogBuilder.swift:89:24: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | extension LogBuilder {
89 | private static var dateFormatter = DateFormatter().apply {
| |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormatter' 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
90 | $0.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
91 | }
[32/63] Compiling PhantomKitAPI HTTPCode.swift
[33/63] Compiling PhantomKitAPI APIMethod.swift
[34/63] Compiling PhantomKitAPI NetworkSession.swift
[35/63] Compiling PhantomKitAPI APIDataSource.swift
[36/63] Compiling PhantomKitAPI APIError.swift
[37/63] Compiling PhantomKitAPI APIEndpoint.swift
[38/63] Compiling PhantomKitAPI NetworkDataSource.swift
[39/63] Emitting module PhantomKitAPI
[40/63] Compiling PhantomKitAPI AuthorizationType.swift
[41/63] Compiling PhantomKitAPI Loadable.swift
[42/63] Emitting module PhantomKitUI
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Components/ViewRepresentable/PDFViewRepresentable.swift:37:17: warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
28 |
29 | /// A view that encapsulates the functionality of `PDFView`.
30 | public struct PDFViewRepresentable: ViewRepresentable {
| `- note: add '@preconcurrency' to the 'ViewRepresentable' conformance to defer isolation checking to run time
31 | private let url: URL
32 |
:
35 | }
36 |
37 | public func makeView(context: Context) -> PDFView {
| |- warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeView(context:)' to make this instance method not isolated to the actor
38 | .init().apply {
39 | $0.document = .init(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Wrappers/ViewRepresentable.swift:38:10: note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
36 | public protocol ViewRepresentable: PlatformViewRepresentable {
37 | associatedtype PlatformViewType
38 | func makeView(context: Context) -> PlatformViewType
| `- note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
39 | func updateView(_ view: PlatformViewType, context: Context)
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Components/ViewRepresentable/PDFViewRepresentable.swift:44:17: warning: main actor-isolated instance method 'updateView(_:context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public func updateView(_ view: PDFView, context: Context) {}
| |- warning: main actor-isolated instance method 'updateView(_:context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'updateView(_:context:)' to make this instance method not isolated to the actor
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Wrappers/ViewRepresentable.swift:39:10: note: mark the protocol requirement 'updateView(_:context:)' 'async' to allow actor-isolated conformances
37 | associatedtype PlatformViewType
38 | func makeView(context: Context) -> PlatformViewType
39 | func updateView(_ view: PlatformViewType, context: Context)
| `- note: mark the protocol requirement 'updateView(_:context:)' 'async' to allow actor-isolated conformances
40 | }
41 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/EnvironmentValues/EnvironmentValues+ShortLabelWidth.swift:29:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | extension EnvironmentValues {
28 | private struct ShortLabelWidthKey: EnvironmentKey {
29 | static var defaultValue: CGFloat = 50
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Modifiers/LinkViewModifier.swift:116: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
114 | public static var `default`: Self = .fullscreen
115 | #else
116 | public static var `default`: Self = .external
| |- 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
117 | #endif
118 | }
[43/65] Compiling PhantomKitUI ViewControllerRepresentable.swift
[44/65] Compiling PhantomKitUI ViewRepresentable.swift
[45/65] Compiling PhantomKitUI Edge+Extensions.swift
[46/65] Compiling PhantomKitUI View+Alignment.swift
[47/65] Compiling PhantomKitUI View+Apply.swift
[48/65] Compiling PhantomKitUI View+Extensions.swift
[49/65] Compiling PhantomKitUI CustomizablePicker+Item.swift
[50/65] Compiling PhantomKitUI CustomizablePicker+Selection.swift
[51/65] Compiling PhantomKitUI CustomizablePicker.swift
[52/65] Compiling PhantomKitUI CheckmarkView.swift
[53/65] Compiling PhantomKitUI IndicatorView.swift
[54/65] Compiling PhantomKitUI MultiColumnList.swift
[55/65] Compiling PhantomKitUI SheetViewModifier.swift
[56/65] Compiling PhantomKitUI Triangle.swift
[57/65] Compiling PhantomKitUI FullScreenViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Modifiers/LinkViewModifier.swift:116: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
114 | public static var `default`: Self = .fullscreen
115 | #else
116 | public static var `default`: Self = .external
| |- 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
117 | #endif
118 | }
[58/65] Compiling PhantomKitUI LinkViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Modifiers/LinkViewModifier.swift:116: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
114 | public static var `default`: Self = .fullscreen
115 | #else
116 | public static var `default`: Self = .external
| |- 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
117 | #endif
118 | }
[59/65] Compiling PhantomKitUI EnvironmentValues+ShortLabelWidth.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/EnvironmentValues/EnvironmentValues+ShortLabelWidth.swift:29:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | extension EnvironmentValues {
28 | private struct ShortLabelWidthKey: EnvironmentKey {
29 | static var defaultValue: CGFloat = 50
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
30 | }
31 |
[60/65] Compiling PhantomKitUI EnvironmentValues+UserInterfaceIdiom.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/EnvironmentValues/EnvironmentValues+ShortLabelWidth.swift:29:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | extension EnvironmentValues {
28 | private struct ShortLabelWidthKey: EnvironmentKey {
29 | static var defaultValue: CGFloat = 50
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
30 | }
31 |
[61/65] Compiling PhantomKitUI Binding+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:30:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |
27 | /// Creates a binding by unwrapping a given value and providing a default value.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | .init(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:30:36: warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |
27 | /// Creates a binding by unwrapping a given value and providing a default value.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | .init(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:30:36: warning: implicit capture of 'rhs' requires that 'T' conforms to `Sendable`; this is an error in the Swift 6 language mode
26 |
27 | /// Creates a binding by unwrapping a given value and providing a default value.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | .init(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: implicit capture of 'rhs' requires that 'T' conforms to `Sendable`; this is an error in the Swift 6 language mode
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:31:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |
27 | /// Creates a binding by unwrapping a given value and providing a default value.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | .init(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:43:27: warning: capture of 'binding' with non-sendable type 'Binding<TInt>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | extension Binding {
38 | /// Converts the `wrappedValue` from `BinaryInteger` to `BinaryFloatingPoint`.
39 | public static func convert<TInt, TFloat>(
| `- note: consider making generic parameter 'TInt' conform to the 'Sendable' protocol
40 | from binding: Binding<TInt>
41 | ) -> Binding<TFloat> where TInt: BinaryInteger, TFloat: BinaryFloatingPoint {
42 | Binding<TFloat>(
43 | get: { TFloat(binding.wrappedValue) },
| `- warning: capture of 'binding' with non-sendable type 'Binding<TInt>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | set: { binding.wrappedValue = TInt($0) }
45 | )
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:44:20: warning: capture of 'binding' with non-sendable type 'Binding<TInt>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | extension Binding {
38 | /// Converts the `wrappedValue` from `BinaryInteger` to `BinaryFloatingPoint`.
39 | public static func convert<TInt, TFloat>(
| `- note: consider making generic parameter 'TInt' conform to the 'Sendable' protocol
40 | from binding: Binding<TInt>
41 | ) -> Binding<TFloat> where TInt: BinaryInteger, TFloat: BinaryFloatingPoint {
42 | Binding<TFloat>(
43 | get: { TFloat(binding.wrappedValue) },
44 | set: { binding.wrappedValue = TInt($0) }
| `- warning: capture of 'binding' with non-sendable type 'Binding<TInt>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | )
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:53:25: warning: capture of 'binding' with non-sendable type 'Binding<TFloat>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 |
48 | /// Converts the `wrappedValue` from `BinaryFloatingPoint` to `BinaryInteger`.
49 | public static func convert<TFloat, TInt>(
| `- note: consider making generic parameter 'TFloat' conform to the 'Sendable' protocol
50 | from binding: Binding<TFloat>
51 | ) -> Binding<TInt> where TFloat: BinaryFloatingPoint, TInt: BinaryInteger {
52 | Binding<TInt>(
53 | get: { TInt(binding.wrappedValue) },
| `- warning: capture of 'binding' with non-sendable type 'Binding<TFloat>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | set: { binding.wrappedValue = TFloat($0) }
55 | )
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:54:20: warning: capture of 'binding' with non-sendable type 'Binding<TFloat>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 |
48 | /// Converts the `wrappedValue` from `BinaryFloatingPoint` to `BinaryInteger`.
49 | public static func convert<TFloat, TInt>(
| `- note: consider making generic parameter 'TFloat' conform to the 'Sendable' protocol
50 | from binding: Binding<TFloat>
51 | ) -> Binding<TInt> where TFloat: BinaryFloatingPoint, TInt: BinaryInteger {
52 | Binding<TInt>(
53 | get: { TInt(binding.wrappedValue) },
54 | set: { binding.wrappedValue = TFloat($0) }
| `- warning: capture of 'binding' with non-sendable type 'Binding<TFloat>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | )
56 | }
[62/65] Compiling PhantomKitUI Color+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:30:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |
27 | /// Creates a binding by unwrapping a given value and providing a default value.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | .init(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:30:36: warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |
27 | /// Creates a binding by unwrapping a given value and providing a default value.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | .init(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:30:36: warning: implicit capture of 'rhs' requires that 'T' conforms to `Sendable`; this is an error in the Swift 6 language mode
26 |
27 | /// Creates a binding by unwrapping a given value and providing a default value.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | .init(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: implicit capture of 'rhs' requires that 'T' conforms to `Sendable`; this is an error in the Swift 6 language mode
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:31:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |
27 | /// Creates a binding by unwrapping a given value and providing a default value.
28 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | .init(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:43:27: warning: capture of 'binding' with non-sendable type 'Binding<TInt>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | extension Binding {
38 | /// Converts the `wrappedValue` from `BinaryInteger` to `BinaryFloatingPoint`.
39 | public static func convert<TInt, TFloat>(
| `- note: consider making generic parameter 'TInt' conform to the 'Sendable' protocol
40 | from binding: Binding<TInt>
41 | ) -> Binding<TFloat> where TInt: BinaryInteger, TFloat: BinaryFloatingPoint {
42 | Binding<TFloat>(
43 | get: { TFloat(binding.wrappedValue) },
| `- warning: capture of 'binding' with non-sendable type 'Binding<TInt>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | set: { binding.wrappedValue = TInt($0) }
45 | )
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:44:20: warning: capture of 'binding' with non-sendable type 'Binding<TInt>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | extension Binding {
38 | /// Converts the `wrappedValue` from `BinaryInteger` to `BinaryFloatingPoint`.
39 | public static func convert<TInt, TFloat>(
| `- note: consider making generic parameter 'TInt' conform to the 'Sendable' protocol
40 | from binding: Binding<TInt>
41 | ) -> Binding<TFloat> where TInt: BinaryInteger, TFloat: BinaryFloatingPoint {
42 | Binding<TFloat>(
43 | get: { TFloat(binding.wrappedValue) },
44 | set: { binding.wrappedValue = TInt($0) }
| `- warning: capture of 'binding' with non-sendable type 'Binding<TInt>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | )
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:53:25: warning: capture of 'binding' with non-sendable type 'Binding<TFloat>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 |
48 | /// Converts the `wrappedValue` from `BinaryFloatingPoint` to `BinaryInteger`.
49 | public static func convert<TFloat, TInt>(
| `- note: consider making generic parameter 'TFloat' conform to the 'Sendable' protocol
50 | from binding: Binding<TFloat>
51 | ) -> Binding<TInt> where TFloat: BinaryFloatingPoint, TInt: BinaryInteger {
52 | Binding<TInt>(
53 | get: { TInt(binding.wrappedValue) },
| `- warning: capture of 'binding' with non-sendable type 'Binding<TFloat>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | set: { binding.wrappedValue = TFloat($0) }
55 | )
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Extensions/Binding+Extensions.swift:54:20: warning: capture of 'binding' with non-sendable type 'Binding<TFloat>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 |
48 | /// Converts the `wrappedValue` from `BinaryFloatingPoint` to `BinaryInteger`.
49 | public static func convert<TFloat, TInt>(
| `- note: consider making generic parameter 'TFloat' conform to the 'Sendable' protocol
50 | from binding: Binding<TFloat>
51 | ) -> Binding<TInt> where TFloat: BinaryFloatingPoint, TInt: BinaryInteger {
52 | Binding<TInt>(
53 | get: { TInt(binding.wrappedValue) },
54 | set: { binding.wrappedValue = TFloat($0) }
| `- warning: capture of 'binding' with non-sendable type 'Binding<TFloat>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | )
56 | }
[63/65] Compiling PhantomKitUI VCenteredScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Components/ViewRepresentable/PDFViewRepresentable.swift:37:17: warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
28 |
29 | /// A view that encapsulates the functionality of `PDFView`.
30 | public struct PDFViewRepresentable: ViewRepresentable {
| `- note: add '@preconcurrency' to the 'ViewRepresentable' conformance to defer isolation checking to run time
31 | private let url: URL
32 |
:
35 | }
36 |
37 | public func makeView(context: Context) -> PDFView {
| |- warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeView(context:)' to make this instance method not isolated to the actor
38 | .init().apply {
39 | $0.document = .init(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Wrappers/ViewRepresentable.swift:38:10: note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
36 | public protocol ViewRepresentable: PlatformViewRepresentable {
37 | associatedtype PlatformViewType
38 | func makeView(context: Context) -> PlatformViewType
| `- note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
39 | func updateView(_ view: PlatformViewType, context: Context)
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Components/ViewRepresentable/PDFViewRepresentable.swift:44:17: warning: main actor-isolated instance method 'updateView(_:context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public func updateView(_ view: PDFView, context: Context) {}
| |- warning: main actor-isolated instance method 'updateView(_:context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'updateView(_:context:)' to make this instance method not isolated to the actor
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Wrappers/ViewRepresentable.swift:39:10: note: mark the protocol requirement 'updateView(_:context:)' 'async' to allow actor-isolated conformances
37 | associatedtype PlatformViewType
38 | func makeView(context: Context) -> PlatformViewType
39 | func updateView(_ view: PlatformViewType, context: Context)
| `- note: mark the protocol requirement 'updateView(_:context:)' 'async' to allow actor-isolated conformances
40 | }
41 | #endif
[64/65] Compiling PhantomKitUI PDFViewRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Components/ViewRepresentable/PDFViewRepresentable.swift:37:17: warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
28 |
29 | /// A view that encapsulates the functionality of `PDFView`.
30 | public struct PDFViewRepresentable: ViewRepresentable {
| `- note: add '@preconcurrency' to the 'ViewRepresentable' conformance to defer isolation checking to run time
31 | private let url: URL
32 |
:
35 | }
36 |
37 | public func makeView(context: Context) -> PDFView {
| |- warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeView(context:)' to make this instance method not isolated to the actor
38 | .init().apply {
39 | $0.document = .init(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Wrappers/ViewRepresentable.swift:38:10: note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
36 | public protocol ViewRepresentable: PlatformViewRepresentable {
37 | associatedtype PlatformViewType
38 | func makeView(context: Context) -> PlatformViewType
| `- note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
39 | func updateView(_ view: PlatformViewType, context: Context)
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Components/ViewRepresentable/PDFViewRepresentable.swift:44:17: warning: main actor-isolated instance method 'updateView(_:context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public func updateView(_ view: PDFView, context: Context) {}
| |- warning: main actor-isolated instance method 'updateView(_:context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'updateView(_:context:)' to make this instance method not isolated to the actor
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Wrappers/ViewRepresentable.swift:39:10: note: mark the protocol requirement 'updateView(_:context:)' 'async' to allow actor-isolated conformances
37 | associatedtype PlatformViewType
38 | func makeView(context: Context) -> PlatformViewType
39 | func updateView(_ view: PlatformViewType, context: Context)
| `- note: mark the protocol requirement 'updateView(_:context:)' 'async' to allow actor-isolated conformances
40 | }
41 | #endif
[65/65] Compiling PhantomKitUI SafariViewRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Components/ViewRepresentable/PDFViewRepresentable.swift:37:17: warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
28 |
29 | /// A view that encapsulates the functionality of `PDFView`.
30 | public struct PDFViewRepresentable: ViewRepresentable {
| `- note: add '@preconcurrency' to the 'ViewRepresentable' conformance to defer isolation checking to run time
31 | private let url: URL
32 |
:
35 | }
36 |
37 | public func makeView(context: Context) -> PDFView {
| |- warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeView(context:)' to make this instance method not isolated to the actor
38 | .init().apply {
39 | $0.document = .init(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Wrappers/ViewRepresentable.swift:38:10: note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
36 | public protocol ViewRepresentable: PlatformViewRepresentable {
37 | associatedtype PlatformViewType
38 | func makeView(context: Context) -> PlatformViewType
| `- note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
39 | func updateView(_ view: PlatformViewType, context: Context)
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Components/ViewRepresentable/PDFViewRepresentable.swift:44:17: warning: main actor-isolated instance method 'updateView(_:context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public func updateView(_ view: PDFView, context: Context) {}
| |- warning: main actor-isolated instance method 'updateView(_:context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'updateView(_:context:)' to make this instance method not isolated to the actor
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/PhantomKitUI/Wrappers/ViewRepresentable.swift:39:10: note: mark the protocol requirement 'updateView(_:context:)' 'async' to allow actor-isolated conformances
37 | associatedtype PlatformViewType
38 | func makeView(context: Context) -> PlatformViewType
39 | func updateView(_ view: PlatformViewType, context: Context)
| `- note: mark the protocol requirement 'updateView(_:context:)' 'async' to allow actor-isolated conformances
40 | }
41 | #endif
Build complete! (25.53s)
Build complete.
{
"dependencies" : [
{
"identity" : "appliable",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pawello2222/Appliable"
}
],
"manifest_display_name" : "PhantomKit",
"name" : "PhantomKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "17.0"
}
],
"products" : [
{
"name" : "PhantomKit",
"targets" : [
"PhantomKitAPI",
"PhantomKitCore",
"PhantomKitLog",
"PhantomKitUI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PhantomKitAPI",
"targets" : [
"PhantomKitAPI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PhantomKitCore",
"targets" : [
"PhantomKitCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PhantomKitLog",
"targets" : [
"PhantomKitLog"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PhantomKitUI",
"targets" : [
"PhantomKitUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PhantomKitUITests",
"module_type" : "SwiftTarget",
"name" : "PhantomKitUITests",
"path" : "Tests/PhantomKitUITests",
"sources" : [
"Binding+Tests.swift",
"Color+Tests.swift"
],
"target_dependencies" : [
"PhantomKitUI"
],
"type" : "test"
},
{
"c99name" : "PhantomKitUI",
"module_type" : "SwiftTarget",
"name" : "PhantomKitUI",
"path" : "Sources/PhantomKitUI",
"product_memberships" : [
"PhantomKit",
"PhantomKitUI"
],
"sources" : [
"Components/Common/CheckmarkView.swift",
"Components/Common/IndicatorView.swift",
"Components/List/MultiColumnList.swift",
"Components/Picker/CustomizablePicker+Item.swift",
"Components/Picker/CustomizablePicker+Selection.swift",
"Components/Picker/CustomizablePicker.swift",
"Components/ScrollView/VCenteredScrollView.swift",
"Components/ViewRepresentable/PDFViewRepresentable.swift",
"Components/ViewRepresentable/SafariViewRepresentable.swift",
"EnvironmentValues/EnvironmentValues+ShortLabelWidth.swift",
"EnvironmentValues/EnvironmentValues+UserInterfaceIdiom.swift",
"Extensions/Binding+Extensions.swift",
"Extensions/Color+Extensions.swift",
"Extensions/Edge+Extensions.swift",
"Extensions/View+Alignment.swift",
"Extensions/View+Apply.swift",
"Extensions/View+Extensions.swift",
"Modifiers/FullScreenViewModifier.swift",
"Modifiers/LinkViewModifier.swift",
"Modifiers/SheetViewModifier.swift",
"Shapes/Triangle.swift",
"Wrappers/ViewControllerRepresentable.swift",
"Wrappers/ViewRepresentable.swift"
],
"target_dependencies" : [
"PhantomKitCore"
],
"type" : "library"
},
{
"c99name" : "PhantomKitLogTests",
"module_type" : "SwiftTarget",
"name" : "PhantomKitLogTests",
"path" : "Tests/PhantomKitLogTests",
"sources" : [
"ConsoleLogger+Tests.swift",
"Logger+Tests.swift",
"OSLogLogger+Tests.swift",
"Shared/Shared.swift"
],
"target_dependencies" : [
"PhantomKitCore",
"PhantomKitLog"
],
"type" : "test"
},
{
"c99name" : "PhantomKitLog",
"module_type" : "SwiftTarget",
"name" : "PhantomKitLog",
"path" : "Sources/PhantomKitLog",
"product_dependencies" : [
"Appliable"
],
"product_memberships" : [
"PhantomKit",
"PhantomKitAPI",
"PhantomKitLog"
],
"sources" : [
"Components/LogBuilder.swift",
"Loggers/ConsoleLogger.swift",
"Loggers/OSLogLogger.swift",
"Models/LogCategory.swift",
"Models/LogLevel.swift",
"Models/Logger.swift"
],
"type" : "library"
},
{
"c99name" : "PhantomKitCoreTests",
"module_type" : "SwiftTarget",
"name" : "PhantomKitCoreTests",
"path" : "Tests/PhantomKitCoreTests",
"sources" : [
"Array+Tests.swift",
"Bundle+Tests.swift",
"CGSize+Tests.swift",
"Calendar+Tests.swift",
"Comparable+Tests.swift",
"Date+Tests.swift",
"Equatable+Tests.swift",
"Error+Tests.swift",
"Locale+Tests.swift",
"NSDecimalNumber+Tests.swift",
"Set+Tests.swift",
"String+Tests.swift"
],
"target_dependencies" : [
"PhantomKitCore"
],
"type" : "test"
},
{
"c99name" : "PhantomKitCore",
"module_type" : "SwiftTarget",
"name" : "PhantomKitCore",
"path" : "Sources/PhantomKitCore",
"product_dependencies" : [
"Appliable"
],
"product_memberships" : [
"PhantomKit",
"PhantomKitAPI",
"PhantomKitCore",
"PhantomKitUI"
],
"sources" : [
"Extensions/Array+Extensions.swift",
"Extensions/Bundle+Extensions.swift",
"Extensions/CGSize+Extensions.swift",
"Extensions/Calendar+Extensions.swift",
"Extensions/Comparable+Extensions.swift",
"Extensions/Date+Extensions.swift",
"Extensions/Equatable+Extensions.swift",
"Extensions/Error+Extensions.swift",
"Extensions/Locale+Extensions.swift",
"Extensions/NSDecimalNumber+Extensions.swift",
"Extensions/Set+Extensions.swift",
"Extensions/String+Extensions.swift",
"Extensions/TimeInterval+Extensions.swift",
"Extensions/TimeZone+Extensions.swift"
],
"type" : "library"
},
{
"c99name" : "PhantomKitAPITests",
"module_type" : "SwiftTarget",
"name" : "PhantomKitAPITests",
"path" : "Tests/PhantomKitAPITests",
"sources" : [
"APIDataSource+Tests.swift",
"APIEndpoint+Tests.swift",
"AuthorizationType+Tests.swift",
"Loadable+Tests.swift",
"NetworkDataSource+Tests.swift",
"Shared/Shared.swift"
],
"target_dependencies" : [
"PhantomKitAPI"
],
"type" : "test"
},
{
"c99name" : "PhantomKitAPI",
"module_type" : "SwiftTarget",
"name" : "PhantomKitAPI",
"path" : "Sources/PhantomKitAPI",
"product_memberships" : [
"PhantomKit",
"PhantomKitAPI"
],
"sources" : [
"API/APIDataSource.swift",
"API/APIEndpoint.swift",
"Core/NetworkDataSource.swift",
"Core/NetworkSession.swift",
"Models/APIError.swift",
"Models/APIMethod.swift",
"Models/AuthorizationType.swift",
"Models/HTTPCode.swift",
"Models/Loadable.swift"
],
"target_dependencies" : [
"PhantomKitCore",
"PhantomKitLog"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.