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 SyntaxInk, reference main (76a4c1), with Swift 6.1 for Android on 31 May 2025 07:09:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/mtj0928/SyntaxInk.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/mtj0928/SyntaxInk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 76a4c1c Update README.md
Cloned https://github.com/mtj0928/SyntaxInk.git
Revision (git rev-parse @):
76a4c1c0fc4132c48ec564a4a28fd96ae9e60d6e
SUCCESS checkout https://github.com/mtj0928/SyntaxInk.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mtj0928/SyntaxInk.git
https://github.com/mtj0928/SyntaxInk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "601.0.0",
            "upper_bound" : "602.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "SyntaxInk",
  "name" : "SyntaxInk",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftSyntaxInk",
      "targets" : [
        "SwiftSyntaxInk"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SyntaxInk",
      "targets" : [
        "SyntaxInk"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SyntaxInkTests",
      "module_type" : "SwiftTarget",
      "name" : "SyntaxInkTests",
      "path" : "Tests/SyntaxInkTests",
      "sources" : [
        "SyntaxInkTests.swift"
      ],
      "target_dependencies" : [
        "SyntaxInk"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SyntaxInk",
      "module_type" : "SwiftTarget",
      "name" : "SyntaxInk",
      "path" : "Sources/SyntaxInk",
      "product_memberships" : [
        "SwiftSyntaxInk",
        "SyntaxInk"
      ],
      "sources" : [
        "AttributedString+Platform.swift",
        "Grammar.swift",
        "SyntaxHighlighter.swift",
        "SyntaxStyle.swift",
        "Theme.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftSyntaxInk",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSyntaxInk",
      "path" : "Sources/SwiftSyntaxInk",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser"
      ],
      "product_memberships" : [
        "SwiftSyntaxInk"
      ],
      "sources" : [
        "Playground.swift",
        "Rules/AttributeHeuristicHighlightRule.swift",
        "Rules/ClassAndTypeNameHeuristicHighlightRule.swift",
        "Rules/ClassAndTypeNameHighlightRule.swift",
        "Rules/FunctionAndPropertyHighlightRule.swift",
        "Rules/KeywordHighlightRule.swift",
        "Rules/NumberHighlightRule.swift",
        "Rules/OtherDeclarationHighlightRule.swift",
        "Rules/PreprocessorHighlightRule.swift",
        "Rules/StringHighlightRule.swift",
        "Rules/SwiftSyntaxHighlightRule.swift",
        "Rules/TypeDeclarationHighlightRule.swift",
        "SwiftGrammar.swift",
        "SwiftSyntaxHighlighter.swift",
        "SwiftTheme+Defaults.swift",
        "SwiftTheme.swift"
      ],
      "target_dependencies" : [
        "SyntaxInk"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 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/swiftlang/swift-syntax.git
[1/70541] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.38s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (11.46s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Building for debugging...
[0/10] Write sources
[8/10] Compiling _SwiftSyntaxCShims dummy.c
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/24] Emitting module SwiftSyntax510
[12/24] Emitting module SwiftSyntax600
[13/24] Compiling SwiftSyntax600 Empty.swift
[14/25] Emitting module SwiftSyntax509
[15/25] Compiling SwiftSyntax509 Empty.swift
[18/26] Compiling SwiftSyntax510 Empty.swift
[19/26] Compiling SwiftSyntax601 Empty.swift
[20/27] Emitting module SwiftSyntax601
[23/92] Compiling SwiftSyntax AbsolutePosition.swift
[24/92] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[25/92] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[26/92] Compiling SwiftSyntax Assert.swift
[27/92] Compiling SwiftSyntax BumpPtrAllocator.swift
[28/92] Compiling SwiftSyntax CommonAncestor.swift
[29/92] Compiling SwiftSyntax Convenience.swift
[30/92] Compiling SwiftSyntax CustomTraits.swift
[31/92] Compiling SwiftSyntax EditorPlaceholder.swift
[32/101] Compiling SyntaxInk Theme.swift
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
[33/101] Compiling SyntaxInk SyntaxHighlighter.swift
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
[34/101] Compiling SyntaxInk Grammar.swift
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/101] Emitting module SyntaxInk
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
[36/101] Compiling SyntaxInk AttributedString+Platform.swift
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
[37/101] Compiling SyntaxInk SyntaxStyle.swift
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling SwiftSyntax510 Empty.swift
[3/15] Compiling SwiftSyntax600 Empty.swift
[4/15] Emitting module SwiftSyntax510
[5/15] Emitting module SwiftSyntax600
[7/17] Emitting module SwiftSyntax509
[8/17] Compiling SwiftSyntax509 Empty.swift
[11/18] Emitting module SwiftSyntax601
[12/18] Compiling SwiftSyntax601 Empty.swift
[13/19] Compiling SyntaxInk Theme.swift
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/19] Emitting module SyntaxInk
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
[15/19] Compiling SyntaxInk SyntaxStyle.swift
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
[16/19] Compiling SyntaxInk Grammar.swift
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
[17/19] Compiling SyntaxInk SyntaxHighlighter.swift
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
[18/19] Compiling SyntaxInk AttributedString+Platform.swift
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
BUILD FAILURE 6.1 android