The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build CountryPicker, reference 4.0.0 (416404), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 01:48:13 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/suryakantsharma/countrypicker.git
Reference: 4.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/suryakantsharma/countrypicker
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at 416404c bump version to 4.0.0
Cloned https://github.com/suryakantsharma/countrypicker.git
Revision (git rev-parse @):
416404cce633a2039846ae2cb6951fd93cf7d588
SUCCESS checkout https://github.com/suryakantsharma/countrypicker.git at 4.0.0
========================================
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/5294] Fetching countrypicker
Fetched https://github.com/suryakantsharma/countrypicker.git from cache (4.29s)
Creating working copy for https://github.com/suryakantsharma/countrypicker.git
Working copy of https://github.com/suryakantsharma/countrypicker.git resolved at 4.0.0 (416404c)
warning: '.resolve-product-dependencies': dependency 'countrypicker' 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/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" : "CountryPicker",
      "module_type" : "SwiftTarget",
      "name" : "CountryPicker",
      "path" : "CountryPicker/Sources",
      "product_memberships" : [
        "CountryPicker"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/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" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/3] Write sources
[1/3] Copying CountryPickerController.bundle
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/14] Compiling CountryPicker CountryPickerWithSectionViewModel.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | open class Country: Identifiable {
[5/15] Compiling CountryPicker resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | open class Country: Identifiable {
[6/15] Compiling CountryPicker SectionMapper.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | open class Country: Identifiable {
[7/15] Compiling CountryPicker CountryPickerWheelViewModel.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | open class Country: Identifiable {
[8/15] Compiling CountryPicker CountryManager.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | open class Country: Identifiable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/15] Emitting module CountryPicker
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | open class Country: Identifiable {
[10/15] Compiling CountryPicker CountryPickerView.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | open class Country: Identifiable {
[11/15] Compiling CountryPicker CountryPickerWithSections.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | open class Country: Identifiable {
[12/15] Compiling CountryPicker Country.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | open class Country: Identifiable {
[13/15] Compiling CountryPicker Configuration.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | open class Country: Identifiable {
[14/15] Compiling CountryPicker Constant.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | open class Country: Identifiable {
[15/15] Compiling CountryPicker CountryPickerWheelView.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
  8 |
  9 | import Foundation
 10 | import UIKit
    |        `- error: no such module 'UIKit'
 11 |
 12 | open class Country: Identifiable {
BUILD FAILURE 6.0 macosSpm