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 CountryPickerAKS, reference main (509d46), with Swift 6.0 for macOS (SPM) on 18 Feb 2025 22:48:04 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aksamitsah/CountryPickerAKS.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aksamitsah/CountryPickerAKS
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 509d466 Update README.md
Cloned https://github.com/aksamitsah/CountryPickerAKS.git
Revision (git rev-parse @):
509d466232261f76d9d3d6424e449d7f3b560f98
SUCCESS checkout https://github.com/aksamitsah/CountryPickerAKS.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": "countrypickeraks",
      "name": "CountryPickerAKS",
      "url": "https://github.com/aksamitsah/CountryPickerAKS.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CountryPickerAKS",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/aksamitsah/CountryPickerAKS.git
[1/196] Fetching countrypickeraks
Fetched https://github.com/aksamitsah/CountryPickerAKS.git from cache (1.15s)
Creating working copy for https://github.com/aksamitsah/CountryPickerAKS.git
Working copy of https://github.com/aksamitsah/CountryPickerAKS.git resolved at main (509d466)
warning: '.resolve-product-dependencies': dependency 'countrypickeraks' 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/aksamitsah/CountryPickerAKS.git
https://github.com/aksamitsah/CountryPickerAKS.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CountryPickerAKS",
  "name" : "CountryPickerAKS",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CountryPickerAKS",
      "targets" : [
        "CountryPickerAKS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CountryPickerAKS",
      "module_type" : "SwiftTarget",
      "name" : "CountryPickerAKS",
      "path" : "Sources/CountryPickerAKS",
      "product_memberships" : [
        "CountryPickerAKS"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/Resources/Assets.xcassets",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/Resources/Storyboard.storyboard",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Bundle.swift",
        "CountryData.swift",
        "CountryListVC.swift",
        "CountryManager.swift",
        "CountryPickerCell.swift",
        "Extensions.swift",
        "Models.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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 -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/4] Write sources
[0/4] Copying Storyboard.storyboard
[2/4] Copying Assets.xcassets
[3/4] Write swift-version-5BDAB9E9C0126B9D.txt
[5/13] Compiling CountryPickerAKS Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
[6/13] Compiling CountryPickerAKS CountryListVC.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/13] Compiling CountryPickerAKS Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
[8/13] Compiling CountryPickerAKS CountryData.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
[9/13] Emitting module CountryPickerAKS
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
[10/13] Compiling CountryPickerAKS resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
[11/13] Compiling CountryPickerAKS CountryManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
[12/13] Compiling CountryPickerAKS CountryPickerCell.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
[13/13] Compiling CountryPickerAKS Bundle.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
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/10] Compiling CountryPickerAKS resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
[3/10] Compiling CountryPickerAKS Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
[4/10] Compiling CountryPickerAKS Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
[5/10] Compiling CountryPickerAKS CountryPickerCell.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
[6/10] Compiling CountryPickerAKS CountryManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module CountryPickerAKS
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
[8/10] Compiling CountryPickerAKS CountryData.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
[9/10] Compiling CountryPickerAKS CountryListVC.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
[10/10] Compiling CountryPickerAKS Bundle.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPickerAKS/CountryListVC.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | public class CountryPicker: UIViewController {
BUILD FAILURE 6.0 macosSpm