Build Information
Successful build of InfiniteScrollViews, reference v1.2.0 (1a00cc
), with Swift 6.1 for macOS (SPM) on 29 Aug 2025 13:05:42 UTC.
Swift 6 data race errors: 0
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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/b5i/InfiniteScrollViews.git
Reference: v1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/b5i/InfiniteScrollViews
* tag v1.2.0 -> FETCH_HEAD
HEAD is now at 1a00cc9 fix: unnecessary reset view controller (#5)
Cloned https://github.com/b5i/InfiniteScrollViews.git
Revision (git rev-parse @):
1a00cc92ee64cf912fbadacf53c3ee85aa7fa3d6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/b5i/InfiniteScrollViews.git at v1.2.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": "infinitescrollviews",
"name": "InfiniteScrollViews",
"url": "https://github.com/b5i/InfiniteScrollViews.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/InfiniteScrollViews",
"dependencies": [
]
}
]
}
Fetching https://github.com/b5i/InfiniteScrollViews.git
[1/160] Fetching infinitescrollviews
Fetched https://github.com/b5i/InfiniteScrollViews.git from cache (0.67s)
Creating working copy for https://github.com/b5i/InfiniteScrollViews.git
Working copy of https://github.com/b5i/InfiniteScrollViews.git resolved at v1.2.0 (1a00cc9)
warning: '.resolve-product-dependencies': dependency 'infinitescrollviews' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/b5i/InfiniteScrollViews.git
https://github.com/b5i/InfiniteScrollViews.git
{
"dependencies" : [
],
"manifest_display_name" : "InfiniteScrollViews",
"name" : "InfiniteScrollViews",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "InfiniteScrollViews",
"targets" : [
"InfiniteScrollViews"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "InfiniteScrollViews",
"module_type" : "SwiftTarget",
"name" : "InfiniteScrollViews",
"path" : "Sources/InfiniteScrollViews",
"product_memberships" : [
"InfiniteScrollViews"
],
"sources" : [
"InfiniteScrollView.swift",
"PagedInfiniteScrollView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
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/5] Emitting module InfiniteScrollViews
[4/5] Compiling InfiniteScrollViews InfiniteScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/InfiniteScrollView.swift:183:72: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
181 | public func makeNSView(context: Context) -> NSInfiniteScrollView<ChangeIndex> {
182 | let convertedClosure: (ChangeIndex) -> NSView = { changeIndex in
183 | return NSHostingController(rootView: content(changeIndex)).view
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
184 | }
185 | return NSInfiniteScrollView(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/InfiniteScrollView.swift:183:20: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
181 | public func makeNSView(context: Context) -> NSInfiniteScrollView<ChangeIndex> {
182 | let convertedClosure: (ChangeIndex) -> NSView = { changeIndex in
183 | return NSHostingController(rootView: content(changeIndex)).view
| `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
184 | }
185 | return NSInfiniteScrollView(
SwiftUI.NSHostingController.init:2:35: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
1 | generic class NSHostingController {
2 | @MainActor @preconcurrency public init(rootView: Content)}
| `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/InfiniteScrollView.swift:185:16: warning: call to main actor-isolated initializer 'init(frame:content:contentFrame:changeIndex:changeIndexIncreaseAction:changeIndexDecreaseAction:contentMultiplier:orientation:refreshAction:spacing:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
179 |
180 | #if os(macOS)
181 | public func makeNSView(context: Context) -> NSInfiniteScrollView<ChangeIndex> {
| `- note: add '@MainActor' to make instance method 'makeNSView(context:)' part of global actor 'MainActor'
182 | let convertedClosure: (ChangeIndex) -> NSView = { changeIndex in
183 | return NSHostingController(rootView: content(changeIndex)).view
184 | }
185 | return NSInfiniteScrollView(
| `- warning: call to main actor-isolated initializer 'init(frame:content:contentFrame:changeIndex:changeIndexIncreaseAction:changeIndexDecreaseAction:contentMultiplier:orientation:refreshAction:spacing:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
186 | frame: frame,
187 | content: convertedClosure,
:
356 | /// - refreshAction: Action to do when the user pull the InfiniteScrollView to the top to refresh the content, should be nil if there is no need to refresh anything. Gives an action that must be used in order for refresh to end.
357 | /// - spacing: Space between the views.
358 | public init(
| |- note: calls to initializer 'init(frame:content:contentFrame:changeIndex:changeIndexIncreaseAction:changeIndexDecreaseAction:contentMultiplier:orientation:refreshAction:spacing:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSScrollView'
359 | frame: CGRect,
360 | content: @escaping (ChangeIndex) -> NSView,
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/InfiniteScrollView.swift:201:20: warning: call to main actor-isolated instance method 'layout()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
197 | }
198 |
199 | public func updateNSView(_ nsView: NSInfiniteScrollView<ChangeIndex>, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateNSView(_:context:)' part of global actor 'MainActor'
200 | if updateBinding?.wrappedValue ?? false {
201 | nsView.layout()
| `- warning: call to main actor-isolated instance method 'layout()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
202 | if !Thread.isMainThread {
203 | DispatchQueue.main.sync {
:
527 | }
528 |
529 | public override func layout() {
| |- note: calls to instance method 'layout()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSScrollView'
530 | super.layout()
531 | self.sameTimeLayout += 1
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/InfiniteScrollView.swift:185:16: warning: sending 'convertedClosure' risks causing data races; this is an error in the Swift 6 language mode
183 | return NSHostingController(rootView: content(changeIndex)).view
184 | }
185 | return NSInfiniteScrollView(
| |- warning: sending 'convertedClosure' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'convertedClosure' to main actor-isolated initializer 'init(frame:content:contentFrame:changeIndex:changeIndexIncreaseAction:changeIndexDecreaseAction:contentMultiplier:orientation:refreshAction:spacing:)' risks causing data races between main actor-isolated and task-isolated uses
186 | frame: frame,
187 | content: convertedClosure,
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/InfiniteScrollView.swift:185:16: warning: sending 'self.contentFrame' risks causing data races; this is an error in the Swift 6 language mode
183 | return NSHostingController(rootView: content(changeIndex)).view
184 | }
185 | return NSInfiniteScrollView(
| |- warning: sending 'self.contentFrame' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.contentFrame' to main actor-isolated initializer 'init(frame:content:contentFrame:changeIndex:changeIndexIncreaseAction:changeIndexDecreaseAction:contentMultiplier:orientation:refreshAction:spacing:)' risks causing data races between main actor-isolated and task-isolated uses
186 | frame: frame,
187 | content: convertedClosure,
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/InfiniteScrollView.swift:185:16: warning: sending 'self.changeIndex' risks causing data races; this is an error in the Swift 6 language mode
183 | return NSHostingController(rootView: content(changeIndex)).view
184 | }
185 | return NSInfiniteScrollView(
| |- warning: sending 'self.changeIndex' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.changeIndex' to main actor-isolated initializer 'init(frame:content:contentFrame:changeIndex:changeIndexIncreaseAction:changeIndexDecreaseAction:contentMultiplier:orientation:refreshAction:spacing:)' risks causing data races between main actor-isolated and task-isolated uses
186 | frame: frame,
187 | content: convertedClosure,
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/InfiniteScrollView.swift:185:16: warning: sending 'self.increaseIndexAction' risks causing data races; this is an error in the Swift 6 language mode
183 | return NSHostingController(rootView: content(changeIndex)).view
184 | }
185 | return NSInfiniteScrollView(
| |- warning: sending 'self.increaseIndexAction' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.increaseIndexAction' to main actor-isolated initializer 'init(frame:content:contentFrame:changeIndex:changeIndexIncreaseAction:changeIndexDecreaseAction:contentMultiplier:orientation:refreshAction:spacing:)' risks causing data races between main actor-isolated and task-isolated uses
186 | frame: frame,
187 | content: convertedClosure,
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/InfiniteScrollView.swift:185:16: warning: sending 'self.decreaseIndexAction' risks causing data races; this is an error in the Swift 6 language mode
183 | return NSHostingController(rootView: content(changeIndex)).view
184 | }
185 | return NSInfiniteScrollView(
| |- warning: sending 'self.decreaseIndexAction' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.decreaseIndexAction' to main actor-isolated initializer 'init(frame:content:contentFrame:changeIndex:changeIndexIncreaseAction:changeIndexDecreaseAction:contentMultiplier:orientation:refreshAction:spacing:)' risks causing data races between main actor-isolated and task-isolated uses
186 | frame: frame,
187 | content: convertedClosure,
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/InfiniteScrollView.swift:185:16: warning: sending 'self.orientation' risks causing data races; this is an error in the Swift 6 language mode
183 | return NSHostingController(rootView: content(changeIndex)).view
184 | }
185 | return NSInfiniteScrollView(
| |- warning: sending 'self.orientation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.orientation' to main actor-isolated initializer 'init(frame:content:contentFrame:changeIndex:changeIndexIncreaseAction:changeIndexDecreaseAction:contentMultiplier:orientation:refreshAction:spacing:)' risks causing data races between main actor-isolated and task-isolated uses
186 | frame: frame,
187 | content: convertedClosure,
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/InfiniteScrollView.swift:185:16: warning: sending 'self.refreshAction' risks causing data races; this is an error in the Swift 6 language mode
183 | return NSHostingController(rootView: content(changeIndex)).view
184 | }
185 | return NSInfiniteScrollView(
| |- warning: sending 'self.refreshAction' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.refreshAction' to main actor-isolated initializer 'init(frame:content:contentFrame:changeIndex:changeIndexIncreaseAction:changeIndexDecreaseAction:contentMultiplier:orientation:refreshAction:spacing:)' risks causing data races between main actor-isolated and task-isolated uses
186 | frame: frame,
187 | content: convertedClosure,
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/InfiniteScrollView.swift:183:20: warning: sending value of non-Sendable type 'Content' risks causing data races; this is an error in the Swift 6 language mode
181 | public func makeNSView(context: Context) -> NSInfiniteScrollView<ChangeIndex> {
182 | let convertedClosure: (ChangeIndex) -> NSView = { changeIndex in
183 | return NSHostingController(rootView: content(changeIndex)).view
| |- warning: sending value of non-Sendable type 'Content' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'Content' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
184 | }
185 | return NSInfiniteScrollView(
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/InfiniteScrollView.swift:204:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
202 | if !Thread.isMainThread {
203 | DispatchQueue.main.sync {
204 | updateBinding?.wrappedValue = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
205 | }
206 | } else {
[5/5] Compiling InfiniteScrollViews PagedInfiniteScrollView.swift
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:154:20: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 | /// Creates the main view and set it in the ``NSPageViewController``.
153 | let convertedClosure: (ChangeIndex) -> NSViewController = { changeIndex in
154 | return NSHostingController(rootView: content(changeIndex))
| `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 | let changeIndexNotification: (ChangeIndex) -> () = { changeIndex in
SwiftUI.NSHostingController.init:2:35: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
1 | generic class NSHostingController {
2 | @MainActor @preconcurrency public init(rootView: Content)}
| `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:162:16: warning: call to main actor-isolated initializer 'init(content:changeIndex:changeIndexNotification:increaseIndexAction:decreaseIndexAction:shouldAnimateBetween:indexesEqual:transitionStyle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
149 | }
150 |
151 | public func makeNSViewController(context: Context) -> NSPagedInfiniteScrollView<ChangeIndex> {
| `- note: add '@MainActor' to make instance method 'makeNSViewController(context:)' part of global actor 'MainActor'
152 | /// Creates the main view and set it in the ``NSPageViewController``.
153 | let convertedClosure: (ChangeIndex) -> NSViewController = { changeIndex in
:
160 | }
161 |
162 | return NSPagedInfiniteScrollView(content: convertedClosure, changeIndex: changeIndex.wrappedValue, changeIndexNotification: changeIndexNotification, increaseIndexAction: increaseIndexAction, decreaseIndexAction: decreaseIndexAction, shouldAnimateBetween: shouldAnimateBetween, indexesEqual: indexesEqual, transitionStyle: transitionStyle)
| `- warning: call to main actor-isolated initializer 'init(content:changeIndex:changeIndexNotification:increaseIndexAction:decreaseIndexAction:shouldAnimateBetween:indexesEqual:transitionStyle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
163 | }
164 |
:
413 | /// - indexesEqual: Function that should tell whether two ChangeIndex should be considered as equal (and so shouldn't change the controller if a transition is made between them).
414 | /// - transitionStyle: The style for transitions between pages.
415 | public init(
| |- note: calls to initializer 'init(content:changeIndex:changeIndexNotification:increaseIndexAction:decreaseIndexAction:shouldAnimateBetween:indexesEqual:transitionStyle:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSPageController'
416 | content: @escaping (ChangeIndex) -> NSViewController,
417 | changeIndex: ChangeIndex,
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:166:26: warning: call to main actor-isolated instance method 'changeCurrentIndex(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
163 | }
164 |
165 | public func updateNSViewController(_ nsViewController: NSPagedInfiniteScrollView<ChangeIndex>, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateNSViewController(_:context:)' part of global actor 'MainActor'
166 | nsViewController.changeCurrentIndex(to: changeIndex.wrappedValue)
| `- warning: call to main actor-isolated instance method 'changeCurrentIndex(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
167 | }
168 | #else
:
473 |
474 | /// Programmaticaly change the current index (with animation).
475 | public func changeCurrentIndex(to newIndex: ChangeIndex) {
| |- note: calls to instance method 'changeCurrentIndex(to:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSPageController'
476 | if !self.indexesEqual(self.changeIndex, newIndex) {
477 | if let newIndexIndex = self.arrangedObjects.firstIndex(where: {
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:162:16: warning: sending 'convertedClosure' risks causing data races; this is an error in the Swift 6 language mode
160 | }
161 |
162 | return NSPagedInfiniteScrollView(content: convertedClosure, changeIndex: changeIndex.wrappedValue, changeIndexNotification: changeIndexNotification, increaseIndexAction: increaseIndexAction, decreaseIndexAction: decreaseIndexAction, shouldAnimateBetween: shouldAnimateBetween, indexesEqual: indexesEqual, transitionStyle: transitionStyle)
| |- warning: sending 'convertedClosure' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'convertedClosure' to main actor-isolated initializer 'init(content:changeIndex:changeIndexNotification:increaseIndexAction:decreaseIndexAction:shouldAnimateBetween:indexesEqual:transitionStyle:)' risks causing data races between main actor-isolated and task-isolated uses
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:162:16: warning: sending value of non-Sendable type 'ChangeIndex' risks causing data races; this is an error in the Swift 6 language mode
160 | }
161 |
162 | return NSPagedInfiniteScrollView(content: convertedClosure, changeIndex: changeIndex.wrappedValue, changeIndexNotification: changeIndexNotification, increaseIndexAction: increaseIndexAction, decreaseIndexAction: decreaseIndexAction, shouldAnimateBetween: shouldAnimateBetween, indexesEqual: indexesEqual, transitionStyle: transitionStyle)
| |- warning: sending value of non-Sendable type 'ChangeIndex' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'ChangeIndex' to main actor-isolated initializer 'init(content:changeIndex:changeIndexNotification:increaseIndexAction:decreaseIndexAction:shouldAnimateBetween:indexesEqual:transitionStyle:)' risks causing races in between task-isolated and main actor-isolated uses
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:162:16: warning: sending 'changeIndexNotification.some' risks causing data races; this is an error in the Swift 6 language mode
160 | }
161 |
162 | return NSPagedInfiniteScrollView(content: convertedClosure, changeIndex: changeIndex.wrappedValue, changeIndexNotification: changeIndexNotification, increaseIndexAction: increaseIndexAction, decreaseIndexAction: decreaseIndexAction, shouldAnimateBetween: shouldAnimateBetween, indexesEqual: indexesEqual, transitionStyle: transitionStyle)
| |- warning: sending 'changeIndexNotification.some' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'changeIndexNotification.some' to main actor-isolated initializer 'init(content:changeIndex:changeIndexNotification:increaseIndexAction:decreaseIndexAction:shouldAnimateBetween:indexesEqual:transitionStyle:)' risks causing data races between main actor-isolated and task-isolated uses
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:162:16: warning: sending 'self.increaseIndexAction' risks causing data races; this is an error in the Swift 6 language mode
160 | }
161 |
162 | return NSPagedInfiniteScrollView(content: convertedClosure, changeIndex: changeIndex.wrappedValue, changeIndexNotification: changeIndexNotification, increaseIndexAction: increaseIndexAction, decreaseIndexAction: decreaseIndexAction, shouldAnimateBetween: shouldAnimateBetween, indexesEqual: indexesEqual, transitionStyle: transitionStyle)
| |- warning: sending 'self.increaseIndexAction' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.increaseIndexAction' to main actor-isolated initializer 'init(content:changeIndex:changeIndexNotification:increaseIndexAction:decreaseIndexAction:shouldAnimateBetween:indexesEqual:transitionStyle:)' risks causing data races between main actor-isolated and task-isolated uses
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:162:16: warning: sending 'self.decreaseIndexAction' risks causing data races; this is an error in the Swift 6 language mode
160 | }
161 |
162 | return NSPagedInfiniteScrollView(content: convertedClosure, changeIndex: changeIndex.wrappedValue, changeIndexNotification: changeIndexNotification, increaseIndexAction: increaseIndexAction, decreaseIndexAction: decreaseIndexAction, shouldAnimateBetween: shouldAnimateBetween, indexesEqual: indexesEqual, transitionStyle: transitionStyle)
| |- warning: sending 'self.decreaseIndexAction' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.decreaseIndexAction' to main actor-isolated initializer 'init(content:changeIndex:changeIndexNotification:increaseIndexAction:decreaseIndexAction:shouldAnimateBetween:indexesEqual:transitionStyle:)' risks causing data races between main actor-isolated and task-isolated uses
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:162:16: warning: sending 'self.shouldAnimateBetween' risks causing data races; this is an error in the Swift 6 language mode
160 | }
161 |
162 | return NSPagedInfiniteScrollView(content: convertedClosure, changeIndex: changeIndex.wrappedValue, changeIndexNotification: changeIndexNotification, increaseIndexAction: increaseIndexAction, decreaseIndexAction: decreaseIndexAction, shouldAnimateBetween: shouldAnimateBetween, indexesEqual: indexesEqual, transitionStyle: transitionStyle)
| |- warning: sending 'self.shouldAnimateBetween' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.shouldAnimateBetween' to main actor-isolated initializer 'init(content:changeIndex:changeIndexNotification:increaseIndexAction:decreaseIndexAction:shouldAnimateBetween:indexesEqual:transitionStyle:)' risks causing data races between main actor-isolated and task-isolated uses
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:162:16: warning: sending 'self.indexesEqual' risks causing data races; this is an error in the Swift 6 language mode
160 | }
161 |
162 | return NSPagedInfiniteScrollView(content: convertedClosure, changeIndex: changeIndex.wrappedValue, changeIndexNotification: changeIndexNotification, increaseIndexAction: increaseIndexAction, decreaseIndexAction: decreaseIndexAction, shouldAnimateBetween: shouldAnimateBetween, indexesEqual: indexesEqual, transitionStyle: transitionStyle)
| |- warning: sending 'self.indexesEqual' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.indexesEqual' to main actor-isolated initializer 'init(content:changeIndex:changeIndexNotification:increaseIndexAction:decreaseIndexAction:shouldAnimateBetween:indexesEqual:transitionStyle:)' risks causing data races between main actor-isolated and task-isolated uses
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:154:20: warning: sending value of non-Sendable type 'Content' risks causing data races; this is an error in the Swift 6 language mode
152 | /// Creates the main view and set it in the ``NSPageViewController``.
153 | let convertedClosure: (ChangeIndex) -> NSViewController = { changeIndex in
154 | return NSHostingController(rootView: content(changeIndex))
| |- warning: sending value of non-Sendable type 'Content' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'Content' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
155 | }
156 | let changeIndexNotification: (ChangeIndex) -> () = { changeIndex in
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:158:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
156 | let changeIndexNotification: (ChangeIndex) -> () = { changeIndex in
157 | DispatchQueue.main.async {
158 | self.changeIndex.wrappedValue = changeIndex
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
159 | }
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:158:49: warning: sending 'changeIndex' risks causing data races; this is an error in the Swift 6 language mode
156 | let changeIndexNotification: (ChangeIndex) -> () = { changeIndex in
157 | DispatchQueue.main.async {
158 | self.changeIndex.wrappedValue = changeIndex
| |- warning: sending 'changeIndex' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'changeIndex' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
159 | }
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:166:26: warning: sending value of non-Sendable type 'ChangeIndex' risks causing data races; this is an error in the Swift 6 language mode
164 |
165 | public func updateNSViewController(_ nsViewController: NSPagedInfiniteScrollView<ChangeIndex>, context: Context) {
166 | nsViewController.changeCurrentIndex(to: changeIndex.wrappedValue)
| |- warning: sending value of non-Sendable type 'ChangeIndex' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type 'ChangeIndex' to main actor-isolated instance method 'changeCurrentIndex(to:)' risks causing races in between task-isolated and main actor-isolated uses
167 | }
168 | #else
Build complete! (7.74s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "InfiniteScrollViews",
"name" : "InfiniteScrollViews",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "InfiniteScrollViews",
"targets" : [
"InfiniteScrollViews"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "InfiniteScrollViews",
"module_type" : "SwiftTarget",
"name" : "InfiniteScrollViews",
"path" : "Sources/InfiniteScrollViews",
"product_memberships" : [
"InfiniteScrollViews"
],
"sources" : [
"InfiniteScrollView.swift",
"PagedInfiniteScrollView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/b5i/infinitescrollviews/v1.2.0
Repository: b5i/InfiniteScrollViews
Swift version used: 6.1
Target: InfiniteScrollViews
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 4633b45fc732d8c55568be09dd852f9dc1582c25 -> FETCH_HEAD
HEAD is now at 4633b45 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Extracting symbol information for 'InfiniteScrollViews'...
Finished extracting symbol information for 'InfiniteScrollViews'. (6.20s)
Building documentation for 'InfiniteScrollViews'...
warning: 'arrangedObjects' doesn't exist at '/InfiniteScrollViews/NSPagedInfiniteScrollView'
--> Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:562:87-562:102
560 | /// Logic:
561 | /// 1. Take the new index
562 + /// 2. Take a potential previous index, put it in the ``NSPagedInfiniteScrollView/arrangedObjects`` before the new index. If there isn't, put only the new index in the ``NSPagedInfiniteScrollView/arrangedObjects``.
563 | /// 3. Check if there's a nextIndex, if there is, put it at the end of ``NSPagedInfiniteScrollView/arrangedObjects``.
564 | public func pageController(_ pageController: NSPageController, didTransitionTo object: Any) {
warning: 'arrangedObjects' doesn't exist at '/InfiniteScrollViews/NSPagedInfiniteScrollView'
--> Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:562:201-562:216
560 | /// Logic:
561 | /// 1. Take the new index
562 + /// 2. Take a potential previous index, put it in the ``NSPagedInfiniteScrollView/arrangedObjects`` before the new index. If there isn't, put only the new index in the ``NSPagedInfiniteScrollView/arrangedObjects``.
563 | /// 3. Check if there's a nextIndex, if there is, put it at the end of ``NSPagedInfiniteScrollView/arrangedObjects``.
564 | public func pageController(_ pageController: NSPageController, didTransitionTo object: Any) {
warning: 'arrangedObjects' doesn't exist at '/InfiniteScrollViews/NSPagedInfiniteScrollView'
--> Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:563:104-563:119
561 | /// 1. Take the new index
562 | /// 2. Take a potential previous index, put it in the ``NSPagedInfiniteScrollView/arrangedObjects`` before the new index. If there isn't, put only the new index in the ``NSPagedInfiniteScrollView/arrangedObjects``.
563 + /// 3. Check if there's a nextIndex, if there is, put it at the end of ``NSPagedInfiniteScrollView/arrangedObjects``.
564 | public func pageController(_ pageController: NSPageController, didTransitionTo object: Any) {
565 |
Finished building documentation for 'InfiniteScrollViews' (1.02s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/b5i/infinitescrollviews/v1.2.0
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.69s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (1.28s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.85s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.48s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[0/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit DeclarationFragments.swift
[8/57] Compiling SymbolKit Fragment.swift
[9/57] Compiling SymbolKit FragmentKind.swift
[10/57] Compiling SymbolKit FunctionParameter.swift
[11/57] Compiling SymbolKit FunctionSignature.swift
[12/57] Compiling SymbolKit Symbol.swift
[13/57] Compiling SymbolKit SymbolKind.swift
[14/57] Compiling SymbolKit SymbolGraph.swift
[15/57] Compiling SymbolKit GraphCollector.swift
[16/57] Emitting module Snippets
[17/57] Compiling Snippets SnippetParser.swift
[18/57] Compiling Snippets Snippet.swift
[19/57] Compiling SymbolKit SemanticVersion.swift
[20/57] Compiling SymbolKit AccessControl.swift
[21/57] Compiling SymbolKit Availability.swift
[22/57] Compiling SymbolKit AvailabilityItem.swift
[23/57] Compiling SymbolKit Domain.swift
[24/57] Compiling SymbolKit Mixin+Equals.swift
[25/57] Compiling SymbolKit Mixin+Hash.swift
[26/57] Compiling SymbolKit Mixin.swift
[27/57] Compiling SymbolKit LineList.swift
[28/57] Compiling SymbolKit Position.swift
[29/57] Compiling SymbolKit Relationship.swift
[30/57] Compiling SymbolKit RelationshipKind.swift
[31/57] Compiling SymbolKit SourceOrigin.swift
[32/57] Compiling SymbolKit GenericConstraints.swift
[33/57] Compiling SymbolKit Swift.swift
[34/57] Compiling SymbolKit GenericConstraint.swift
[35/57] Compiling SymbolKit GenericParameter.swift
[36/57] Compiling SymbolKit Generics.swift
[37/57] Compiling SymbolKit Namespace.swift
[38/57] Compiling SymbolKit Identifier.swift
[39/57] Compiling SymbolKit KindIdentifier.swift
[40/57] Compiling SymbolKit Location.swift
[41/57] Compiling SymbolKit Mutability.swift
[42/57] Compiling SymbolKit SourceRange.swift
[43/57] Compiling SymbolKit Metadata.swift
[44/57] Compiling SymbolKit Module.swift
[45/57] Compiling SymbolKit OperatingSystem.swift
[46/57] Compiling SymbolKit Platform.swift
[47/57] Compiling SymbolKit Names.swift
[48/57] Compiling SymbolKit SPI.swift
[49/57] Compiling SymbolKit Snippet.swift
[50/57] Compiling SymbolKit Extension.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.23s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/4] Compiling InfiniteScrollViews InfiniteScrollView.swift
[3/4] Compiling InfiniteScrollViews PagedInfiniteScrollView.swift
[4/4] Emitting module InfiniteScrollViews
Build of target: 'InfiniteScrollViews' complete! (2.06s)
2986
22 /Users/admin/builder/spi-builder-workspace/.docs/b5i/infinitescrollviews/v1.2.0
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/b5i/infinitescrollviews/v1.2.0
File count: 2986
Doc size: 22.0MB
Preparing doc bundle ...
Uploading prod-b5i-infinitescrollviews-v1.2.0-96f72759.zip to s3://spi-docs-inbox/prod-b5i-infinitescrollviews-v1.2.0-96f72759.zip
Copying... [11%]
Copying... [20%]
Copying... [31%]
Copying... [41%]
Copying... [51%]
Copying... [61%]
Copying... [70%]
Copying... [81%]
Copying... [90%]
Copying... [100%]
Done.