The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of CarouselView, reference main (e078b9), with Swift 6.1 for macOS (SPM) on 21 Oct 2025 12:27:23 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AnbalaganD/CarouselView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AnbalaganD/CarouselView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e078b98 Update Readme file
Cloned https://github.com/AnbalaganD/CarouselView.git
Revision (git rev-parse @):
e078b982febae6a407ed19d394df32a06863b0d5
SUCCESS checkout https://github.com/AnbalaganD/CarouselView.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/AnbalaganD/CarouselView.git
https://github.com/AnbalaganD/CarouselView.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CarouselView",
  "name" : "CarouselView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "CarouselView",
      "targets" : [
        "CarouselView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CarouselView",
      "module_type" : "SwiftTarget",
      "name" : "CarouselView",
      "path" : "Sources/CarouselView",
      "product_memberships" : [
        "CarouselView"
      ],
      "sources" : [
        "AutoscrollModifier.swift",
        "CarouselView.swift",
        "HeightPreferenceKey.swift",
        "ViewExtension.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/7] Compiling CarouselView ViewExtension.swift
[4/7] Compiling CarouselView HeightPreferenceKey.swift
[5/7] Compiling CarouselView CarouselView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CarouselView/CarouselView.swift:176:13: warning: variable 'index' was never mutated; consider changing to 'let' constant
174 |
175 |     private func animateToIndex(_ newIndex: Int) {
176 |         var index = max(0, min(newIndex, items.count - 1))
    |             `- warning: variable 'index' was never mutated; consider changing to 'let' constant
177 |         guard index != lastSelectedIndex, viewWidth > 0 else { return }
178 |
[6/7] Emitting module CarouselView
[7/7] Compiling CarouselView AutoscrollModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/CarouselView/AutoscrollModifier.swift:40:17: warning: main actor-isolated property 'selectedIndex' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
11 |     let interval: TimeInterval
12 |     @Binding var isEnabled: Bool
13 |     @Binding var selectedIndex: Int
   |                  `- note: mutation of this property is only permitted within the actor
14 |     let itemCount: Int
15 |
   :
38 |         timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { _ in
39 |             withAnimation {
40 |                 selectedIndex = (selectedIndex + 1) % itemCount
   |                 `- warning: main actor-isolated property 'selectedIndex' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
41 |             }
42 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CarouselView/AutoscrollModifier.swift:40:34: warning: main actor-isolated property 'selectedIndex' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |     let interval: TimeInterval
12 |     @Binding var isEnabled: Bool
13 |     @Binding var selectedIndex: Int
   |                  `- note: property declared here
14 |     let itemCount: Int
15 |
   :
38 |         timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { _ in
39 |             withAnimation {
40 |                 selectedIndex = (selectedIndex + 1) % itemCount
   |                                  `- warning: main actor-isolated property 'selectedIndex' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
41 |             }
42 |         }
Build complete! (8.33s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CarouselView",
  "name" : "CarouselView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "CarouselView",
      "targets" : [
        "CarouselView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CarouselView",
      "module_type" : "SwiftTarget",
      "name" : "CarouselView",
      "path" : "Sources/CarouselView",
      "product_memberships" : [
        "CarouselView"
      ],
      "sources" : [
        "AutoscrollModifier.swift",
        "CarouselView.swift",
        "HeightPreferenceKey.swift",
        "ViewExtension.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.