The Swift Package Index logo.Swift Package Index

Build Information

Successful build of PagerKit, reference 1.1.2 (2fa180), with Swift 6.1 for macOS (SPM) on 21 Mar 2026 18:14:59 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.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SzpakKamil/PagerKit.git
Reference: 1.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SzpakKamil/PagerKit
 * tag               1.1.2      -> FETCH_HEAD
HEAD is now at 2fa180b docs: Rewritten md files and updated images
Cloned https://github.com/SzpakKamil/PagerKit.git
Revision (git rev-parse @):
2fa180bc130b2c2b3540d8c91ca7b6e2aca0f78c
SUCCESS checkout https://github.com/SzpakKamil/PagerKit.git at 1.1.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SzpakKamil/PagerKit.git
https://github.com/SzpakKamil/PagerKit.git
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "PagerKit",
  "name" : "PagerKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "PagerKit",
      "targets" : [
        "PagerKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PagerKit",
      "module_type" : "SwiftTarget",
      "name" : "PagerKit",
      "path" : "Sources",
      "product_memberships" : [
        "PagerKit"
      ],
      "sources" : [
        "AppKit/ModifiersAppKit.swift",
        "AppKit/PKPagesControlView.swift",
        "AppKit/PKPagesViewAppKit.swift",
        "Shared/Builders & Components/PKForEach.swift",
        "Shared/Builders & Components/PKPage.swift",
        "Shared/Builders & Components/PKPageBuilder.swift",
        "Shared/Enums/PKPageControlIndicatorBackgroundStyle.swift",
        "Shared/Enums/PKPageControlIndicatorDirection.swift",
        "Shared/Enums/PKPageDirection.swift",
        "Shared/Styles & Options/PKPageControlStyle.swift",
        "Shared/Styles & Options/PKPageOptions.swift",
        "UIKit/Controlers/PKPageUIViewControllerUIKit.swift",
        "UIKit/Controlers/PKPagesUIViewControllerUIKit.swift",
        "UIKit/Data & Events/PKPagesUIViewControllerDataSourceUIKit.swift",
        "UIKit/Data & Events/PKPagesUIViewControllerDelegateUIKit.swift",
        "UIKit/ModifiersUIKit.swift",
        "UIKit/PKPagesViewUIKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/19] Compiling PagerKit ModifiersUIKit.swift
[4/20] Compiling PagerKit PKPagesUIViewControllerUIKit.swift
[5/20] Compiling PagerKit PKPagesUIViewControllerDataSourceUIKit.swift
[6/20] Compiling PagerKit PKPagesViewUIKit.swift
[7/20] Compiling PagerKit ModifiersAppKit.swift
[8/20] Compiling PagerKit PKPagesControlView.swift
[9/20] Compiling PagerKit PKPageControlIndicatorBackgroundStyle.swift
[10/20] Compiling PagerKit PKPageControlIndicatorDirection.swift
[11/20] Compiling PagerKit PKPageDirection.swift
[12/20] Compiling PagerKit PKPageControlStyle.swift
[13/20] Compiling PagerKit PKPagesUIViewControllerDelegateUIKit.swift
[14/20] Compiling PagerKit PKPageOptions.swift
[15/20] Compiling PagerKit PKPageUIViewControllerUIKit.swift
[16/20] Emitting module PagerKit
[17/20] Compiling PagerKit PKPagesViewAppKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKit/PKPagesViewAppKit.swift:126:13: warning: main actor-isolated property 'timerProgress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 26 |     @State private var timer: Timer? = nil
 27 |     @State private var progressTimer: Timer? = nil
 28 |     @State private var timerProgress: Double = 0.0
    |                        `- note: mutation of this property is only permitted within the actor
 29 |
 30 |     let pages: [PKPage]
    :
124 |         // Auto page timer
125 |         timer = Timer.scheduledTimer(withTimeInterval: duration, repeats: false) { _ in
126 |             timerProgress = 1.0
    |             `- warning: main actor-isolated property 'timerProgress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
127 |             goToNextPage()
128 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AppKit/PKPagesViewAppKit.swift:127:13: warning: call to main actor-isolated instance method 'goToNextPage()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
125 |         timer = Timer.scheduledTimer(withTimeInterval: duration, repeats: false) { _ in
126 |             timerProgress = 1.0
127 |             goToNextPage()
    |             `- warning: call to main actor-isolated instance method 'goToNextPage()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
128 |         }
129 |
    :
151 |     }
152 |
153 |     func goToNextPage() {
    |          |- note: calls to instance method 'goToNextPage()' from outside of its actor context are implicitly asynchronous
    |          `- note: main actor isolation inferred from conformance to protocol 'View'
154 |         guard !pages.isEmpty else { return }
155 |         let nextIndex = (selectedIndex.wrappedValue + 1) % pages.count
/Users/admin/builder/spi-builder-workspace/Sources/AppKit/PKPagesViewAppKit.swift:134:13: warning: mutation of captured var 'elapsed' in concurrently-executing code
132 |         var elapsed: Double = 0
133 |         progressTimer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { t in
134 |             elapsed += interval
    |             `- warning: mutation of captured var 'elapsed' in concurrently-executing code
135 |             let progress = min(elapsed / duration, 1.0)
136 |             timerProgress = progress
/Users/admin/builder/spi-builder-workspace/Sources/AppKit/PKPagesViewAppKit.swift:135:32: warning: reference to captured var 'elapsed' in concurrently-executing code
133 |         progressTimer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { t in
134 |             elapsed += interval
135 |             let progress = min(elapsed / duration, 1.0)
    |                                `- warning: reference to captured var 'elapsed' in concurrently-executing code
136 |             timerProgress = progress
137 |             if progress >= 1.0 {
/Users/admin/builder/spi-builder-workspace/Sources/AppKit/PKPagesViewAppKit.swift:136:13: warning: main actor-isolated property 'timerProgress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 26 |     @State private var timer: Timer? = nil
 27 |     @State private var progressTimer: Timer? = nil
 28 |     @State private var timerProgress: Double = 0.0
    |                        `- note: mutation of this property is only permitted within the actor
 29 |
 30 |     let pages: [PKPage]
    :
134 |             elapsed += interval
135 |             let progress = min(elapsed / duration, 1.0)
136 |             timerProgress = progress
    |             `- warning: main actor-isolated property 'timerProgress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
137 |             if progress >= 1.0 {
138 |                 t.invalidate()
[18/20] Compiling PagerKit PKForEach.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppKit/PKPagesViewAppKit.swift:126:13: warning: main actor-isolated property 'timerProgress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 26 |     @State private var timer: Timer? = nil
 27 |     @State private var progressTimer: Timer? = nil
 28 |     @State private var timerProgress: Double = 0.0
    |                        `- note: mutation of this property is only permitted within the actor
 29 |
 30 |     let pages: [PKPage]
    :
124 |         // Auto page timer
125 |         timer = Timer.scheduledTimer(withTimeInterval: duration, repeats: false) { _ in
126 |             timerProgress = 1.0
    |             `- warning: main actor-isolated property 'timerProgress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
127 |             goToNextPage()
128 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AppKit/PKPagesViewAppKit.swift:127:13: warning: call to main actor-isolated instance method 'goToNextPage()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
125 |         timer = Timer.scheduledTimer(withTimeInterval: duration, repeats: false) { _ in
126 |             timerProgress = 1.0
127 |             goToNextPage()
    |             `- warning: call to main actor-isolated instance method 'goToNextPage()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
128 |         }
129 |
    :
151 |     }
152 |
153 |     func goToNextPage() {
    |          |- note: calls to instance method 'goToNextPage()' from outside of its actor context are implicitly asynchronous
    |          `- note: main actor isolation inferred from conformance to protocol 'View'
154 |         guard !pages.isEmpty else { return }
155 |         let nextIndex = (selectedIndex.wrappedValue + 1) % pages.count
/Users/admin/builder/spi-builder-workspace/Sources/AppKit/PKPagesViewAppKit.swift:134:13: warning: mutation of captured var 'elapsed' in concurrently-executing code
132 |         var elapsed: Double = 0
133 |         progressTimer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { t in
134 |             elapsed += interval
    |             `- warning: mutation of captured var 'elapsed' in concurrently-executing code
135 |             let progress = min(elapsed / duration, 1.0)
136 |             timerProgress = progress
/Users/admin/builder/spi-builder-workspace/Sources/AppKit/PKPagesViewAppKit.swift:135:32: warning: reference to captured var 'elapsed' in concurrently-executing code
133 |         progressTimer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { t in
134 |             elapsed += interval
135 |             let progress = min(elapsed / duration, 1.0)
    |                                `- warning: reference to captured var 'elapsed' in concurrently-executing code
136 |             timerProgress = progress
137 |             if progress >= 1.0 {
/Users/admin/builder/spi-builder-workspace/Sources/AppKit/PKPagesViewAppKit.swift:136:13: warning: main actor-isolated property 'timerProgress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 26 |     @State private var timer: Timer? = nil
 27 |     @State private var progressTimer: Timer? = nil
 28 |     @State private var timerProgress: Double = 0.0
    |                        `- note: mutation of this property is only permitted within the actor
 29 |
 30 |     let pages: [PKPage]
    :
134 |             elapsed += interval
135 |             let progress = min(elapsed / duration, 1.0)
136 |             timerProgress = progress
    |             `- warning: main actor-isolated property 'timerProgress' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
137 |             if progress >= 1.0 {
138 |                 t.invalidate()
[19/20] Compiling PagerKit PKPage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Builders & Components/PKPageBuilder.swift:42:17: warning: main actor-isolated property 'components' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |     }
40 |     @_documentation(visibility: internal)
41 |     public static func buildExpression<Data, ID>(_ forEach: ForEach<Data, ID>) -> [PKPage] where Data: RandomAccessCollection, ID: Hashable {
   |                        `- note: add '@MainActor' to make static method 'buildExpression' part of global actor 'MainActor'
42 |         forEach.components
   |                 `- warning: main actor-isolated property 'components' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 |     }
44 |     public static func buildLimitedAvailability(_ component: [PKPage]) -> [PKPage] {
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Builders & Components/PKForEach.swift:15:16: note: property declared here
13 |     let content: ((Data.Element) -> [PKPage])?
14 |     @_documentation(visibility: internal)
15 |     public var components: [PKPage] {
   |                `- note: property declared here
16 |         data.flatMap { content?($0) ?? [] }
17 |     }
[20/20] Compiling PagerKit PKPageBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Builders & Components/PKPageBuilder.swift:42:17: warning: main actor-isolated property 'components' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |     }
40 |     @_documentation(visibility: internal)
41 |     public static func buildExpression<Data, ID>(_ forEach: ForEach<Data, ID>) -> [PKPage] where Data: RandomAccessCollection, ID: Hashable {
   |                        `- note: add '@MainActor' to make static method 'buildExpression' part of global actor 'MainActor'
42 |         forEach.components
   |                 `- warning: main actor-isolated property 'components' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 |     }
44 |     public static func buildLimitedAvailability(_ component: [PKPage]) -> [PKPage] {
/Users/admin/builder/spi-builder-workspace/Sources/Shared/Builders & Components/PKForEach.swift:15:16: note: property declared here
13 |     let content: ((Data.Element) -> [PKPage])?
14 |     @_documentation(visibility: internal)
15 |     public var components: [PKPage] {
   |                `- note: property declared here
16 |         data.flatMap { content?($0) ?? [] }
17 |     }
Build complete! (9.90s)
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "PagerKit",
  "name" : "PagerKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "PagerKit",
      "targets" : [
        "PagerKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PagerKit",
      "module_type" : "SwiftTarget",
      "name" : "PagerKit",
      "path" : "Sources",
      "product_memberships" : [
        "PagerKit"
      ],
      "sources" : [
        "AppKit/ModifiersAppKit.swift",
        "AppKit/PKPagesControlView.swift",
        "AppKit/PKPagesViewAppKit.swift",
        "Shared/Builders & Components/PKForEach.swift",
        "Shared/Builders & Components/PKPage.swift",
        "Shared/Builders & Components/PKPageBuilder.swift",
        "Shared/Enums/PKPageControlIndicatorBackgroundStyle.swift",
        "Shared/Enums/PKPageControlIndicatorDirection.swift",
        "Shared/Enums/PKPageDirection.swift",
        "Shared/Styles & Options/PKPageControlStyle.swift",
        "Shared/Styles & Options/PKPageOptions.swift",
        "UIKit/Controlers/PKPageUIViewControllerUIKit.swift",
        "UIKit/Controlers/PKPagesUIViewControllerUIKit.swift",
        "UIKit/Data & Events/PKPagesUIViewControllerDataSourceUIKit.swift",
        "UIKit/Data & Events/PKPagesUIViewControllerDelegateUIKit.swift",
        "UIKit/ModifiersUIKit.swift",
        "UIKit/PKPagesViewUIKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.