Build Information
Successful build of WebView, reference 0.3.1 (8abc88
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 06:02:36 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kylehickinson/swiftui-webview.git
Reference: 0.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kylehickinson/swiftui-webview
* tag 0.3.1 -> FETCH_HEAD
HEAD is now at 8abc88c Merge pull request #13 from Ericarman/bug/memeory-leak-fix
Cloned https://github.com/kylehickinson/swiftui-webview.git
Revision (git rev-parse @):
8abc88c7c5c98da391a60a401110ddf59a7b961a
SUCCESS checkout https://github.com/kylehickinson/swiftui-webview.git at 0.3.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/kylehickinson/swiftui-webview.git
https://github.com/kylehickinson/swiftui-webview.git
{
"dependencies" : [
],
"manifest_display_name" : "WebView",
"name" : "WebView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "WebView",
"targets" : [
"WebView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WebView",
"module_type" : "SwiftTarget",
"name" : "WebView",
"path" : "Sources/WebView",
"product_memberships" : [
"WebView"
],
"sources" : [
"WebView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/4] Emitting module WebView
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:13:15: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public init(webView: WKWebView = WKWebView()) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
14 | self.webView = webView
15 | setupObservers()
[4/4] Compiling WebView WebView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:13:15: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public init(webView: WKWebView = WKWebView()) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
14 | self.webView = webView
15 | setupObservers()
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:21:19: warning: capture of 'self' with non-sendable type 'WebViewStore?' in a '@Sendable' closure
4 |
5 | @dynamicMemberLookup
6 | public class WebViewStore: ObservableObject {
| `- note: class 'WebViewStore' does not conform to the 'Sendable' protocol
7 | @Published public var webView: WKWebView {
8 | didSet {
:
19 | func subscriber<Value>(for keyPath: KeyPath<WKWebView, Value>) -> NSKeyValueObservation {
20 | return webView.observe(keyPath, options: [.prior]) { [weak self] _, change in
21 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'WebViewStore?' in a '@Sendable' closure
22 |
23 | if change.isPrior {
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:30:25: warning: cannot form key path to main actor-isolated property 'title'; this is an error in the Swift 6 language mode
28 | // Setup observers for all KVO compliant properties
29 | observers = [
30 | subscriber(for: \.title),
| `- warning: cannot form key path to main actor-isolated property 'title'; this is an error in the Swift 6 language mode
31 | subscriber(for: \.url),
32 | subscriber(for: \.isLoading),
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:31:25: warning: cannot form key path to main actor-isolated property 'url'; this is an error in the Swift 6 language mode
29 | observers = [
30 | subscriber(for: \.title),
31 | subscriber(for: \.url),
| `- warning: cannot form key path to main actor-isolated property 'url'; this is an error in the Swift 6 language mode
32 | subscriber(for: \.isLoading),
33 | subscriber(for: \.estimatedProgress),
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:32:25: warning: cannot form key path to main actor-isolated property 'isLoading'; this is an error in the Swift 6 language mode
30 | subscriber(for: \.title),
31 | subscriber(for: \.url),
32 | subscriber(for: \.isLoading),
| `- warning: cannot form key path to main actor-isolated property 'isLoading'; this is an error in the Swift 6 language mode
33 | subscriber(for: \.estimatedProgress),
34 | subscriber(for: \.hasOnlySecureContent),
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:33:25: warning: cannot form key path to main actor-isolated property 'estimatedProgress'; this is an error in the Swift 6 language mode
31 | subscriber(for: \.url),
32 | subscriber(for: \.isLoading),
33 | subscriber(for: \.estimatedProgress),
| `- warning: cannot form key path to main actor-isolated property 'estimatedProgress'; this is an error in the Swift 6 language mode
34 | subscriber(for: \.hasOnlySecureContent),
35 | subscriber(for: \.serverTrust),
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:34:25: warning: cannot form key path to main actor-isolated property 'hasOnlySecureContent'; this is an error in the Swift 6 language mode
32 | subscriber(for: \.isLoading),
33 | subscriber(for: \.estimatedProgress),
34 | subscriber(for: \.hasOnlySecureContent),
| `- warning: cannot form key path to main actor-isolated property 'hasOnlySecureContent'; this is an error in the Swift 6 language mode
35 | subscriber(for: \.serverTrust),
36 | subscriber(for: \.canGoBack),
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:35:25: warning: cannot form key path to main actor-isolated property 'serverTrust'; this is an error in the Swift 6 language mode
33 | subscriber(for: \.estimatedProgress),
34 | subscriber(for: \.hasOnlySecureContent),
35 | subscriber(for: \.serverTrust),
| `- warning: cannot form key path to main actor-isolated property 'serverTrust'; this is an error in the Swift 6 language mode
36 | subscriber(for: \.canGoBack),
37 | subscriber(for: \.canGoForward)
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:36:25: warning: cannot form key path to main actor-isolated property 'canGoBack'; this is an error in the Swift 6 language mode
34 | subscriber(for: \.hasOnlySecureContent),
35 | subscriber(for: \.serverTrust),
36 | subscriber(for: \.canGoBack),
| `- warning: cannot form key path to main actor-isolated property 'canGoBack'; this is an error in the Swift 6 language mode
37 | subscriber(for: \.canGoForward)
38 | ]
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:37:25: warning: cannot form key path to main actor-isolated property 'canGoForward'; this is an error in the Swift 6 language mode
35 | subscriber(for: \.serverTrust),
36 | subscriber(for: \.canGoBack),
37 | subscriber(for: \.canGoForward)
| `- warning: cannot form key path to main actor-isolated property 'canGoForward'; this is an error in the Swift 6 language mode
38 | ]
39 | if #available(iOS 15.0, macOS 12.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:41:27: warning: cannot form key path to main actor-isolated property 'themeColor'; this is an error in the Swift 6 language mode
39 | if #available(iOS 15.0, macOS 12.0, *) {
40 | observers += [
41 | subscriber(for: \.themeColor),
| `- warning: cannot form key path to main actor-isolated property 'themeColor'; this is an error in the Swift 6 language mode
42 | subscriber(for: \.underPageBackgroundColor),
43 | subscriber(for: \.microphoneCaptureState),
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:42:27: warning: cannot form key path to main actor-isolated property 'underPageBackgroundColor'; this is an error in the Swift 6 language mode
40 | observers += [
41 | subscriber(for: \.themeColor),
42 | subscriber(for: \.underPageBackgroundColor),
| `- warning: cannot form key path to main actor-isolated property 'underPageBackgroundColor'; this is an error in the Swift 6 language mode
43 | subscriber(for: \.microphoneCaptureState),
44 | subscriber(for: \.cameraCaptureState)
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:43:27: warning: cannot form key path to main actor-isolated property 'microphoneCaptureState'; this is an error in the Swift 6 language mode
41 | subscriber(for: \.themeColor),
42 | subscriber(for: \.underPageBackgroundColor),
43 | subscriber(for: \.microphoneCaptureState),
| `- warning: cannot form key path to main actor-isolated property 'microphoneCaptureState'; this is an error in the Swift 6 language mode
44 | subscriber(for: \.cameraCaptureState)
45 | ]
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:44:27: warning: cannot form key path to main actor-isolated property 'cameraCaptureState'; this is an error in the Swift 6 language mode
42 | subscriber(for: \.underPageBackgroundColor),
43 | subscriber(for: \.microphoneCaptureState),
44 | subscriber(for: \.cameraCaptureState)
| `- warning: cannot form key path to main actor-isolated property 'cameraCaptureState'; this is an error in the Swift 6 language mode
45 | ]
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/WebView/WebView.swift:49:42: warning: cannot form key path to main actor-isolated property 'fullscreenState'; this is an error in the Swift 6 language mode
47 | #if swift(>=5.7)
48 | if #available(iOS 16.0, macOS 13.0, *) {
49 | observers.append(subscriber(for: \.fullscreenState))
| `- warning: cannot form key path to main actor-isolated property 'fullscreenState'; this is an error in the Swift 6 language mode
50 | }
51 | #else
Build complete! (8.77s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "WebView",
"name" : "WebView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "WebView",
"targets" : [
"WebView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WebView",
"module_type" : "SwiftTarget",
"name" : "WebView",
"path" : "Sources/WebView",
"product_memberships" : [
"WebView"
],
"sources" : [
"WebView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.