The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AILoaders, reference 1.0.0 (81d4ff), with Swift 6.1 for macOS (SPM) on 19 Jul 2026 23:58:52 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fkilter/swiftui-ai-loaders.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fkilter/swiftui-ai-loaders
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 81d4ff9 Initial release: StepListLoader, HexagonPulseLoader, ShimmerText
Cloned https://github.com/fkilter/swiftui-ai-loaders.git
Revision (git rev-parse @):
81d4ff95637b02796d34d9967563e49de4c8b050
SUCCESS checkout https://github.com/fkilter/swiftui-ai-loaders.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/fkilter/swiftui-ai-loaders.git
https://github.com/fkilter/swiftui-ai-loaders.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AILoaders",
  "name" : "AILoaders",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "AILoaders",
      "targets" : [
        "AILoaders"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AILoaders",
      "module_type" : "SwiftTarget",
      "name" : "AILoaders",
      "path" : "Sources/AILoaders",
      "product_memberships" : [
        "AILoaders"
      ],
      "sources" : [
        "Haptics.swift",
        "HexagonPulseLoader.swift",
        "LoaderStep.swift",
        "ShimmerText.swift",
        "StepListLoader.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/8] Compiling AILoaders StepListLoader.swift
[4/8] Compiling AILoaders LoaderStep.swift
[5/8] Emitting module AILoaders
[6/8] Compiling AILoaders ShimmerText.swift
[7/8] Compiling AILoaders HexagonPulseLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/AILoaders/HexagonPulseLoader.swift:63:40: error: ambiguous use of 'cos'
 61 |             let angle = Double(i - 1) * .pi / 3
 62 |             let position = CGPoint(
 63 |                 x: center.x + radius * cos(angle),
    |                                        `- error: ambiguous use of 'cos'
 64 |                 y: center.y + radius * sin(angle)
 65 |             )
CoreGraphics.cos:2:13: note: found this candidate in module 'CoreGraphics'
1 | @available(macOS 10.9, iOS 7.0, tvOS 9.0, watchOS 2.0, visionOS 1.0, *)
2 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'CoreGraphics'
_math.cos:2:13: note: found this candidate in module '_math'
1 | @available(macOS 10.9, iOS 7.0, watchOS 2.0, tvOS 9.0, visionOS 1.0, *)
2 | public func cos(_ x: Double) -> Double
  |             `- note: found this candidate in module '_math'
[8/8] Compiling AILoaders Haptics.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/7] Compiling AILoaders StepListLoader.swift
[3/7] Compiling AILoaders ShimmerText.swift
[4/7] Compiling AILoaders LoaderStep.swift
[5/7] Compiling AILoaders Haptics.swift
[6/7] Emitting module AILoaders
[7/7] Compiling AILoaders HexagonPulseLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/AILoaders/HexagonPulseLoader.swift:63:40: error: ambiguous use of 'cos'
 61 |             let angle = Double(i - 1) * .pi / 3
 62 |             let position = CGPoint(
 63 |                 x: center.x + radius * cos(angle),
    |                                        `- error: ambiguous use of 'cos'
 64 |                 y: center.y + radius * sin(angle)
 65 |             )
CoreGraphics.cos:2:13: note: found this candidate in module 'CoreGraphics'
1 | @available(macOS 10.9, iOS 7.0, tvOS 9.0, watchOS 2.0, visionOS 1.0, *)
2 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'CoreGraphics'
_math.cos:2:13: note: found this candidate in module '_math'
1 | @available(macOS 10.9, iOS 7.0, watchOS 2.0, tvOS 9.0, visionOS 1.0, *)
2 | public func cos(_ x: Double) -> Double
  |             `- note: found this candidate in module '_math'
BUILD FAILURE 6.1 macosSpm