The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HeightScaleView, reference main (282bff), with Swift 6.1 for macOS (SPM) on 11 Aug 2025 11:14:44 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/subinspathilettu/SJHeightScaleView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/subinspathilettu/SJHeightScaleView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 282bffc Added Shields.io badges
Cloned https://github.com/subinspathilettu/SJHeightScaleView.git
Revision (git rev-parse @):
282bffcb75cdd8982a382580e725fd6843ce5b29
SUCCESS checkout https://github.com/subinspathilettu/SJHeightScaleView.git at main
Fetching https://github.com/roberthein/TinyConstraints.git
[1/1546] Fetching tinyconstraints
Fetched https://github.com/roberthein/TinyConstraints.git from cache (3.17s)
Creating working copy for https://github.com/roberthein/TinyConstraints.git
Working copy of https://github.com/roberthein/TinyConstraints.git resolved at 4.0.2
========================================
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": "sjheightscaleview",
      "name": "HeightScaleView",
      "url": "https://github.com/subinspathilettu/SJHeightScaleView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SJHeightScaleView",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/subinspathilettu/SJHeightScaleView.git
[1/26] Fetching sjheightscaleview
Fetched https://github.com/subinspathilettu/SJHeightScaleView.git from cache (1.04s)
Creating working copy for https://github.com/subinspathilettu/SJHeightScaleView.git
Working copy of https://github.com/subinspathilettu/SJHeightScaleView.git resolved at main (282bffc)
warning: '.resolve-product-dependencies': dependency 'sjheightscaleview' 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/subinspathilettu/SJHeightScaleView.git
https://github.com/subinspathilettu/SJHeightScaleView.git
{
  "dependencies" : [
    {
      "identity" : "tinyconstraints",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.2",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/roberthein/TinyConstraints.git"
    }
  ],
  "manifest_display_name" : "HeightScaleView",
  "name" : "HeightScaleView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "HeightScaleView",
      "targets" : [
        "HeightScaleView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HeightScaleViewTests",
      "module_type" : "SwiftTarget",
      "name" : "HeightScaleViewTests",
      "path" : "Tests/HeightScaleViewTests",
      "sources" : [
        "HeightScaleViewTests.swift"
      ],
      "target_dependencies" : [
        "HeightScaleView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HeightScaleView",
      "module_type" : "SwiftTarget",
      "name" : "HeightScaleView",
      "path" : "Sources/HeightScaleView",
      "product_memberships" : [
        "HeightScaleView"
      ],
      "sources" : [
        "HeightScaleView.swift",
        "ScaleValueLabel.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/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/5] Compiling HeightScaleView ScaleValueLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeightScaleView/HeightScaleView.swift:32:8: error: no such module 'UIKit'
 30 | //     let selectedHeight = heightScale.currentValue
 31 | //
 32 | import UIKit
    |        `- error: no such module 'UIKit'
 33 | import TinyConstraints
 34 |
[4/5] Emitting module HeightScaleView
/Users/admin/builder/spi-builder-workspace/Sources/HeightScaleView/HeightScaleView.swift:32:8: error: no such module 'UIKit'
 30 | //     let selectedHeight = heightScale.currentValue
 31 | //
 32 | import UIKit
    |        `- error: no such module 'UIKit'
 33 | import TinyConstraints
 34 |
[5/5] Compiling HeightScaleView HeightScaleView.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeightScaleView/HeightScaleView.swift:32:8: error: no such module 'UIKit'
 30 | //     let selectedHeight = heightScale.currentValue
 31 | //
 32 | import UIKit
    |        `- error: no such module 'UIKit'
 33 | import TinyConstraints
 34 |
warning: 'spi-builder-workspace': dependency 'tinyconstraints' is not used by any target
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/4] Compiling HeightScaleView ScaleValueLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeightScaleView/HeightScaleView.swift:32:8: error: no such module 'UIKit'
 30 | //     let selectedHeight = heightScale.currentValue
 31 | //
 32 | import UIKit
    |        `- error: no such module 'UIKit'
 33 | import TinyConstraints
 34 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module HeightScaleView
/Users/admin/builder/spi-builder-workspace/Sources/HeightScaleView/HeightScaleView.swift:32:8: error: no such module 'UIKit'
 30 | //     let selectedHeight = heightScale.currentValue
 31 | //
 32 | import UIKit
    |        `- error: no such module 'UIKit'
 33 | import TinyConstraints
 34 |
[4/4] Compiling HeightScaleView HeightScaleView.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeightScaleView/HeightScaleView.swift:32:8: error: no such module 'UIKit'
 30 | //     let selectedHeight = heightScale.currentValue
 31 | //
 32 | import UIKit
    |        `- error: no such module 'UIKit'
 33 | import TinyConstraints
 34 |
warning: 'spi-builder-workspace': dependency 'tinyconstraints' is not used by any target
BUILD FAILURE 6.1 macosSpm