The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BXAnchor, reference main (34534a), with Swift 6.1 for macOS (SPM) on 14 Jan 2026 09:42:36 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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/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 34534aa fix stack view layout subview
Cloned https://github.com/chhailongsann/BXAnchor.git
Revision (git rev-parse @):
34534aa5e3cc8d066c7448971a08e67efca19bef
SUCCESS checkout https://github.com/chhailongsann/BXAnchor.git at main
========================================
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" : "12.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] 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 {
[4/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 {
[5/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 {
[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 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 {
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 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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 {
[4/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 {
[5/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 {
[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