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 MaskedUITextField, reference main (7788a9), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 02:42:56 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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Columbina/MaskedUITextField.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Columbina/MaskedUITextField
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7788a9f Add project and implementation.
Cloned https://github.com/Columbina/MaskedUITextField.git
Revision (git rev-parse @):
7788a9fdc8d99a06ce94377e4d1364f8cfd61a28
SUCCESS checkout https://github.com/Columbina/MaskedUITextField.git at main
Fetching https://github.com/Columbina/MaskedFormatter.git
[1/54] Fetching maskedformatter
Fetched https://github.com/Columbina/MaskedFormatter.git from cache (0.72s)
Computing version for https://github.com/Columbina/MaskedFormatter.git
Computed https://github.com/Columbina/MaskedFormatter.git at 1.0.1 (0.65s)
Creating working copy for https://github.com/Columbina/MaskedFormatter.git
Working copy of https://github.com/Columbina/MaskedFormatter.git resolved at 1.0.1
========================================
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": "maskeduitextfield",
      "name": "MaskedUITextField",
      "url": "https://github.com/Columbina/MaskedUITextField.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MaskedUITextField",
      "dependencies": [
        {
          "identity": "maskedformatter",
          "name": "MaskedFormatter",
          "url": "https://github.com/Columbina/MaskedFormatter.git",
          "version": "1.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MaskedFormatter",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Columbina/MaskedUITextField.git
[1/24] Fetching maskeduitextfield
Fetched https://github.com/Columbina/MaskedUITextField.git from cache (0.68s)
Fetching https://github.com/Columbina/MaskedFormatter.git from cache
Fetched https://github.com/Columbina/MaskedFormatter.git from cache (0.45s)
Computing version for https://github.com/Columbina/MaskedFormatter.git
Computed https://github.com/Columbina/MaskedFormatter.git at 1.0.1 (0.02s)
Creating working copy for https://github.com/Columbina/MaskedFormatter.git
Working copy of https://github.com/Columbina/MaskedFormatter.git resolved at 1.0.1
Creating working copy for https://github.com/Columbina/MaskedUITextField.git
Working copy of https://github.com/Columbina/MaskedUITextField.git resolved at main (7788a9f)
warning: '.resolve-product-dependencies': dependency 'maskeduitextfield' is not used by any target
Found 1 product dependencies
  - MaskedFormatter
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Columbina/MaskedUITextField.git
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/5] Compiling MaskedFormatter MaskedFormatter.swift
[5/5] Emitting module MaskedFormatter
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module MaskedUITextField
/Users/admin/builder/spi-builder-workspace/Sources/MaskedUITextField/MaskedUITextField.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 | @_exported import MaskedFormatter
 3 |
[7/7] Compiling MaskedUITextField MaskedUITextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/MaskedUITextField/MaskedUITextField.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 | @_exported import MaskedFormatter
 3 |
BUILD FAILURE 6.0 macosSpm