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 NKModalPresenter, reference master (d133cd), with Swift 6.0 for macOS (SPM) on 19 Apr 2025 19:17:41 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/kennic/NKModalPresenter.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kennic/NKModalPresenter
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d133cd3 Fix flicker screen after dismissing
Cloned https://github.com/kennic/NKModalPresenter.git
Revision (git rev-parse @):
d133cd36d7906e05d4895321c2803c7ac16adb2e
SUCCESS checkout https://github.com/kennic/NKModalPresenter.git at master
========================================
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": "nkmodalpresenter",
      "name": "NKModalPresenter",
      "url": "https://github.com/kennic/NKModalPresenter.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NKModalPresenter",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/kennic/NKModalPresenter.git
[1/500] Fetching nkmodalpresenter
Fetched https://github.com/kennic/NKModalPresenter.git from cache (1.42s)
Creating working copy for https://github.com/kennic/NKModalPresenter.git
Working copy of https://github.com/kennic/NKModalPresenter.git resolved at master (d133cd3)
warning: '.resolve-product-dependencies': dependency 'nkmodalpresenter' 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/kennic/NKModalPresenter.git
https://github.com/kennic/NKModalPresenter.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NKModalPresenter",
  "name" : "NKModalPresenter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "NKModalPresenter",
      "targets" : [
        "NKModalPresenter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NKModalPresenter",
      "module_type" : "SwiftTarget",
      "name" : "NKModalPresenter",
      "path" : "NKModalPresenter",
      "product_memberships" : [
        "NKModalPresenter"
      ],
      "sources" : [
        "NKModalController.swift",
        "NKModalPresenter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/NKModalPresenter/Example': File not found.
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/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module NKModalPresenter
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:9:8: error: no such module 'UIKit'
   7 | //
   8 |
   9 | import UIKit
     |        `- error: no such module 'UIKit'
  10 |
  11 | public enum NKModalPresentPosition: Equatable {
[4/5] Compiling NKModalPresenter NKModalPresenter.swift
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:9:8: error: no such module 'UIKit'
   7 | //
   8 |
   9 | import UIKit
     |        `- error: no such module 'UIKit'
  10 |
  11 | public enum NKModalPresentPosition: Equatable {
[5/5] Compiling NKModalPresenter NKModalController.swift
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:9:8: error: no such module 'UIKit'
   7 | //
   8 |
   9 | import UIKit
     |        `- error: no such module 'UIKit'
  10 |
  11 | public enum NKModalPresentPosition: Equatable {
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/NKModalPresenter/Example': File not found.
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module NKModalPresenter
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:9:8: error: no such module 'UIKit'
   7 | //
   8 |
   9 | import UIKit
     |        `- error: no such module 'UIKit'
  10 |
  11 | public enum NKModalPresentPosition: Equatable {
[3/4] Compiling NKModalPresenter NKModalPresenter.swift
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:9:8: error: no such module 'UIKit'
   7 | //
   8 |
   9 | import UIKit
     |        `- error: no such module 'UIKit'
  10 |
  11 | public enum NKModalPresentPosition: Equatable {
[4/4] Compiling NKModalPresenter NKModalController.swift
/Users/admin/builder/spi-builder-workspace/NKModalPresenter/NKModalController.swift:9:8: error: no such module 'UIKit'
   7 | //
   8 |
   9 | import UIKit
     |        `- error: no such module 'UIKit'
  10 |
  11 | public enum NKModalPresentPosition: Equatable {
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/NKModalPresenter/Example': File not found.
BUILD FAILURE 6.0 macosSpm