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 SelectableText, reference main (b55f8c), with Swift 6.1 for Android on 29 May 2025 04:39:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kevinhermawan/SelectableText.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/kevinhermawan/SelectableText
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b55f8c5 release: 1.0.0
Cloned https://github.com/kevinhermawan/SelectableText.git
Revision (git rev-parse @):
b55f8c56458b93c46bce08fd048138b749885bf6
SUCCESS checkout https://github.com/kevinhermawan/SelectableText.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kevinhermawan/SelectableText.git
https://github.com/kevinhermawan/SelectableText.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "SelectableText",
  "name" : "SelectableText",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SelectableText",
      "targets" : [
        "SelectableText"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SelectableTextTests",
      "module_type" : "SwiftTarget",
      "name" : "SelectableTextTests",
      "path" : "Tests/SelectableTextTests",
      "sources" : [
        "SelectableTextTests.swift"
      ],
      "target_dependencies" : [
        "SelectableText"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SelectableText",
      "module_type" : "SwiftTarget",
      "name" : "SelectableText",
      "path" : "Sources/SelectableText",
      "product_memberships" : [
        "SelectableText"
      ],
      "sources" : [
        "Extensions/BaseTextView+AppKit.swift",
        "Extensions/BaseTextView+UIKit.swift",
        "Extensions/GeometryProxy+MaxWidth.swift",
        "Extensions/SelectableTextRepresentable+AppKit.swift",
        "Extensions/SelectableTextRepresentable+UIKit.swift",
        "SelectableText.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin.git
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.41s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.3 (2.90s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.98s)
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/11] Emitting module SelectableText
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension GeometryProxy {
[6/11] Compiling SelectableText BaseTextView+AppKit.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension GeometryProxy {
[7/11] Compiling SelectableText BaseTextView+UIKit.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension GeometryProxy {
[8/11] Compiling SelectableText SelectableTextRepresentable+UIKit.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension GeometryProxy {
[9/11] Compiling SelectableText SelectableText.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension GeometryProxy {
[10/11] Compiling SelectableText GeometryProxy+MaxWidth.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension GeometryProxy {
[11/11] Compiling SelectableText SelectableTextRepresentable+AppKit.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension GeometryProxy {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/10] Compiling SelectableText BaseTextView+UIKit.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension GeometryProxy {
[5/10] Compiling SelectableText SelectableTextRepresentable+AppKit.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension GeometryProxy {
[6/10] Compiling SelectableText BaseTextView+AppKit.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension GeometryProxy {
[7/10] Emitting module SelectableText
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension GeometryProxy {
[8/10] Compiling SelectableText GeometryProxy+MaxWidth.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension GeometryProxy {
[9/10] Compiling SelectableText SelectableTextRepresentable+UIKit.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension GeometryProxy {
[10/10] Compiling SelectableText SelectableText.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension GeometryProxy {
BUILD FAILURE 6.1 android