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 CountryPicker, reference 5.0.0-beta1 (fe7c82), with Swift 6.1 for macOS (SPM) on 17 May 2025 06:33:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/suryakantsharma/countrypicker.git
Reference: 5.0.0-beta1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/suryakantsharma/countrypicker
 * tag               5.0.0-beta1 -> FETCH_HEAD
HEAD is now at fe7c828 chore(swift): Update CountryPicker.xcodeproj to Swift 6.0 and fix CountryManagerTests for Swift 6 compatibility
Cloned https://github.com/suryakantsharma/countrypicker.git
Revision (git rev-parse @):
fe7c82860699950f548d9065b1573e41a232854f
SUCCESS checkout https://github.com/suryakantsharma/countrypicker.git at 5.0.0-beta1
========================================
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": "countrypicker",
      "name": "CountryPicker",
      "url": "https://github.com/suryakantsharma/countrypicker.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/countrypicker",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/suryakantsharma/countrypicker.git
[1/5424] Fetching countrypicker
Fetched https://github.com/suryakantsharma/countrypicker.git from cache (4.07s)
Creating working copy for https://github.com/suryakantsharma/countrypicker.git
Working copy of https://github.com/suryakantsharma/countrypicker.git resolved at 5.0.0-beta1 (fe7c828)
warning: '.resolve-product-dependencies': dependency 'countrypicker' 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/suryakantsharma/countrypicker.git
https://github.com/suryakantsharma/countrypicker.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CountryPicker",
  "name" : "CountryPicker",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "CountryPicker",
      "targets" : [
        "CountryPicker"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CountryPickerTests",
      "module_type" : "SwiftTarget",
      "name" : "CountryPickerTests",
      "path" : "Tests/CountryPickerTests",
      "sources" : [
        "CountryManagerTests.swift",
        "CountryTests.swift"
      ],
      "target_dependencies" : [
        "CountryPicker"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CountryPicker",
      "module_type" : "SwiftTarget",
      "name" : "CountryPicker",
      "path" : "Sources/CountryPicker",
      "product_memberships" : [
        "CountryPicker"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/CountryPickerController.bundle",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Configuration.swift",
        "Constant.swift",
        "Country.swift",
        "CountryManager.swift",
        "CountryPickerView.swift",
        "CountryPickerWheelView.swift",
        "CountryPickerWheelViewModel.swift",
        "CountryPickerWithSectionViewModel.swift",
        "CountryPickerWithSections.swift",
        "SectionMapper.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
[1/3] Copying CountryPickerController.bundle
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/14] Compiling CountryPicker CountryPickerWheelViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[5/15] Compiling CountryPicker resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/15] Emitting module CountryPicker
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[7/15] Compiling CountryPicker CountryPickerWheelView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[8/15] Compiling CountryPicker CountryManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[9/15] Compiling CountryPicker Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[10/15] Compiling CountryPicker Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[11/15] Compiling CountryPicker CountryPickerWithSections.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[12/15] Compiling CountryPicker CountryPickerWithSectionViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[13/15] Compiling CountryPicker CountryPickerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[14/15] Compiling CountryPicker Country.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[15/15] Compiling CountryPicker SectionMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
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/12] Compiling CountryPicker CountryPickerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/13] Emitting module CountryPicker
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[4/13] Compiling CountryPicker resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[5/13] Compiling CountryPicker CountryManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[6/13] Compiling CountryPicker CountryPickerWheelView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[7/13] Compiling CountryPicker CountryPickerWithSectionViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[8/13] Compiling CountryPicker CountryPickerWithSections.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[9/13] Compiling CountryPicker CountryPickerWheelViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[10/13] Compiling CountryPicker Country.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[11/13] Compiling CountryPicker Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[12/13] Compiling CountryPicker Constant.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
[13/13] Compiling CountryPicker SectionMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/CountryPicker/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | @MainActor
BUILD FAILURE 6.1 macosSpm