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 Android on 5 Jul 2025 06:27:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jonreid/ViewControllerPresentationSpy.git
https://github.com/jonreid/ViewControllerPresentationSpy.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/jonreid/FailKit.git
[1/175] Fetching failkit
Fetched https://github.com/jonreid/FailKit.git from cache (0.20s)
Computing version for https://github.com/jonreid/FailKit.git
Computed https://github.com/jonreid/FailKit.git at 1.1.0 (0.99s)
Creating working copy for https://github.com/jonreid/FailKit.git
Working copy of https://github.com/jonreid/FailKit.git resolved at 1.1.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling FailKit Failing.swift
[5/14] Compiling FailKit FailSpy.swift
[6/14] Compiling FailKit SourceLocation.swift
[7/14] Compiling FailKit FallbackDescriber.swift
[8/14] Compiling FailKit MessageSuffix.swift
[9/14] Compiling FailKit Describe.swift
[10/14] Compiling FailKit Describer.swift
[11/14] Compiling FailKit StringDescriber.swift
[12/14] Compiling FailKit OptionalDescriber.swift
[13/14] Emitting module FailKit
[14/14] Compiling FailKit Fail.swift
[16/24] Compiling ViewControllerPresentationSpy UIViewController+Mocking.swift
/host/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/25] Compiling ViewControllerPresentationSpy DismissalVerifier.swift
/host/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/25] Compiling ViewControllerPresentationSpy UIAlertController+Mocking.swift
/host/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/25] Compiling ViewControllerPresentationSpy UIAlertAction+Mocking.swift
/host/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/25] Compiling ViewControllerPresentationSpy NSObject+Swizzling.swift
/host/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/25] Compiling ViewControllerPresentationSpy PresentationVerifier.swift
/host/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)
[22/25] Emitting module ViewControllerPresentationSpy
/host/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/25] Compiling ViewControllerPresentationSpy AlertVerifier.swift
/host/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/25] Compiling ViewControllerPresentationSpy ClosureContainer.swift
/host/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 | /**
[25/25] Compiling ViewControllerPresentationSpy VerifyHelpers.swift
/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling FailKit Failing.swift
[3/12] Compiling FailKit FailSpy.swift
[4/12] Compiling FailKit FallbackDescriber.swift
[5/12] Compiling FailKit MessageSuffix.swift
[6/12] Compiling FailKit OptionalDescriber.swift
[7/12] Compiling FailKit Describe.swift
[8/12] Compiling FailKit Describer.swift
[9/12] Compiling FailKit StringDescriber.swift
[10/12] Emitting module FailKit
[11/12] Compiling FailKit Fail.swift
[12/12] Compiling FailKit SourceLocation.swift
[14/22] Compiling ViewControllerPresentationSpy UIViewController+Mocking.swift
/host/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 UIAlertController+Mocking.swift
/host/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/23] Compiling ViewControllerPresentationSpy UIAlertAction+Mocking.swift
/host/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/23] Compiling ViewControllerPresentationSpy PresentationVerifier.swift
/host/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/23] Compiling ViewControllerPresentationSpy NSObject+Swizzling.swift
/host/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/23] Emitting module ViewControllerPresentationSpy
/host/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/23] Compiling ViewControllerPresentationSpy DismissalVerifier.swift
/host/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/23] Compiling ViewControllerPresentationSpy AlertVerifier.swift
/host/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/23] Compiling ViewControllerPresentationSpy ClosureContainer.swift
/host/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/23] Compiling ViewControllerPresentationSpy VerifyHelpers.swift
/host/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 android