The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NumericGauge, reference main (b2b322), with Swift 6.1 for macOS (SPM) on 20 Dec 2025 21:44:20 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/JoshuaSullivan/NumericGauge.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JoshuaSullivan/NumericGauge
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b2b322e Updated gauge to change its internal state when its bound value changes externally.
Cloned https://github.com/JoshuaSullivan/NumericGauge.git
Revision (git rev-parse @):
b2b322e0ef74c1cdad7548ab112bd0fef0bd6db7
SUCCESS checkout https://github.com/JoshuaSullivan/NumericGauge.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/JoshuaSullivan/NumericGauge.git
https://github.com/JoshuaSullivan/NumericGauge.git
{
  "dependencies" : [
    {
      "identity" : "transientlabel",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JoshuaSullivan/TransientLabel.git"
    }
  ],
  "manifest_display_name" : "NumericGauge",
  "name" : "NumericGauge",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "NumericGauge",
      "targets" : [
        "NumericGauge"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NumericGaugeTests",
      "module_type" : "SwiftTarget",
      "name" : "NumericGaugeTests",
      "path" : "Tests/NumericGaugeTests",
      "sources" : [
        "NumericGaugeLayoutTests.swift",
        "NumericGaugeTests.swift",
        "NumericGaugeThemeTests.swift"
      ],
      "target_dependencies" : [
        "NumericGauge"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NumericGauge",
      "module_type" : "SwiftTarget",
      "name" : "NumericGauge",
      "path" : "Sources/NumericGauge",
      "product_dependencies" : [
        "TransientLabel"
      ],
      "product_memberships" : [
        "NumericGauge"
      ],
      "sources" : [
        "NumericGauge.swift",
        "NumericGaugeLayout.swift",
        "NumericGaugeTheme.swift",
        "NumericGaugeView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module TransientLabel
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TransientLabel/Sources/TransientLabel/TransientLabel.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /// This is the UIKit implementation of TransientLabel, which temporarily displays new values then disappears.
[5/7] Compiling TransientLabel TransientLabelBackground.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TransientLabel/Sources/TransientLabel/TransientLabel.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /// This is the UIKit implementation of TransientLabel, which temporarily displays new values then disappears.
[6/7] Compiling TransientLabel TransientLabelView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TransientLabel/Sources/TransientLabel/TransientLabel.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /// This is the UIKit implementation of TransientLabel, which temporarily displays new values then disappears.
[7/7] Compiling TransientLabel TransientLabel.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TransientLabel/Sources/TransientLabel/TransientLabel.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /// This is the UIKit implementation of TransientLabel, which temporarily displays new values then disappears.
Fetching https://github.com/JoshuaSullivan/TransientLabel.git
[1/78] Fetching transientlabel
Fetched https://github.com/JoshuaSullivan/TransientLabel.git from cache (0.61s)
Computing version for https://github.com/JoshuaSullivan/TransientLabel.git
Computed https://github.com/JoshuaSullivan/TransientLabel.git at 1.2.0 (1.11s)
Creating working copy for https://github.com/JoshuaSullivan/TransientLabel.git
Working copy of https://github.com/JoshuaSullivan/TransientLabel.git resolved at 1.2.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/NumericGauge/NumericGaugeAssets.xcassets
warning: 'transientlabel': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TransientLabel/Sources/TransientLabel/Media.xcassets
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module TransientLabel
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TransientLabel/Sources/TransientLabel/TransientLabel.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /// This is the UIKit implementation of TransientLabel, which temporarily displays new values then disappears.
[3/5] Compiling TransientLabel TransientLabel.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TransientLabel/Sources/TransientLabel/TransientLabel.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /// This is the UIKit implementation of TransientLabel, which temporarily displays new values then disappears.
[4/5] Compiling TransientLabel TransientLabelBackground.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TransientLabel/Sources/TransientLabel/TransientLabel.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /// This is the UIKit implementation of TransientLabel, which temporarily displays new values then disappears.
[5/5] Compiling TransientLabel TransientLabelView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TransientLabel/Sources/TransientLabel/TransientLabel.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | /// This is the UIKit implementation of TransientLabel, which temporarily displays new values then disappears.
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/NumericGauge/NumericGaugeAssets.xcassets
warning: 'transientlabel': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TransientLabel/Sources/TransientLabel/Media.xcassets
BUILD FAILURE 6.1 macosSpm