Build Information
Successful build of InfiniteScrollViews, reference v1.1.1 (adec1a
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 19:51:28 UTC.
Swift 6 data race errors: 0
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 -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/b5i/InfiniteScrollViews.git
Reference: v1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/b5i/InfiniteScrollViews
* tag v1.1.1 -> FETCH_HEAD
HEAD is now at adec1af Fixed layout issue in `NSPagedInfiniteScrollView`.
Cloned https://github.com/b5i/InfiniteScrollViews.git
Revision (git rev-parse @):
adec1afc091e1f6e367da585a3cb699c2cb95a5f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/b5i/InfiniteScrollViews.git at v1.1.1
========================================
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/143] Fetching infinitescrollviews
Fetched https://github.com/b5i/InfiniteScrollViews.git from cache (0.72s)
Creating working copy for https://github.com/b5i/InfiniteScrollViews.git
Working copy of https://github.com/b5i/InfiniteScrollViews.git resolved at v1.1.1 (adec1af)
warning: '.resolve-product-dependencies': dependency 'infinitescrollviews' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/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.1.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--7754E27361AE5C74.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(
AppKit.NSViewController:9:35: note: property declared here
7 | open var representedObject: Any? { get set }
8 | open var title: String? { get set }
9 | @IBOutlet @MainActor open var view: NSView { get set }
| `- note: property declared here
10 | @available(macOS 14.0, *)
11 | open var viewIfLoaded: NSView? { get }
/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:7:39: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
5 | @available(visionOS, unavailable)
6 | @MainActor @preconcurrency open class NSHostingController<Content> : NSViewController where Content : View {
7 | @MainActor @preconcurrency public init(rootView: Content)
| `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public init?(coder: NSCoder, rootView: Content)
9 | @MainActor @preconcurrency required dynamic public init?(coder: NSCoder)
/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
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
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 task-isolated value of type 'Content' with later accesses to main actor-isolated context 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 task-isolated value of type 'Content' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
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:155: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
153 | /// Creates the main view and set it in the ``NSPageViewController``.
154 | let convertedClosure: (ChangeIndex) -> NSViewController = { changeIndex in
155 | 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
156 | }
157 | let changeIndexNotification: (ChangeIndex) -> () = { changeIndex in
SwiftUI.NSHostingController:7:39: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
5 | @available(visionOS, unavailable)
6 | @MainActor @preconcurrency open class NSHostingController<Content> : NSViewController where Content : View {
7 | @MainActor @preconcurrency public init(rootView: Content)
| `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public init?(coder: NSCoder, rootView: Content)
9 | @MainActor @preconcurrency required dynamic public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:163: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
150 | }
151 |
152 | public func makeNSViewController(context: Context) -> NSPagedInfiniteScrollView<ChangeIndex> {
| `- note: add '@MainActor' to make instance method 'makeNSViewController(context:)' part of global actor 'MainActor'
153 | /// Creates the main view and set it in the ``NSPageViewController``.
154 | let convertedClosure: (ChangeIndex) -> NSViewController = { changeIndex in
:
161 | }
162 |
163 | 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
164 | }
165 |
:
348 | /// - 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).
349 | /// - transitionStyle: The style for transitions between pages.
350 | public init(
| `- note: calls to initializer 'init(content:changeIndex:changeIndexNotification:increaseIndexAction:decreaseIndexAction:shouldAnimateBetween:indexesEqual:transitionStyle:)' from outside of its actor context are implicitly asynchronous
351 | content: @escaping (ChangeIndex) -> NSViewController,
352 | changeIndex: ChangeIndex,
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:167: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
164 | }
165 |
166 | public func updateNSViewController(_ nsViewController: NSPagedInfiniteScrollView<ChangeIndex>, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateNSViewController(_:context:)' part of global actor 'MainActor'
167 | 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
168 | }
169 | #else
:
408 |
409 | /// Programmaticaly change the current index (with animation).
410 | public func changeCurrentIndex(to newIndex: ChangeIndex) {
| `- note: calls to instance method 'changeCurrentIndex(to:)' from outside of its actor context are implicitly asynchronous
411 | if !self.indexesEqual(self.changeIndex, newIndex) {
412 | if let newIndexIndex = self.arrangedObjects.firstIndex(where: {
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:163:16: warning: sending 'convertedClosure' risks causing data races; this is an error in the Swift 6 language mode
161 | }
162 |
163 | 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
164 | }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:163:16: warning: sending task-isolated value of type 'ChangeIndex' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
161 | }
162 |
163 | return NSPagedInfiniteScrollView(content: convertedClosure, changeIndex: changeIndex.wrappedValue, changeIndexNotification: changeIndexNotification, increaseIndexAction: increaseIndexAction, decreaseIndexAction: decreaseIndexAction, shouldAnimateBetween: shouldAnimateBetween, indexesEqual: indexesEqual, transitionStyle: transitionStyle)
| `- warning: sending task-isolated value of type 'ChangeIndex' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
164 | }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:163:16: warning: sending 'changeIndexNotification.some' risks causing data races; this is an error in the Swift 6 language mode
161 | }
162 |
163 | 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
164 | }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:163:16: warning: sending 'self.increaseIndexAction' risks causing data races; this is an error in the Swift 6 language mode
161 | }
162 |
163 | 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
164 | }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:163:16: warning: sending 'self.decreaseIndexAction' risks causing data races; this is an error in the Swift 6 language mode
161 | }
162 |
163 | 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
164 | }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:163:16: warning: sending 'self.shouldAnimateBetween' risks causing data races; this is an error in the Swift 6 language mode
161 | }
162 |
163 | 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
164 | }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:163:16: warning: sending 'self.indexesEqual' risks causing data races; this is an error in the Swift 6 language mode
161 | }
162 |
163 | 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
164 | }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:155:20: warning: sending task-isolated value of type 'Content' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
153 | /// Creates the main view and set it in the ``NSPageViewController``.
154 | let convertedClosure: (ChangeIndex) -> NSViewController = { changeIndex in
155 | return NSHostingController(rootView: content(changeIndex))
| `- warning: sending task-isolated value of type 'Content' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
156 | }
157 | let changeIndexNotification: (ChangeIndex) -> () = { changeIndex in
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:159:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
157 | let changeIndexNotification: (ChangeIndex) -> () = { changeIndex in
158 | DispatchQueue.main.async {
159 | 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
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:159:49: warning: sending 'changeIndex' risks causing data races; this is an error in the Swift 6 language mode
157 | let changeIndexNotification: (ChangeIndex) -> () = { changeIndex in
158 | DispatchQueue.main.async {
159 | 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
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:167:26: warning: sending task-isolated value of type 'ChangeIndex' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
165 |
166 | public func updateNSViewController(_ nsViewController: NSPagedInfiniteScrollView<ChangeIndex>, context: Context) {
167 | nsViewController.changeCurrentIndex(to: changeIndex.wrappedValue)
| `- warning: sending task-isolated value of type 'ChangeIndex' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
168 | }
169 | #else
Build complete! (10.13s)
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.1.1
Repository: b5i/InfiniteScrollViews
Swift version used: 6.0
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 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'InfiniteScrollViews'...
Finished extracting symbol information for 'InfiniteScrollViews'. (6.49s)
Building documentation for 'InfiniteScrollViews'...
warning: 'arrangedObjects' doesn't exist at '/InfiniteScrollViews/NSPagedInfiniteScrollView'
--> Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:497:87-497:102
495 | /// Logic:
496 | /// 1. Take the new index
497 + /// 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``.
498 | /// 3. Check if there's a nextIndex, if there is, put it at the end of ``NSPagedInfiniteScrollView/arrangedObjects``.
499 | public func pageController(_ pageController: NSPageController, didTransitionTo object: Any) {
warning: 'arrangedObjects' doesn't exist at '/InfiniteScrollViews/NSPagedInfiniteScrollView'
--> Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:497:201-497:216
495 | /// Logic:
496 | /// 1. Take the new index
497 + /// 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``.
498 | /// 3. Check if there's a nextIndex, if there is, put it at the end of ``NSPagedInfiniteScrollView/arrangedObjects``.
499 | public func pageController(_ pageController: NSPageController, didTransitionTo object: Any) {
warning: 'arrangedObjects' doesn't exist at '/InfiniteScrollViews/NSPagedInfiniteScrollView'
--> Sources/InfiniteScrollViews/PagedInfiniteScrollView.swift:498:104-498:119
496 | /// 1. Take the new index
497 | /// 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``.
498 + /// 3. Check if there's a nextIndex, if there is, put it at the end of ``NSPagedInfiniteScrollView/arrangedObjects``.
499 | public func pageController(_ pageController: NSPageController, didTransitionTo object: Any) {
500 |Finished building documentation for 'InfiniteScrollViews' (0.93s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/b5i/infinitescrollviews/v1.1.1
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3187] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.30s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.59s)
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
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.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling Snippets SnippetParser.swift
[8/57] Emitting module Snippets
[9/57] Compiling Snippets Snippet.swift
[10/57] Compiling SymbolKit SourceRange.swift
[11/57] Compiling SymbolKit Metadata.swift
[12/57] Compiling SymbolKit Module.swift
[13/57] Compiling SymbolKit OperatingSystem.swift
[14/57] Compiling SymbolKit Platform.swift
[15/57] Compiling SymbolKit GenericConstraint.swift
[16/57] Compiling SymbolKit GenericParameter.swift
[17/57] Compiling SymbolKit Generics.swift
[18/57] Compiling SymbolKit Namespace.swift
[19/57] Compiling SymbolKit Relationship.swift
[20/57] Compiling SymbolKit RelationshipKind.swift
[21/57] Compiling SymbolKit SourceOrigin.swift
[22/57] Compiling SymbolKit GenericConstraints.swift
[23/57] Compiling SymbolKit Swift.swift
[24/57] Compiling SymbolKit Symbol.swift
[25/57] Compiling SymbolKit SymbolKind.swift
[26/57] Compiling SymbolKit SymbolGraph.swift
[27/57] Compiling SymbolKit GraphCollector.swift
[28/57] Compiling SymbolKit Identifier.swift
[29/57] Compiling SymbolKit KindIdentifier.swift
[30/57] Compiling SymbolKit Location.swift
[31/57] Compiling SymbolKit Mutability.swift
[32/57] Compiling SymbolKit SemanticVersion.swift
[33/57] Compiling SymbolKit AccessControl.swift
[34/57] Compiling SymbolKit Availability.swift
[35/57] Compiling SymbolKit AvailabilityItem.swift
[36/57] Compiling SymbolKit Domain.swift
[37/57] Compiling SymbolKit DeclarationFragments.swift
[38/57] Compiling SymbolKit Fragment.swift
[39/57] Compiling SymbolKit FragmentKind.swift
[40/57] Compiling SymbolKit FunctionParameter.swift
[41/57] Compiling SymbolKit FunctionSignature.swift
[42/57] Compiling SymbolKit Names.swift
[43/57] Compiling SymbolKit SPI.swift
[44/57] Compiling SymbolKit Snippet.swift
[45/57] Compiling SymbolKit Extension.swift
[46/57] Compiling SymbolKit Mixin+Equals.swift
[47/57] Compiling SymbolKit Mixin+Hash.swift
[48/57] Compiling SymbolKit Mixin.swift
[49/57] Compiling SymbolKit LineList.swift
[50/57] Compiling SymbolKit Position.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! (3.89s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/4] Compiling InfiniteScrollViews PagedInfiniteScrollView.swift
[3/4] Compiling InfiniteScrollViews InfiniteScrollView.swift
[4/4] Emitting module InfiniteScrollViews
Build of target: 'InfiniteScrollViews' complete! (2.30s)
2954
22 /Users/admin/builder/spi-builder-workspace/.docs/b5i/infinitescrollviews/v1.1.1
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/b5i/infinitescrollviews/v1.1.1
File count: 2954
Doc size: 22.0MB
Preparing doc bundle ...
Uploading prod-b5i-infinitescrollviews-v1.1.1-a94884ff.zip to s3://spi-docs-inbox/prod-b5i-infinitescrollviews-v1.1.1-a94884ff.zip
Copying... [10%]
Copying... [21%]
Copying... [31%]
Copying... [40%]
Copying... [51%]
Copying... [61%]
Copying... [70%]
Copying... [81%]
Copying... [91%]
Copying... [100%]
Done.