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 main (762a87), with Swift 6.1 for Linux on 12 Aug 2025 18:02:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jonreid/ViewControllerPresentationSpy.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 762a874 . e Bump simulator to iPhone 16
Cloned https://github.com/jonreid/ViewControllerPresentationSpy.git
Revision (git rev-parse @):
762a874e1deb1273eb5985497523bda63fa784c9
SUCCESS checkout https://github.com/jonreid/ViewControllerPresentationSpy.git at main
========================================
Build
========================================
Selected platform:         linux
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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/jonreid/FailKit.git
[1/199] Fetching failkit
Fetched https://github.com/jonreid/FailKit.git from cache (0.38s)
Computing version for https://github.com/jonreid/FailKit.git
Computed https://github.com/jonreid/FailKit.git at 1.1.0 (1.45s)
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 SourceLocation.swift
[6/14] Compiling FailKit OptionalDescriber.swift
[7/14] Compiling FailKit FallbackDescriber.swift
[8/14] Compiling FailKit MessageSuffix.swift
[9/14] Compiling FailKit StringDescriber.swift
[10/14] Emitting module FailKit
[11/14] Compiling FailKit Describe.swift
[12/14] Compiling FailKit Describer.swift
[13/14] Compiling FailKit FailSpy.swift
[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 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 | /**
[18/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 | /**
[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 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 | /**
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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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 Fail.swift
[4/12] Compiling FailKit FailSpy.swift
[5/12] Compiling FailKit OptionalDescriber.swift
[6/12] Compiling FailKit Describe.swift
[7/12] Compiling FailKit Describer.swift
[8/12] Compiling FailKit FallbackDescriber.swift
[9/12] Compiling FailKit MessageSuffix.swift
[10/12] Emitting module FailKit
[11/12] Compiling FailKit StringDescriber.swift
[12/12] Compiling FailKit SourceLocation.swift
[14/22] 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 | /**
[15/23] 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 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 | /**
[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 | /**
[19/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 | /**
[20/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 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/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 | /**
[22/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 | /**
[23/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 | /**
BUILD FAILURE 6.1 linux