The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RichString, reference 2.2.1 (8634ca), with Swift 6.1 for Android on 27 May 2025 23:39:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/svdo/swift-RichString.git
Reference: 2.2.1
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/svdo/swift-RichString
 * tag               2.2.1      -> FETCH_HEAD
HEAD is now at 8634ca3 Updates jazzy
Cloned https://github.com/svdo/swift-RichString.git
Revision (git rev-parse @):
8634ca31b00110f108eb121ea372bc4c8531dc27
SUCCESS checkout https://github.com/svdo/swift-RichString.git at 2.2.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/svdo/swift-RichString.git
https://github.com/svdo/swift-RichString.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.0.1",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    }
  ],
  "manifest_display_name" : "RichString",
  "name" : "RichString",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RichString",
      "targets" : [
        "RichString"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4"
  ],
  "targets" : [
    {
      "c99name" : "RichStringTests",
      "module_type" : "SwiftTarget",
      "name" : "RichStringTests",
      "path" : "RichStringTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "NSAttributedString+RichSpec.swift",
        "NSAttributedStringOperatorsSpec.swift"
      ],
      "target_dependencies" : [
        "RichString"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RichString",
      "module_type" : "SwiftTarget",
      "name" : "RichString",
      "path" : "RichString",
      "product_memberships" : [
        "RichString"
      ],
      "sources" : [
        "Color_PlatformDependent.swift",
        "Font_PlatformDependent.swift",
        "NSAttributedString+Rich.swift",
        "NSAttributedStringOperators.swift",
        "RichString.swift",
        "String+Rich.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichString/RichString/iOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichString/RichString/tvOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichString/RichString/watchOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichStringTests/RichStringTests/iOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichStringTests/RichStringTests/tvOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichStringTests/RichStringTests/watchOS': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14755] Fetching quick
[2215/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.56s)
Fetched https://github.com/Quick/Nimble.git from cache (1.57s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (3.27s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.68s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.4
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.4
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichString/RichString/watchOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichString/RichString/iOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichString/RichString/tvOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichStringTests/RichStringTests/watchOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichStringTests/RichStringTests/iOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichStringTests/RichStringTests/tvOS': File not found.
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Emitting module RichString
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
  4 |
  5 | #if SWIFT_PACKAGE || os(macOS)
  6 |     import AppKit
    |            `- error: no such module 'AppKit'
  7 | #else
  8 |     import UIKit
[4/9] Compiling RichString Color_PlatformDependent.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
  4 |
  5 | #if SWIFT_PACKAGE || os(macOS)
  6 |     import AppKit
    |            `- error: no such module 'AppKit'
  7 | #else
  8 |     import UIKit
[5/9] Compiling RichString Font_PlatformDependent.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
  4 |
  5 | #if SWIFT_PACKAGE || os(macOS)
  6 |     import AppKit
    |            `- error: no such module 'AppKit'
  7 | #else
  8 |     import UIKit
[6/9] Compiling RichString NSAttributedStringOperators.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
  4 |
  5 | #if SWIFT_PACKAGE || os(macOS)
  6 |     import AppKit
    |            `- error: no such module 'AppKit'
  7 | #else
  8 |     import UIKit
[7/9] Compiling RichString NSAttributedString+Rich.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
  4 |
  5 | #if SWIFT_PACKAGE || os(macOS)
  6 |     import AppKit
    |            `- error: no such module 'AppKit'
  7 | #else
  8 |     import UIKit
[8/9] Compiling RichString RichString.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
  4 |
  5 | #if SWIFT_PACKAGE || os(macOS)
  6 |     import AppKit
    |            `- error: no such module 'AppKit'
  7 | #else
  8 |     import UIKit
[9/9] Compiling RichString String+Rich.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
  4 |
  5 | #if SWIFT_PACKAGE || os(macOS)
  6 |     import AppKit
    |            `- error: no such module 'AppKit'
  7 | #else
  8 |     import UIKit
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichString/RichString/tvOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichString/RichString/watchOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichString/RichString/iOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichStringTests/RichStringTests/watchOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichStringTests/RichStringTests/iOS': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/RichStringTests/RichStringTests/tvOS': File not found.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling RichString String+Rich.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
  4 |
  5 | #if SWIFT_PACKAGE || os(macOS)
  6 |     import AppKit
    |            `- error: no such module 'AppKit'
  7 | #else
  8 |     import UIKit
[3/8] Compiling RichString NSAttributedStringOperators.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
  4 |
  5 | #if SWIFT_PACKAGE || os(macOS)
  6 |     import AppKit
    |            `- error: no such module 'AppKit'
  7 | #else
  8 |     import UIKit
[4/8] Compiling RichString RichString.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
  4 |
  5 | #if SWIFT_PACKAGE || os(macOS)
  6 |     import AppKit
    |            `- error: no such module 'AppKit'
  7 | #else
  8 |     import UIKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Emitting module RichString
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
  4 |
  5 | #if SWIFT_PACKAGE || os(macOS)
  6 |     import AppKit
    |            `- error: no such module 'AppKit'
  7 | #else
  8 |     import UIKit
[6/8] Compiling RichString Color_PlatformDependent.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
  4 |
  5 | #if SWIFT_PACKAGE || os(macOS)
  6 |     import AppKit
    |            `- error: no such module 'AppKit'
  7 | #else
  8 |     import UIKit
[7/8] Compiling RichString NSAttributedString+Rich.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
  4 |
  5 | #if SWIFT_PACKAGE || os(macOS)
  6 |     import AppKit
    |            `- error: no such module 'AppKit'
  7 | #else
  8 |     import UIKit
[8/8] Compiling RichString Font_PlatformDependent.swift
/host/spi-builder-workspace/RichString/NSAttributedString+Rich.swift:6:12: error: no such module 'AppKit'
  4 |
  5 | #if SWIFT_PACKAGE || os(macOS)
  6 |     import AppKit
    |            `- error: no such module 'AppKit'
  7 | #else
  8 |     import UIKit
BUILD FAILURE 6.1 android