The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SyntaxInk, reference main (76a4c1), with Swift 6.1 for Wasm on 31 May 2025 07:08:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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:         wasm
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-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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 (5.49s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (8.65s)
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 SwiftSyntax509
[13/24] Emitting module SwiftSyntax601
[14/24] Compiling SwiftSyntax601 Empty.swift
[15/25] Compiling SwiftSyntax509 Empty.swift
[16/25] Emitting module SwiftSyntax600
[17/25] Compiling SwiftSyntax600 Empty.swift
[18/27] Compiling SwiftSyntax510 Empty.swift
[19/27] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/27] 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 {
[25/92] 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 {
[26/92] 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 {
[27/92] 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 {
[28/92] 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 {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling SwiftSyntax601 Empty.swift
[3/11] Compiling SwiftSyntax600 Empty.swift
[4/13] Emitting module SwiftSyntax601
[5/16] Compiling SwiftSyntax509 Empty.swift
[6/16] Emitting module SwiftSyntax600
[7/17] 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 {
[8/17] Emitting module SwiftSyntax509
[9/18] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/18] 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 {
[12/18] 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 {
[14/18] Compiling SwiftSyntax510 Empty.swift
[15/18] Emitting module SwiftSyntax510
[16/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 {
[17/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 {
BUILD FAILURE 6.1 wasm