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 master (871a46), with Swift 5.10 for macOS (SPM) on 13 Mar 2025 11:09:23 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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/suryakantsharma/countrypicker.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/suryakantsharma/countrypicker
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 871a46f Merge pull request #127 from HernanPaez/master
Cloned https://github.com/suryakantsharma/countrypicker.git
Revision (git rev-parse @):
871a46f264d4e3cf368923d714631b917a9e20e6
SUCCESS checkout https://github.com/suryakantsharma/countrypicker.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/suryakantsharma/countrypicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying CountryPickerController.bundle
[2/3] Write swift-version-33747A42983211AE.txt
[4/14] Compiling CountryPicker SectionMapper.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[5/15] Compiling CountryPicker CountryPickerWithSectionViewModel.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[6/15] Compiling CountryPicker resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[7/15] Compiling CountryPicker Country.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/15] Compiling CountryPicker CountryPickerWheelViewModel.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[9/15] Compiling CountryPicker CountryPickerWheelView.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[10/15] Emitting module CountryPicker
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[11/15] Compiling CountryPicker CountryPickerWithSections.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[12/15] Compiling CountryPicker Configuration.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[13/15] Compiling CountryPicker Constant.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[14/15] Compiling CountryPicker CountryManager.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[15/15] Compiling CountryPicker CountryPickerView.swift
/Users/admin/builder/spi-builder-workspace/CountryPicker/Sources/Country.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 macosSpm