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 EmojiText, reference main (85c6b8), with Swift 6.1 for Wasm on 26 Aug 2025 22:21:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/divadretlaw/EmojiText.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/divadretlaw/EmojiText
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 85c6b8c Merge pull request #31 from divadretlaw/feature/nsattributedstring
Cloned https://github.com/divadretlaw/EmojiText.git
Revision (git rev-parse @):
85c6b8cec555bdd522f79088455215209949c973
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/divadretlaw/EmojiText.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/divadretlaw/EmojiText.git
https://github.com/divadretlaw/EmojiText.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-markdown",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-markdown"
    }
  ],
  "manifest_display_name" : "EmojiText",
  "name" : "EmojiText",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "EmojiText",
      "targets" : [
        "EmojiText"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EmojiText",
      "module_type" : "SwiftTarget",
      "name" : "EmojiText",
      "path" : "Sources/EmojiText",
      "product_dependencies" : [
        "Markdown"
      ],
      "product_memberships" : [
        "EmojiText"
      ],
      "sources" : [
        "CADisplayLinkPublisher.swift",
        "Domain/AnimatedEmojiMode.swift",
        "Domain/AnimatedImageType.swift",
        "Domain/EmojiError.swift",
        "Domain/EmojiProviderError.swift",
        "EmojiLabel.swift",
        "EmojiLoader.swift",
        "EmojiText.swift",
        "EmojiTextField.swift",
        "EmojiTextPresenter.swift",
        "EmojiTextView.swift",
        "Environment/EmojiTextEnvironmentValues.swift",
        "Environment/EmojiTextNamespace.swift",
        "Environment/Environment+Helpers.swift",
        "Environment/Environment.swift",
        "Extensions/AttributedString+Extensions.swift",
        "Extensions/CGImageSource+Extensions.swift",
        "Extensions/Data+Extensions.swift",
        "Extensions/FloatingPoint+Extensions.swift",
        "Extensions/Font+Extensions.swift",
        "Extensions/Image+Extensions.swift",
        "Extensions/Integer+Extensions.swift",
        "Extensions/NSAttributedString+Extensions.swift",
        "Extensions/Publisher+Extensions.swift",
        "Extensions/String+Extensions.swift",
        "Extensions/Text+Extensions.swift",
        "Extensions/UIContentSizeCategory+Extensions.swift",
        "Lock.swift",
        "Logger.swift",
        "Model/AttributedPartialstring.swift",
        "Model/Emoji/LoadedEmoji.swift",
        "Model/Emoji/LocalEmoji.swift",
        "Model/Emoji/Protocols/AsyncCustomEmoji.swift",
        "Model/Emoji/Protocols/CustomEmoji.swift",
        "Model/Emoji/Protocols/SyncCustomEmoji.swift",
        "Model/Emoji/RemoteEmoji.swift",
        "Model/Emoji/SFSymbolEmoji.swift",
        "Model/RawImage.swift",
        "Model/RenderedImage.swift",
        "Preview Content/Preview.swift",
        "Provider/AsyncEmojiProvider.swift",
        "Provider/Implementations/DefaultAsyncEmojiProvider.swift",
        "Provider/Implementations/DefaultSyncEmojiProvider.swift",
        "Provider/SyncEmojiProvider.swift",
        "Render/EmojiRenderer.swift",
        "Render/Markdown/MarkdownEmojiRenderer.swift",
        "Render/Markdown/MarkdownEmojiReplacer.swift",
        "Render/Markdown/MarkdownEmojiVisitor.swift",
        "Render/VerbatimEmojiRenderer.swift",
        "Typealiases.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftlang/swift-markdown
[1/6857] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown from cache (0.74s)
Computing version for https://github.com/swiftlang/swift-markdown
Computed https://github.com/swiftlang/swift-markdown at 0.6.0 (3.42s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18183] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.47s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (2.21s)
Creating working copy for https://github.com/swiftlang/swift-markdown
Working copy of https://github.com/swiftlang/swift-markdown resolved at 0.6.0
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.6.0
Building for debugging...
[0/38] Compiling cmark-gfm-extensions tagfilter.c
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
   22 | CMARK_DEFINE_ONCE(registered);
      | ^
      | int
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:19: error: a parameter list without types is only allowed in a function definition
   22 | CMARK_DEFINE_ONCE(registered);
      |                   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:3: error: call to undeclared function 'CMARK_RUN_ONCE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   30 |   CMARK_RUN_ONCE(registered, register_plugins);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:18: error: use of undeclared identifier 'registered'
   30 |   CMARK_RUN_ONCE(registered, register_plugins);
      |                  ^
4 errors generated.
[1/38] Compiling cmark-gfm-extensions core-extensions.c
[1/38] Compiling cmark-gfm-extensions table.c
[1/38] Compiling cmark-gfm-extensions strikethrough.c
[1/38] Compiling cmark-gfm-extensions ext_scanners.c
[1/38] Compiling cmark-gfm-extensions tasklist.c
[1/38] Compiling cmark-gfm-extensions autolink.c
[1/38] Compiling cmark-gfm render.c
[1/38] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/38] Write sources
[1/37] Compiling cmark-gfm-extensions autolink.c
[2/37] Compiling cmark-gfm-extensions strikethrough.c
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
   22 | CMARK_DEFINE_ONCE(registered);
      | ^
      | int
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:19: error: a parameter list without types is only allowed in a function definition
   22 | CMARK_DEFINE_ONCE(registered);
      |                   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:3: error: call to undeclared function 'CMARK_RUN_ONCE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   30 |   CMARK_RUN_ONCE(registered, register_plugins);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:18: error: use of undeclared identifier 'registered'
   30 |   CMARK_RUN_ONCE(registered, register_plugins);
      |                  ^
4 errors generated.
[3/37] Compiling cmark-gfm-extensions core-extensions.c
[3/37] Compiling cmark-gfm syntax_extension.c
[3/37] Compiling cmark-gfm-extensions ext_scanners.c
[3/37] Compiling cmark-gfm xml.c
[3/37] Compiling cmark-gfm utf8.c
[3/37] Compiling cmark-gfm-extensions table.c
[3/37] Compiling cmark-gfm-extensions tasklist.c
[3/37] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm