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 BXAnchor, reference main (ab78af), with Swift 6.1 for macOS (SPM) on 24 Jun 2025 21:06:44 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chhailongsann/BXAnchor.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/chhailongsann/BXAnchor
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ab78af3 change center function
Cloned https://github.com/chhailongsann/BXAnchor.git
Revision (git rev-parse @):
ab78af383561a2366061f5551eac4c19d71f2356
SUCCESS checkout https://github.com/chhailongsann/BXAnchor.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": "bxanchor",
      "name": "BXAnchor",
      "url": "https://github.com/chhailongsann/BXAnchor.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BXAnchor",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/chhailongsann/BXAnchor.git
[1/59] Fetching bxanchor
Fetched https://github.com/chhailongsann/BXAnchor.git from cache (0.67s)
Creating working copy for https://github.com/chhailongsann/BXAnchor.git
Working copy of https://github.com/chhailongsann/BXAnchor.git resolved at main (ab78af3)
warning: '.resolve-product-dependencies': dependency 'bxanchor' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/chhailongsann/BXAnchor.git
https://github.com/chhailongsann/BXAnchor.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BXAnchor",
  "name" : "BXAnchor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "BXAnchor",
      "targets" : [
        "BXAnchor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BXAnchor",
      "module_type" : "SwiftTarget",
      "name" : "BXAnchor",
      "path" : "Sources/BXAnchor",
      "product_memberships" : [
        "BXAnchor"
      ],
      "sources" : [
        "BXAnchor.swift",
        "UIStackView+Extension.swift",
        "UIView+Layout.swift",
        "UIView+Stacking.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Compiling BXAnchor BXAnchor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/BXAnchor/UIStackView+Extension.swift:9:8: error: no such module 'UIKit'
 7 |
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | extension UIStackView {
[4/7] Emitting module BXAnchor
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/BXAnchor/UIStackView+Extension.swift:9:8: error: no such module 'UIKit'
 7 |
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | extension UIStackView {
[5/7] Compiling BXAnchor UIStackView+Extension.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/BXAnchor/UIStackView+Extension.swift:9:8: error: no such module 'UIKit'
 7 |
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | extension UIStackView {
[6/7] Compiling BXAnchor UIView+Layout.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/BXAnchor/UIStackView+Extension.swift:9:8: error: no such module 'UIKit'
 7 |
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | extension UIStackView {
[7/7] Compiling BXAnchor UIView+Stacking.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/BXAnchor/UIStackView+Extension.swift:9:8: error: no such module 'UIKit'
 7 |
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | extension UIStackView {
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/6] Compiling BXAnchor UIView+Stacking.swift
/Users/admin/builder/spi-builder-workspace/Sources/BXAnchor/UIStackView+Extension.swift:9:8: error: no such module 'UIKit'
 7 |
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | extension UIStackView {
[3/6] Compiling BXAnchor BXAnchor.swift
/Users/admin/builder/spi-builder-workspace/Sources/BXAnchor/UIStackView+Extension.swift:9:8: error: no such module 'UIKit'
 7 |
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | extension UIStackView {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling BXAnchor UIStackView+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/BXAnchor/UIStackView+Extension.swift:9:8: error: no such module 'UIKit'
 7 |
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | extension UIStackView {
[5/6] Emitting module BXAnchor
/Users/admin/builder/spi-builder-workspace/Sources/BXAnchor/UIStackView+Extension.swift:9:8: error: no such module 'UIKit'
 7 |
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | extension UIStackView {
[6/6] Compiling BXAnchor UIView+Layout.swift
/Users/admin/builder/spi-builder-workspace/Sources/BXAnchor/UIStackView+Extension.swift:9:8: error: no such module 'UIKit'
 7 |
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | extension UIStackView {
BUILD FAILURE 6.1 macosSpm