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 ViewControllerPresentationSpy, reference 7.1.0 (04327f), with Swift 6.1 for macOS (SPM) on 5 Jul 2025 06:27:53 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jonreid/ViewControllerPresentationSpy.git
Reference: 7.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jonreid/ViewControllerPresentationSpy
 * tag               7.1.0      -> FETCH_HEAD
HEAD is now at 04327f4 . d Add links to example code
Cloned https://github.com/jonreid/ViewControllerPresentationSpy.git
Revision (git rev-parse @):
04327f4c1c84f4ddbd80a0b87995e741dfd76e1f
SUCCESS checkout https://github.com/jonreid/ViewControllerPresentationSpy.git at 7.1.0
Fetching https://github.com/jonreid/FailKit.git
[4/175] Fetching failkit
Fetched https://github.com/jonreid/FailKit.git from cache (0.64s)
Computing version for https://github.com/jonreid/FailKit.git
Computed https://github.com/jonreid/FailKit.git at 1.1.0 (1.23s)
Creating working copy for https://github.com/jonreid/FailKit.git
Working copy of https://github.com/jonreid/FailKit.git resolved at 1.1.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": "viewcontrollerpresentationspy",
      "name": "ViewControllerPresentationSpy",
      "url": "https://github.com/jonreid/ViewControllerPresentationSpy.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ViewControllerPresentationSpy",
      "dependencies": [
        {
          "identity": "failkit",
          "name": "FailKit",
          "url": "https://github.com/jonreid/FailKit.git",
          "version": "1.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FailKit",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/jonreid/ViewControllerPresentationSpy.git
[1/5141] Fetching viewcontrollerpresentationspy
Fetched https://github.com/jonreid/ViewControllerPresentationSpy.git from cache (1.21s)
Fetching https://github.com/jonreid/FailKit.git from cache
Fetched https://github.com/jonreid/FailKit.git from cache (0.46s)
Computing version for https://github.com/jonreid/FailKit.git
Computed https://github.com/jonreid/FailKit.git at 1.1.0 (0.52s)
Creating working copy for https://github.com/jonreid/ViewControllerPresentationSpy.git
Working copy of https://github.com/jonreid/ViewControllerPresentationSpy.git resolved at 7.1.0 (04327f4)
Creating working copy for https://github.com/jonreid/FailKit.git
Working copy of https://github.com/jonreid/FailKit.git resolved at 1.1.0
warning: '.resolve-product-dependencies': dependency 'viewcontrollerpresentationspy' is not used by any target
Found 1 product dependencies
  - FailKit
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jonreid/ViewControllerPresentationSpy.git
https://github.com/jonreid/ViewControllerPresentationSpy.git
{
  "dependencies" : [
    {
      "identity" : "failkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jonreid/FailKit.git"
    }
  ],
  "manifest_display_name" : "ViewControllerPresentationSpy",
  "name" : "ViewControllerPresentationSpy",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "ViewControllerPresentationSpy",
      "targets" : [
        "ViewControllerPresentationSpy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ViewControllerPresentationSpy",
      "module_type" : "SwiftTarget",
      "name" : "ViewControllerPresentationSpy",
      "path" : "Source",
      "product_dependencies" : [
        "FailKit"
      ],
      "product_memberships" : [
        "ViewControllerPresentationSpy"
      ],
      "sources" : [
        "ViewControllerPresentationSpy/AlertVerifier.swift",
        "ViewControllerPresentationSpy/ClosureContainer.swift",
        "ViewControllerPresentationSpy/DismissalVerifier.swift",
        "ViewControllerPresentationSpy/NSObject+Swizzling.swift",
        "ViewControllerPresentationSpy/PresentationVerifier.swift",
        "ViewControllerPresentationSpy/UIAlertAction+Mocking.swift",
        "ViewControllerPresentationSpy/UIAlertController+Mocking.swift",
        "ViewControllerPresentationSpy/UIViewController+Mocking.swift",
        "ViewControllerPresentationSpy/VerifyHelpers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
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 -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
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/13] Compiling FailKit Failing.swift
[5/13] Compiling FailKit FailSpy.swift
[6/13] Compiling FailKit Describer.swift
[7/14] Compiling FailKit Describe.swift
[8/14] Compiling FailKit SourceLocation.swift
[9/14] Compiling FailKit FallbackDescriber.swift
[10/14] Compiling FailKit MessageSuffix.swift
[11/14] Emitting module FailKit
[12/14] Compiling FailKit OptionalDescriber.swift
[13/14] Compiling FailKit StringDescriber.swift
[14/14] Compiling FailKit Fail.swift
[15/24] Compiling ViewControllerPresentationSpy UIViewController+Mocking.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[16/24] Compiling ViewControllerPresentationSpy VerifyHelpers.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[17/24] Compiling ViewControllerPresentationSpy UIAlertController+Mocking.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[18/24] Compiling ViewControllerPresentationSpy UIAlertAction+Mocking.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/24] Emitting module ViewControllerPresentationSpy
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[20/24] Compiling ViewControllerPresentationSpy NSObject+Swizzling.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[21/24] Compiling ViewControllerPresentationSpy ClosureContainer.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[22/24] Compiling ViewControllerPresentationSpy DismissalVerifier.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[23/24] Compiling ViewControllerPresentationSpy PresentationVerifier.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[24/24] Compiling ViewControllerPresentationSpy AlertVerifier.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
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/11] Compiling FailKit Failing.swift
[3/12] Compiling FailKit MessageSuffix.swift
[4/12] Emitting module FailKit
[5/12] Compiling FailKit Describe.swift
[6/12] Compiling FailKit FallbackDescriber.swift
[7/12] Compiling FailKit Describer.swift
[8/12] Compiling FailKit OptionalDescriber.swift
[9/12] Compiling FailKit Fail.swift
[10/12] Compiling FailKit StringDescriber.swift
[11/12] Compiling FailKit FailSpy.swift
[12/12] Compiling FailKit SourceLocation.swift
[13/22] Compiling ViewControllerPresentationSpy UIAlertController+Mocking.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[14/22] Compiling ViewControllerPresentationSpy VerifyHelpers.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[15/22] Compiling ViewControllerPresentationSpy UIViewController+Mocking.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[16/22] Compiling ViewControllerPresentationSpy UIAlertAction+Mocking.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/22] Compiling ViewControllerPresentationSpy DismissalVerifier.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[18/22] Compiling ViewControllerPresentationSpy PresentationVerifier.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[19/22] Compiling ViewControllerPresentationSpy NSObject+Swizzling.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[20/22] Compiling ViewControllerPresentationSpy AlertVerifier.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[21/22] Compiling ViewControllerPresentationSpy ClosureContainer.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
[22/22] Emitting module ViewControllerPresentationSpy
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:6:8: error: no such module 'UIKit'
  4 |
  5 | import FailKit
  6 | import UIKit
    |        `- error: no such module 'UIKit'
  7 |
  8 | /**
BUILD FAILURE 6.1 macosSpm