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 page-control, reference 1.0.0 (973ab0), with Swift 6.0 for macOS (SPM) on 9 Jan 2025 08:42:51 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/page-control.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/space-code/page-control
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 973ab00 Release `1.0.0` (#2)
Cloned https://github.com/space-code/page-control.git
Revision (git rev-parse @):
973ab00677b5b6f840aa6abc52708d3cf7058b02
SUCCESS checkout https://github.com/space-code/page-control.git at 1.0.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": "page-control",
      "name": "page-control",
      "url": "https://github.com/space-code/page-control.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/page-control",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/space-code/page-control.git
[1/85] Fetching page-control
Fetched https://github.com/space-code/page-control.git from cache (0.65s)
Creating working copy for https://github.com/space-code/page-control.git
Working copy of https://github.com/space-code/page-control.git resolved at 1.0.0 (973ab00)
warning: '.resolve-product-dependencies': dependency 'page-control' 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/space-code/page-control.git
https://github.com/space-code/page-control.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "page-control",
  "name" : "page-control",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "PageControl",
      "targets" : [
        "PageControl"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PageControlTests",
      "module_type" : "SwiftTarget",
      "name" : "PageControlTests",
      "path" : "Tests/PageControlTests",
      "sources" : [
        "PageControlTests.swift"
      ],
      "target_dependencies" : [
        "PageControl"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PageControl",
      "module_type" : "SwiftTarget",
      "name" : "PageControl",
      "path" : "Sources/PageControl",
      "product_memberships" : [
        "PageControl"
      ],
      "sources" : [
        "Classes/Drawers/Implementations/BaseDrawer.swift",
        "Classes/Drawers/Implementations/ExtendedLineDrawer.swift",
        "Classes/Drawers/Interfaces/IDrawer.swift",
        "Classes/Helpers/Extensions/UIColor+.swift",
        "Classes/PageControl.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/8] Compiling PageControl UIColor+.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/Classes/Drawers/Implementations/BaseDrawer.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | public class BaseDrawer: IDrawer {
[4/8] Compiling PageControl PageControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/Classes/Drawers/Implementations/BaseDrawer.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | public class BaseDrawer: IDrawer {
[5/8] Compiling PageControl IDrawer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/Classes/Drawers/Implementations/BaseDrawer.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | public class BaseDrawer: IDrawer {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module PageControl
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/Classes/Drawers/Implementations/BaseDrawer.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | public class BaseDrawer: IDrawer {
[7/8] Compiling PageControl ExtendedLineDrawer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/Classes/Drawers/Implementations/BaseDrawer.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | public class BaseDrawer: IDrawer {
[8/8] Compiling PageControl BaseDrawer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/Classes/Drawers/Implementations/BaseDrawer.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | public class BaseDrawer: IDrawer {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/7] Compiling PageControl IDrawer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/Classes/Drawers/Implementations/BaseDrawer.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | public class BaseDrawer: IDrawer {
[3/7] Compiling PageControl UIColor+.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/Classes/Drawers/Implementations/BaseDrawer.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | public class BaseDrawer: IDrawer {
[4/7] Compiling PageControl PageControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/Classes/Drawers/Implementations/BaseDrawer.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | public class BaseDrawer: IDrawer {
[5/7] Compiling PageControl ExtendedLineDrawer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/Classes/Drawers/Implementations/BaseDrawer.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | public class BaseDrawer: IDrawer {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module PageControl
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/Classes/Drawers/Implementations/BaseDrawer.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | public class BaseDrawer: IDrawer {
[7/7] Compiling PageControl BaseDrawer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageControl/Classes/Drawers/Implementations/BaseDrawer.swift:6:8: error: no such module 'UIKit'
  4 | //
  5 |
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | public class BaseDrawer: IDrawer {
BUILD FAILURE 6.0 macosSpm