The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Refreshable, reference main (aa1dfc), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 21:47:08 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Geri-Borbas/iOS.Package.Refreshable.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Geri-Borbas/iOS.Package.Refreshable
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at aa1dfcb Rename LICENSE.md to LICENSE
Cloned https://github.com/Geri-Borbas/iOS.Package.Refreshable.git
Revision (git rev-parse @):
aa1dfcb4e9eccd120a35e3fc4f5c4359e69a4f96
SUCCESS checkout https://github.com/Geri-Borbas/iOS.Package.Refreshable.git at main
Fetching https://github.com/siteline/SwiftUI-Introspect.git
[1/9330] Fetching swiftui-introspect
Fetched https://github.com/siteline/SwiftUI-Introspect.git from cache (1.15s)
Creating working copy for https://github.com/siteline/SwiftUI-Introspect.git
Working copy of https://github.com/siteline/SwiftUI-Introspect.git resolved at master (72a509c)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
Fetching https://github.com/Geri-Borbas/iOS.Package.Refreshable.git
[1/60] Fetching ios.package.refreshable
Fetched https://github.com/Geri-Borbas/iOS.Package.Refreshable.git from cache (0.67s)
Fetching https://github.com/siteline/SwiftUI-Introspect.git from cache
Fetched https://github.com/siteline/SwiftUI-Introspect.git from cache (0.43s)
error: could not find a branch named ‘master’ in https://github.com/siteline/SwiftUI-Introspect.git (did you mean ‘main’?)
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Geri-Borbas/iOS.Package.Refreshable.git
https://github.com/Geri-Borbas/iOS.Package.Refreshable.git
{
  "dependencies" : [
    {
      "identity" : "swiftui-introspect",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/siteline/SwiftUI-Introspect.git"
    }
  ],
  "manifest_display_name" : "Refreshable",
  "name" : "Refreshable",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Refreshable",
      "targets" : [
        "Refreshable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Refreshable",
      "module_type" : "SwiftTarget",
      "name" : "Refreshable",
      "path" : "Refreshable",
      "product_dependencies" : [
        "Introspect"
      ],
      "product_memberships" : [
        "Refreshable"
      ],
      "sources" : [
        "OnRefreshModifier.swift",
        "RefreshableModifier.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/9] Compiling Introspect UIKitIntrospectionView.swift
[5/9] Compiling Introspect UIKitIntrospectionViewController.swift
[6/9] Compiling Introspect ViewExtensions.swift
[7/9] Emitting module Introspect
[8/9] Compiling Introspect Introspect.swift
[9/9] Compiling Introspect AppKitIntrospectionView.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/12] Emitting module Refreshable
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:12:11: error: cannot find type 'UIScrollView' in scope
10 |
11 |
12 | extension UIScrollView {
   |           `- error: cannot find type 'UIScrollView' in scope
13 |
14 | 	struct Keys {
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:50:22: error: cannot find type 'UIScrollView' in scope
48 | struct OnListRefreshModifier: ViewModifier {
49 |
50 | 	let onValueChanged: UIScrollView.ValueChangedAction
   |                      `- error: cannot find type 'UIScrollView' in scope
51 |
52 | 	func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:52:38: error: 'View' is only available in macOS 10.15 or newer
46 |
47 |
48 | struct OnListRefreshModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
49 |
50 | 	let onValueChanged: UIScrollView.ValueChangedAction
51 |
52 | 	func body(content: Content) -> some View {
   |       |                              `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
53 | 		content
54 | 			.introspectTableView { tableView in
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:43: error: cannot find type 'UIScrollView' in scope
61 | public extension View {
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |                                           `- error: cannot find type 'UIScrollView' in scope
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:33: error: @escaping attribute only applies to function types
61 | public extension View {
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |                                 `- error: @escaping attribute only applies to function types
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:84: error: 'View' is only available in macOS 10.15 or newer
59 |
60 |
61 | public extension View {
   |        `- note: add @available attribute to enclosing extension
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |       |                                                                            `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:61:18: error: 'View' is only available in macOS 10.15 or newer
59 |
60 |
61 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:23:13: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |
11 | struct RefreshAction {
   |        `- note: consider making struct 'RefreshAction' conform to the 'Sendable' protocol
12 |
13 | 	let action: () async -> Void
   :
21 | struct RefreshActionKey: EnvironmentKey {
22 |
23 | 	static let defaultValue: RefreshAction? = nil
   |             |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:27:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
25 |
26 |
27 | extension EnvironmentValues {
   | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
28 |
29 | 	var refresh: RefreshAction? {
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:40:38: error: 'View' is only available in macOS 10.15 or newer
34 |
35 |
36 | struct RefreshableModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
37 |
38 | 	let action: () async -> Void
39 |
40 | 	func body(content: Content) -> some View {
   |       |                              `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
41 | 		content
42 | 			.environment(\.refresh, RefreshAction(action: action))
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:56:73: error: 'View' is only available in macOS 10.15 or newer
51 |
52 |
53 | public extension View {
   |        `- note: add @available attribute to enclosing extension
54 |
55 | 	@available(iOS, obsoleted: 15)
56 | 	func refreshable(action: @escaping @Sendable () async -> Void) -> some View {
   |       |                                                                 `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
57 | 		self.modifier(RefreshableModifier(action: action))
58 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:53:18: error: 'View' is only available in macOS 10.15 or newer
51 |
52 |
53 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
54 |
55 | 	@available(iOS, obsoleted: 15)
[11/12] Compiling Refreshable OnRefreshModifier.swift
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:12:11: error: cannot find type 'UIScrollView' in scope
10 |
11 |
12 | extension UIScrollView {
   |           `- error: cannot find type 'UIScrollView' in scope
13 |
14 | 	struct Keys {
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:50:22: error: cannot find type 'UIScrollView' in scope
48 | struct OnListRefreshModifier: ViewModifier {
49 |
50 | 	let onValueChanged: UIScrollView.ValueChangedAction
   |                      `- error: cannot find type 'UIScrollView' in scope
51 |
52 | 	func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:52:38: error: 'View' is only available in macOS 10.15 or newer
46 |
47 |
48 | struct OnListRefreshModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
49 |
50 | 	let onValueChanged: UIScrollView.ValueChangedAction
51 |
52 | 	func body(content: Content) -> some View {
   |       |                              `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
53 | 		content
54 | 			.introspectTableView { tableView in
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:43: error: cannot find type 'UIScrollView' in scope
61 | public extension View {
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |                                           `- error: cannot find type 'UIScrollView' in scope
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:33: error: @escaping attribute only applies to function types
61 | public extension View {
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |                                 `- error: @escaping attribute only applies to function types
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:84: error: 'View' is only available in macOS 10.15 or newer
59 |
60 |
61 | public extension View {
   |        `- note: add @available attribute to enclosing extension
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |       |                                                                            `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:61:18: error: 'View' is only available in macOS 10.15 or newer
59 |
60 |
61 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:55:15: error: value of type 'NSTableView' has no member 'onRefresh'
53 | 		content
54 | 			.introspectTableView { tableView in
55 | 				tableView.onRefresh(onValueChanged)
   |               `- error: value of type 'NSTableView' has no member 'onRefresh'
56 | 			}
57 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:18:60: error: cannot find type 'UIRefreshControl' in scope
16 | 	}
17 |
18 | 	public typealias ValueChangedAction = ((_ refreshControl: UIRefreshControl) -> Void)
   |                                                            `- error: cannot find type 'UIRefreshControl' in scope
19 |
20 | 	var onValueChanged: ValueChangedAction? {
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:20:22: error: cannot find type 'ValueChangedAction' in scope
18 | 	public typealias ValueChangedAction = ((_ refreshControl: UIRefreshControl) -> Void)
19 |
20 | 	var onValueChanged: ValueChangedAction? {
   |                      `- error: cannot find type 'ValueChangedAction' in scope
21 | 		get {
22 | 			objc_getAssociatedObject(self, &Keys.onValueChanged) as? ValueChangedAction
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:29:52: error: cannot find type 'ValueChangedAction' in scope
27 | 	}
28 |
29 | 	public func onRefresh(_ onValueChanged: @escaping ValueChangedAction) {
   |                                                    `- error: cannot find type 'ValueChangedAction' in scope
30 | 		if refreshControl == nil {
31 | 			let refreshControl = UIRefreshControl()
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:29:42: error: @escaping attribute only applies to function types
27 | 	}
28 |
29 | 	public func onRefresh(_ onValueChanged: @escaping ValueChangedAction) {
   |                                          `- error: @escaping attribute only applies to function types
30 | 		if refreshControl == nil {
31 | 			let refreshControl = UIRefreshControl()
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:42:42: error: cannot find type 'UIRefreshControl' in scope
40 | 	}
41 |
42 | 	@objc func onValueChangedAction(sender: UIRefreshControl) {
   |                                          `- error: cannot find type 'UIRefreshControl' in scope
43 | 		self.onValueChanged?(sender)
44 | 	}
[12/12] Compiling Refreshable RefreshableModifier.swift
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:23:13: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 |
11 | struct RefreshAction {
   |        `- note: consider making struct 'RefreshAction' conform to the 'Sendable' protocol
12 |
13 | 	let action: () async -> Void
   :
21 | struct RefreshActionKey: EnvironmentKey {
22 |
23 | 	static let defaultValue: RefreshAction? = nil
   |             |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RefreshAction?' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:27:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
25 |
26 |
27 | extension EnvironmentValues {
   | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
28 |
29 | 	var refresh: RefreshAction? {
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:40:38: error: 'View' is only available in macOS 10.15 or newer
34 |
35 |
36 | struct RefreshableModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
37 |
38 | 	let action: () async -> Void
39 |
40 | 	func body(content: Content) -> some View {
   |       |                              `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
41 | 		content
42 | 			.environment(\.refresh, RefreshAction(action: action))
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:56:73: error: 'View' is only available in macOS 10.15 or newer
51 |
52 |
53 | public extension View {
   |        `- note: add @available attribute to enclosing extension
54 |
55 | 	@available(iOS, obsoleted: 15)
56 | 	func refreshable(action: @escaping @Sendable () async -> Void) -> some View {
   |       |                                                                 `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
57 | 		self.modifier(RefreshableModifier(action: action))
58 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:53:18: error: 'View' is only available in macOS 10.15 or newer
51 |
52 |
53 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
54 |
55 | 	@available(iOS, obsoleted: 15)
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:43: error: cannot find type 'UIScrollView' in scope
61 | public extension View {
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |                                           `- error: cannot find type 'UIScrollView' in scope
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:33: error: @escaping attribute only applies to function types
61 | public extension View {
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |                                 `- error: @escaping attribute only applies to function types
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:57:8: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
51 |
52 |
53 | public extension View {
   |        `- note: add @available attribute to enclosing extension
54 |
55 | 	@available(iOS, obsoleted: 15)
56 | 	func refreshable(action: @escaping @Sendable () async -> Void) -> some View {
   |       `- note: add @available attribute to enclosing instance method
57 | 		self.modifier(RefreshableModifier(action: action))
   |        |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |        `- note: add 'if #available' version check
58 | 	}
59 | }
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:57:8: error: 'modifier' is only available in macOS 10.15 or newer
51 |
52 |
53 | public extension View {
   |        `- note: add @available attribute to enclosing extension
54 |
55 | 	@available(iOS, obsoleted: 15)
56 | 	func refreshable(action: @escaping @Sendable () async -> Void) -> some View {
   |       `- note: add @available attribute to enclosing instance method
57 | 		self.modifier(RefreshableModifier(action: action))
   |        |- error: 'modifier' is only available in macOS 10.15 or newer
   |        `- note: add 'if #available' version check
58 | 	}
59 | }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/7] Compiling Introspect ViewExtensions.swift
[3/7] Compiling Introspect UIKitIntrospectionView.swift
[4/7] Compiling Introspect UIKitIntrospectionViewController.swift
[5/7] Emitting module Introspect
[6/7] Compiling Introspect Introspect.swift
[7/7] Compiling Introspect AppKitIntrospectionView.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/10] Emitting module Refreshable
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:12:11: error: cannot find type 'UIScrollView' in scope
10 |
11 |
12 | extension UIScrollView {
   |           `- error: cannot find type 'UIScrollView' in scope
13 |
14 | 	struct Keys {
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:50:22: error: cannot find type 'UIScrollView' in scope
48 | struct OnListRefreshModifier: ViewModifier {
49 |
50 | 	let onValueChanged: UIScrollView.ValueChangedAction
   |                      `- error: cannot find type 'UIScrollView' in scope
51 |
52 | 	func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:52:38: error: 'View' is only available in macOS 10.15 or newer
46 |
47 |
48 | struct OnListRefreshModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
49 |
50 | 	let onValueChanged: UIScrollView.ValueChangedAction
51 |
52 | 	func body(content: Content) -> some View {
   |       |                              `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
53 | 		content
54 | 			.introspectTableView { tableView in
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:43: error: cannot find type 'UIScrollView' in scope
61 | public extension View {
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |                                           `- error: cannot find type 'UIScrollView' in scope
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:33: error: @escaping attribute only applies to function types
61 | public extension View {
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |                                 `- error: @escaping attribute only applies to function types
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:84: error: 'View' is only available in macOS 10.15 or newer
59 |
60 |
61 | public extension View {
   |        `- note: add @available attribute to enclosing extension
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |       |                                                                            `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:61:18: error: 'View' is only available in macOS 10.15 or newer
59 |
60 |
61 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:27:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
25 |
26 |
27 | extension EnvironmentValues {
   | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
28 |
29 | 	var refresh: RefreshAction? {
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:40:38: error: 'View' is only available in macOS 10.15 or newer
34 |
35 |
36 | struct RefreshableModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
37 |
38 | 	let action: () async -> Void
39 |
40 | 	func body(content: Content) -> some View {
   |       |                              `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
41 | 		content
42 | 			.environment(\.refresh, RefreshAction(action: action))
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:56:73: error: 'View' is only available in macOS 10.15 or newer
51 |
52 |
53 | public extension View {
   |        `- note: add @available attribute to enclosing extension
54 |
55 | 	@available(iOS, obsoleted: 15)
56 | 	func refreshable(action: @escaping @Sendable () async -> Void) -> some View {
   |       |                                                                 `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
57 | 		self.modifier(RefreshableModifier(action: action))
58 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:53:18: error: 'View' is only available in macOS 10.15 or newer
51 |
52 |
53 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
54 |
55 | 	@available(iOS, obsoleted: 15)
[9/10] Compiling Refreshable RefreshableModifier.swift
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:27:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
25 |
26 |
27 | extension EnvironmentValues {
   | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
28 |
29 | 	var refresh: RefreshAction? {
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:40:38: error: 'View' is only available in macOS 10.15 or newer
34 |
35 |
36 | struct RefreshableModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
37 |
38 | 	let action: () async -> Void
39 |
40 | 	func body(content: Content) -> some View {
   |       |                              `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
41 | 		content
42 | 			.environment(\.refresh, RefreshAction(action: action))
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:56:73: error: 'View' is only available in macOS 10.15 or newer
51 |
52 |
53 | public extension View {
   |        `- note: add @available attribute to enclosing extension
54 |
55 | 	@available(iOS, obsoleted: 15)
56 | 	func refreshable(action: @escaping @Sendable () async -> Void) -> some View {
   |       |                                                                 `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
57 | 		self.modifier(RefreshableModifier(action: action))
58 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:53:18: error: 'View' is only available in macOS 10.15 or newer
51 |
52 |
53 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
54 |
55 | 	@available(iOS, obsoleted: 15)
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:43: error: cannot find type 'UIScrollView' in scope
61 | public extension View {
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |                                           `- error: cannot find type 'UIScrollView' in scope
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:33: error: @escaping attribute only applies to function types
61 | public extension View {
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |                                 `- error: @escaping attribute only applies to function types
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:57:8: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
51 |
52 |
53 | public extension View {
   |        `- note: add @available attribute to enclosing extension
54 |
55 | 	@available(iOS, obsoleted: 15)
56 | 	func refreshable(action: @escaping @Sendable () async -> Void) -> some View {
   |       `- note: add @available attribute to enclosing instance method
57 | 		self.modifier(RefreshableModifier(action: action))
   |        |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |        `- note: add 'if #available' version check
58 | 	}
59 | }
/Users/admin/builder/spi-builder-workspace/Refreshable/RefreshableModifier.swift:57:8: error: 'modifier' is only available in macOS 10.15 or newer
51 |
52 |
53 | public extension View {
   |        `- note: add @available attribute to enclosing extension
54 |
55 | 	@available(iOS, obsoleted: 15)
56 | 	func refreshable(action: @escaping @Sendable () async -> Void) -> some View {
   |       `- note: add @available attribute to enclosing instance method
57 | 		self.modifier(RefreshableModifier(action: action))
   |        |- error: 'modifier' is only available in macOS 10.15 or newer
   |        `- note: add 'if #available' version check
58 | 	}
59 | }
[10/10] Compiling Refreshable OnRefreshModifier.swift
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:12:11: error: cannot find type 'UIScrollView' in scope
10 |
11 |
12 | extension UIScrollView {
   |           `- error: cannot find type 'UIScrollView' in scope
13 |
14 | 	struct Keys {
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:50:22: error: cannot find type 'UIScrollView' in scope
48 | struct OnListRefreshModifier: ViewModifier {
49 |
50 | 	let onValueChanged: UIScrollView.ValueChangedAction
   |                      `- error: cannot find type 'UIScrollView' in scope
51 |
52 | 	func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:52:38: error: 'View' is only available in macOS 10.15 or newer
46 |
47 |
48 | struct OnListRefreshModifier: ViewModifier {
   |        `- note: add @available attribute to enclosing struct
49 |
50 | 	let onValueChanged: UIScrollView.ValueChangedAction
51 |
52 | 	func body(content: Content) -> some View {
   |       |                              `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
53 | 		content
54 | 			.introspectTableView { tableView in
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:43: error: cannot find type 'UIScrollView' in scope
61 | public extension View {
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |                                           `- error: cannot find type 'UIScrollView' in scope
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:33: error: @escaping attribute only applies to function types
61 | public extension View {
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |                                 `- error: @escaping attribute only applies to function types
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:63:84: error: 'View' is only available in macOS 10.15 or newer
59 |
60 |
61 | public extension View {
   |        `- note: add @available attribute to enclosing extension
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
   |       |                                                                            `- error: 'View' is only available in macOS 10.15 or newer
   |       `- note: add @available attribute to enclosing instance method
64 | 		self.modifier(OnListRefreshModifier(onValueChanged: onValueChanged))
65 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:61:18: error: 'View' is only available in macOS 10.15 or newer
59 |
60 |
61 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
62 |
63 | 	func onRefresh(onValueChanged: @escaping UIScrollView.ValueChangedAction) -> some View {
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:55:15: error: value of type 'NSTableView' has no member 'onRefresh'
53 | 		content
54 | 			.introspectTableView { tableView in
55 | 				tableView.onRefresh(onValueChanged)
   |               `- error: value of type 'NSTableView' has no member 'onRefresh'
56 | 			}
57 | 	}
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:18:60: error: cannot find type 'UIRefreshControl' in scope
16 | 	}
17 |
18 | 	public typealias ValueChangedAction = ((_ refreshControl: UIRefreshControl) -> Void)
   |                                                            `- error: cannot find type 'UIRefreshControl' in scope
19 |
20 | 	var onValueChanged: ValueChangedAction? {
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:20:22: error: cannot find type 'ValueChangedAction' in scope
18 | 	public typealias ValueChangedAction = ((_ refreshControl: UIRefreshControl) -> Void)
19 |
20 | 	var onValueChanged: ValueChangedAction? {
   |                      `- error: cannot find type 'ValueChangedAction' in scope
21 | 		get {
22 | 			objc_getAssociatedObject(self, &Keys.onValueChanged) as? ValueChangedAction
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:29:52: error: cannot find type 'ValueChangedAction' in scope
27 | 	}
28 |
29 | 	public func onRefresh(_ onValueChanged: @escaping ValueChangedAction) {
   |                                                    `- error: cannot find type 'ValueChangedAction' in scope
30 | 		if refreshControl == nil {
31 | 			let refreshControl = UIRefreshControl()
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:29:42: error: @escaping attribute only applies to function types
27 | 	}
28 |
29 | 	public func onRefresh(_ onValueChanged: @escaping ValueChangedAction) {
   |                                          `- error: @escaping attribute only applies to function types
30 | 		if refreshControl == nil {
31 | 			let refreshControl = UIRefreshControl()
/Users/admin/builder/spi-builder-workspace/Refreshable/OnRefreshModifier.swift:42:42: error: cannot find type 'UIRefreshControl' in scope
40 | 	}
41 |
42 | 	@objc func onValueChangedAction(sender: UIRefreshControl) {
   |                                          `- error: cannot find type 'UIRefreshControl' in scope
43 | 		self.onValueChanged?(sender)
44 | 	}
BUILD FAILURE 6.1 macosSpm