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 Runestone, reference main (1fad33), with Swift 6.1 for Wasm on 29 May 2025 11:06:23 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/simonbs/Runestone.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/simonbs/Runestone
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1fad339 Fix build with Xcode 16 (#375)
Cloned https://github.com/simonbs/Runestone.git
Revision (git rev-parse @):
1fad339aab99cf2136ce6bf8c32da3265b2e85e5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonbs/Runestone.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/simonbs/Runestone.git
https://github.com/simonbs/Runestone.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "tree-sitter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.20.9",
            "upper_bound" : "0.21.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tree-sitter/tree-sitter"
    }
  ],
  "manifest_display_name" : "Runestone",
  "name" : "Runestone",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Runestone",
      "targets" : [
        "Runestone"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestTreeSitterLanguages",
      "module_type" : "ClangTarget",
      "name" : "TestTreeSitterLanguages",
      "path" : "Sources/TestTreeSitterLanguages",
      "sources" : [
        "html/parser.c",
        "html/scanner.cc",
        "javascript/parser.c",
        "javascript/scanner.c",
        "json/parser.c",
        "python/parser.c",
        "python/scanner.cc",
        "yaml/parser.c",
        "yaml/scanner.cc"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RunestoneTests",
      "module_type" : "SwiftTarget",
      "name" : "RunestoneTests",
      "path" : "Tests/RunestoneTests",
      "sources" : [
        "ByteRangeTests.swift",
        "Helpers/LanguageModeFactory.swift",
        "IndentLevelMeasurerTests.swift",
        "Indentation/HTMLIndentationTests.swift",
        "Indentation/JSONIndentationTests.swift",
        "Indentation/JavaScriptIndentationTests.swift",
        "Indentation/PythonIndentationTests.swift",
        "LineEndingDetectorTests.swift",
        "LineManagerTests.swift",
        "Mock/MockTreeSitterParserDelegate.swift",
        "NSRangeTests.swift",
        "NSStringHelpersTests.swift",
        "ParsedReplacementStringTests.swift",
        "ReplacementStringParserTests.swift",
        "SearchQueryTests.swift",
        "StringHelpersTest.swift",
        "StringModifierTests.swift",
        "StringViewTests.swift",
        "TextInputStringTokenizerTests.swift",
        "TreeSitterParserTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Runestone",
        "TestTreeSitterLanguages"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Runestone",
      "module_type" : "SwiftTarget",
      "name" : "Runestone",
      "path" : "Sources/Runestone",
      "product_dependencies" : [
        "TreeSitter"
      ],
      "product_memberships" : [
        "Runestone"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Runestone/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Runestone/Resources/de.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "de"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Runestone/Resources/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Runestone/Resources/es.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "es"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Runestone/Resources/fi.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fi"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Runestone/Resources/fr.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fr"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Runestone/Resources/ja.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ja"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Runestone/TextView/Appearance/Theme.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Library/ByteCount.swift",
        "Library/ByteRange.swift",
        "Library/Caret.swift",
        "Library/CharacterSet+Helpers.swift",
        "Library/DefaultStringAttributes.swift",
        "Library/HairlineLength.swift",
        "Library/KeyboardObserver.swift",
        "Library/L10n.swift",
        "Library/LineEndingDetector.swift",
        "Library/NSAttributedString+Helpers.swift",
        "Library/NSRange+Helpers.swift",
        "Library/NSString+Helpers.swift",
        "Library/QuickTapGestureRecognizer.swift",
        "Library/String+Helpers.swift",
        "Library/Symbol.swift",
        "Library/TabWidthMeasurer.swift",
        "Library/TextChange.swift",
        "Library/TextEditHelper.swift",
        "Library/TreeSitterTextPoint+Helpers.swift",
        "Library/UIFont+Helpers.swift",
        "Library/UIScrollView+Helpers.swift",
        "Library/UITextInput+Helpers.swift",
        "Library/UITextSelectionDisplayInteraction+Helpers.swift",
        "Library/ViewReuseQueue.swift",
        "LineManager/DocumentLineChildrenUpdater.swift",
        "LineManager/DocumentLineNodeData.swift",
        "LineManager/LineChangeSet.swift",
        "LineManager/LineManager.swift",
        "LineManager/LinePosition.swift",
        "LineManager/NewLineFinder.swift",
        "RedBlackTree/ClosedRangeValueDescriptor.swift",
        "RedBlackTree/RedBlackTree.swift",
        "RedBlackTree/RedBlackTreeChildrenUpdater.swift",
        "RedBlackTree/RedBlackTreeIterator.swift",
        "RedBlackTree/RedBlackTreeNode.swift",
        "RedBlackTree/RedBlackTreeNodeColor.swift",
        "RedBlackTree/RedBlackTreeNodePosition.swift",
        "RedBlackTree/RedBlackTreeSearchMatch.swift",
        "RedBlackTree/RedBlackTreeSearchQuery.swift",
        "StringSyntaxHighlighter.swift",
        "TextView/Appearance/DefaultTheme.swift",
        "TextView/Appearance/FontTraits.swift",
        "TextView/Appearance/HighlightName.swift",
        "TextView/Appearance/LineBreakMode.swift",
        "TextView/Appearance/LineSelectionDisplayType.swift",
        "TextView/Appearance/Theme.swift",
        "TextView/CharacterPairs/CharacterPair.swift",
        "TextView/CharacterPairs/CharacterPairTrailingComponentDeletionMode.swift",
        "TextView/Core/ContentSizeService.swift",
        "TextView/Core/EditMenuController.swift",
        "TextView/Core/FloatingCaretView.swift",
        "TextView/Core/IndexedPosition.swift",
        "TextView/Core/IndexedRange.swift",
        "TextView/Core/LayoutManager.swift",
        "TextView/Core/LineEnding.swift",
        "TextView/Core/LineFragmentView.swift",
        "TextView/Core/LineMovementController.swift",
        "TextView/Core/MoveLinesService.swift",
        "TextView/Core/StringView.swift",
        "TextView/Core/TextInputStringTokenizer.swift",
        "TextView/Core/TextInputView.swift",
        "TextView/Core/TextView.swift",
        "TextView/Core/TextViewDelegate.swift",
        "TextView/Core/TextViewState.swift",
        "TextView/Core/TimedUndoManager.swift",
        "TextView/Gutter/GutterBackgroundView.swift",
        "TextView/Gutter/GutterWidthService.swift",
        "TextView/Gutter/LineNumberView.swift",
        "TextView/Highlight/HighlightNavigationController.swift",
        "TextView/Highlight/HighlightService.swift",
        "TextView/Highlight/HighlightedRange.swift",
        "TextView/Highlight/HighlightedRangeFragment.swift",
        "TextView/Highlight/HighlightedRangeLoopingMode.swift",
        "TextView/Indent/DetectedIndentStrategy.swift",
        "TextView/Indent/IndentController.swift",
        "TextView/Indent/IndentLevelMeasurer.swift",
        "TextView/Indent/IndentStrategy.swift",
        "TextView/InvisibleCharacters/InvisibleCharacterConfiguration.swift",
        "TextView/LineController/LineBreak/CharacterLineBreakSuggester.swift",
        "TextView/LineController/LineBreak/LineBreakSuggester.swift",
        "TextView/LineController/LineBreak/WordWrappingLineBreakSuggester.swift",
        "TextView/LineController/LineController.swift",
        "TextView/LineController/LineControllerFactory.swift",
        "TextView/LineController/LineControllerStorage.swift",
        "TextView/LineController/LineFragment.swift",
        "TextView/LineController/LineFragmentCharacterLocationQuery.swift",
        "TextView/LineController/LineFragmentController.swift",
        "TextView/LineController/LineFragmentFrameQuery.swift",
        "TextView/LineController/LineFragmentNode.swift",
        "TextView/LineController/LineFragmentRenderer.swift",
        "TextView/LineController/LineFragmentSelectionRect.swift",
        "TextView/LineController/LineSyntaxHighlighter.swift",
        "TextView/LineController/LineTypesetter.swift",
        "TextView/Navigation/GoToLineSelection.swift",
        "TextView/Navigation/TextLocation.swift",
        "TextView/PageGuide/PageGuideController.swift",
        "TextView/PageGuide/PageGuideView.swift",
        "TextView/SearchAndReplace/BatchReplaceSet.swift",
        "TextView/SearchAndReplace/ParsedReplacementString.swift",
        "TextView/SearchAndReplace/ReplacementStringParser.swift",
        "TextView/SearchAndReplace/SearchController.swift",
        "TextView/SearchAndReplace/SearchQuery.swift",
        "TextView/SearchAndReplace/SearchReplaceResult.swift",
        "TextView/SearchAndReplace/SearchResult.swift",
        "TextView/SearchAndReplace/StringModifier.swift",
        "TextView/SearchAndReplace/TextPreview.swift",
        "TextView/SearchAndReplace/UITextSearchingHelper.swift",
        "TextView/SyntaxHighlighting/Internal/InternalLanguageMode.swift",
        "TextView/SyntaxHighlighting/Internal/InternalLanguageModeFactory.swift",
        "TextView/SyntaxHighlighting/Internal/PlainText/PlainTextInternalLanguageMode.swift",
        "TextView/SyntaxHighlighting/Internal/PlainText/PlainTextSyntaxHighlighter.swift",
        "TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterIndentController.swift",
        "TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterIndentStrategyDetector.swift",
        "TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterInjectedLanguage.swift",
        "TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterInjectedLanguageMapper.swift",
        "TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterInternalLanguage.swift",
        "TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterInternalLanguageMode.swift",
        "TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterLanguageLayer.swift",
        "TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterLanguageLayerStore.swift",
        "TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterSyntaxHighlightToken.swift",
        "TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterSyntaxHighlighter.swift",
        "TextView/SyntaxHighlighting/Internal/TreeSitter/TreeSitterTextPredicatesEvaluator.swift",
        "TextView/SyntaxHighlighting/LanguageMode.swift",
        "TextView/SyntaxHighlighting/PlainText/PlainTextLanguageMode.swift",
        "TextView/SyntaxHighlighting/SyntaxNode.swift",
        "TextView/SyntaxHighlighting/TreeSitter/TreeSitterIndentationScopes.swift",
        "TextView/SyntaxHighlighting/TreeSitter/TreeSitterLanguage.swift",
        "TextView/SyntaxHighlighting/TreeSitter/TreeSitterLanguageMode.swift",
        "TextView/SyntaxHighlighting/TreeSitter/TreeSitterLanguageProvider.swift",
        "TextView/TextSelection/CaretRectService.swift",
        "TextView/TextSelection/SelectionRectService.swift",
        "TextView/TextSelection/TextSelectionRect.swift",
        "TreeSitter/TreeSitterCapture.swift",
        "TreeSitter/TreeSitterInputEdit.swift",
        "TreeSitter/TreeSitterNode.swift",
        "TreeSitter/TreeSitterParser.swift",
        "TreeSitter/TreeSitterPredicate.swift",
        "TreeSitter/TreeSitterPredicateMapper.swift",
        "TreeSitter/TreeSitterQuery.swift",
        "TreeSitter/TreeSitterQueryCursor.swift",
        "TreeSitter/TreeSitterQueryMatch.swift",
        "TreeSitter/TreeSitterTextInput.swift",
        "TreeSitter/TreeSitterTextPoint.swift",
        "TreeSitter/TreeSitterTextPredicate.swift",
        "TreeSitter/TreeSitterTextRange.swift",
        "TreeSitter/TreeSitterTree.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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 -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
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/tree-sitter/tree-sitter
[1/57445] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter from cache (2.53s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.20.9 (2.99s)
Creating working copy for https://github.com/tree-sitter/tree-sitter
Working copy of https://github.com/tree-sitter/tree-sitter resolved at 0.20.9
Building for debugging...
[0/21] Compiling scanner.c
[1/21] Write swift-version-24593BA9C3E375BF.txt
[2/21] Compiling parser.c
In file included from /host/spi-builder-workspace/.build/checkouts/tree-sitter/lib/src/lib.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/tree-sitter/lib/src/./lexer.c:5:
In file included from /host/spi-builder-workspace/.build/checkouts/tree-sitter/lib/src/././unicode.h:13:
/host/spi-builder-workspace/.build/checkouts/tree-sitter/lib/src/././unicode/utf8.h:37:10: fatal error: 'unicode/umachine.h' file not found
   37 | #include "unicode/umachine.h"
      |          ^~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/21] Compiling lib.c
[3/21] Compiling scanner.cc
[3/21] Compiling parser.c
[3/21] Compiling scanner.cc
[3/21] Compiling parser.c
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/18] Copying Localizable.strings
[0/18] Copying Info.plist
[0/18] Copying Localizable.strings
[6/19] Compiling parser.c
In file included from /host/spi-builder-workspace/.build/checkouts/tree-sitter/lib/src/lib.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/tree-sitter/lib/src/./lexer.c:5:
In file included from /host/spi-builder-workspace/.build/checkouts/tree-sitter/lib/src/././unicode.h:13:
/host/spi-builder-workspace/.build/checkouts/tree-sitter/lib/src/././unicode/utf8.h:37:10: fatal error: 'unicode/umachine.h' file not found
   37 | #include "unicode/umachine.h"
      |          ^~~~~~~~~~~~~~~~~~~~
1 error generated.
[7/19] Compiling lib.c
[7/19] Compiling scanner.cc
[7/19] Compiling parser.c
[7/19] Compiling scanner.cc
[7/19] Compiling parser.c
[7/19] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm