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 1.1.0 (2a03f2), with Swift 6.2 for macOS (SPM) on 17 Oct 2025 17:52:46 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AnbalaganD/CarouselView.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AnbalaganD/CarouselView
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 2a03f20 Update readme
Cloned https://github.com/AnbalaganD/CarouselView.git
Revision (git rev-parse @):
2a03f2092a07b7b8a844894b3d8e08902f37c224
SUCCESS checkout https://github.com/AnbalaganD/CarouselView.git at 1.1.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": "carouselview",
      "name": "CarouselView",
      "url": "https://github.com/AnbalaganD/CarouselView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CarouselView",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/AnbalaganD/CarouselView.git
[1/84] Fetching carouselview
Fetched https://github.com/AnbalaganD/CarouselView.git from cache (0.92s)
Creating working copy for https://github.com/AnbalaganD/CarouselView.git
Working copy of https://github.com/AnbalaganD/CarouselView.git resolved at 1.1.0 (2a03f20)
warning: '.resolve-product-dependencies': dependency 'carouselview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/AnbalaganD/CarouselView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-49B95AFC49DCD68C.txt
[3/7] Emitting module CarouselView
[4/7] Compiling CarouselView AutoscrollModifier.swift
[5/7] Compiling CarouselView ViewExtension.swift
[6/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 |
[7/7] Compiling CarouselView HeightPreferenceKey.swift
Build complete! (8.79s)
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.