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

Failed to build AnimatedGradientView, reference main (ffb04a), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 08:01:07 UTC.

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/rwbutler/AnimatedGradientView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rwbutler/AnimatedGradientView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ffb04a4 Updated CHANGELOG.md
Cloned https://github.com/rwbutler/AnimatedGradientView.git
Revision (git rev-parse @):
ffb04a49a51c7368a80e1b2da06c0e15a7d8ec2c
SUCCESS checkout https://github.com/rwbutler/AnimatedGradientView.git at main
========================================
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": "animatedgradientview",
      "name": "AnimatedGradientView",
      "url": "https://github.com/rwbutler/AnimatedGradientView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AnimatedGradientView",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/rwbutler/AnimatedGradientView.git
[1/401] Fetching animatedgradientview
Fetched https://github.com/rwbutler/AnimatedGradientView.git from cache (1.22s)
Creating working copy for https://github.com/rwbutler/AnimatedGradientView.git
Working copy of https://github.com/rwbutler/AnimatedGradientView.git resolved at main (ffb04a4)
warning: '.resolve-product-dependencies': dependency 'animatedgradientview' 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/rwbutler/AnimatedGradientView.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AnimatedGradientView",
  "name" : "AnimatedGradientView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "AnimatedGradientView",
      "targets" : [
        "AnimatedGradientView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AnimatedGradientView",
      "module_type" : "SwiftTarget",
      "name" : "AnimatedGradientView",
      "path" : "AnimatedGradientView/Classes",
      "product_memberships" : [
        "AnimatedGradientView"
      ],
      "sources" : [
        "AnimatedGradientDirection.swift",
        "AnimatedGradientView.swift",
        "AnimatedGradientViewAnimation.swift",
        "AnimatedGradientViewColor.swift",
        "Extensions/Collection+UniqueMap.swift",
        "Extensions/RegularExpressionMatchable.swift",
        "Extensions/String+RegularExpressionMatchable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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/10] Compiling AnimatedGradientView Collection+UniqueMap.swift
/Users/admin/builder/spi-builder-workspace/AnimatedGradientView/Classes/AnimatedGradientView.swift:10:8: error: no such module 'UIKit'
  8 | import Foundation
  9 | import CoreGraphics
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | public class AnimatedGradientView: UIView {
[4/10] Compiling AnimatedGradientView RegularExpressionMatchable.swift
/Users/admin/builder/spi-builder-workspace/AnimatedGradientView/Classes/AnimatedGradientView.swift:10:8: error: no such module 'UIKit'
  8 | import Foundation
  9 | import CoreGraphics
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | public class AnimatedGradientView: UIView {
[5/10] Compiling AnimatedGradientView String+RegularExpressionMatchable.swift
/Users/admin/builder/spi-builder-workspace/AnimatedGradientView/Classes/AnimatedGradientView.swift:10:8: error: no such module 'UIKit'
  8 | import Foundation
  9 | import CoreGraphics
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | public class AnimatedGradientView: UIView {
[6/10] Compiling AnimatedGradientView AnimatedGradientViewAnimation.swift
/Users/admin/builder/spi-builder-workspace/AnimatedGradientView/Classes/AnimatedGradientView.swift:10:8: error: no such module 'UIKit'
  8 | import Foundation
  9 | import CoreGraphics
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | public class AnimatedGradientView: UIView {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module AnimatedGradientView
/Users/admin/builder/spi-builder-workspace/AnimatedGradientView/Classes/AnimatedGradientView.swift:10:8: error: no such module 'UIKit'
  8 | import Foundation
  9 | import CoreGraphics
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | public class AnimatedGradientView: UIView {
[8/10] Compiling AnimatedGradientView AnimatedGradientView.swift
/Users/admin/builder/spi-builder-workspace/AnimatedGradientView/Classes/AnimatedGradientView.swift:10:8: error: no such module 'UIKit'
  8 | import Foundation
  9 | import CoreGraphics
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | public class AnimatedGradientView: UIView {
[9/10] Compiling AnimatedGradientView AnimatedGradientDirection.swift
/Users/admin/builder/spi-builder-workspace/AnimatedGradientView/Classes/AnimatedGradientView.swift:10:8: error: no such module 'UIKit'
  8 | import Foundation
  9 | import CoreGraphics
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | public class AnimatedGradientView: UIView {
[10/10] Compiling AnimatedGradientView AnimatedGradientViewColor.swift
/Users/admin/builder/spi-builder-workspace/AnimatedGradientView/Classes/AnimatedGradientView.swift:10:8: error: no such module 'UIKit'
  8 | import Foundation
  9 | import CoreGraphics
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | public class AnimatedGradientView: UIView {
BUILD FAILURE 6.0 macosSpm