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 Mustache, reference 1.0.4 (2c8351), with Swift 6.1 for Wasm on 12 Nov 2025 22:24:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AlwaysRightInstitute/mustache.git
Reference: 1.0.4
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/AlwaysRightInstitute/mustache
 * tag               1.0.4      -> FETCH_HEAD
HEAD is now at 2c83510 Merge branch 'develop'
Cloned https://github.com/AlwaysRightInstitute/mustache.git
Revision (git rev-parse @):
2c83510f4bf429aa5660161b56a503e4986cac0b
SUCCESS checkout https://github.com/AlwaysRightInstitute/mustache.git at 1.0.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/AlwaysRightInstitute/mustache.git
https://github.com/AlwaysRightInstitute/mustache.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Mustache",
  "name" : "Mustache",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Mustache",
      "targets" : [
        "Mustache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AttributedMustache",
      "targets" : [
        "AttributedMustache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MustacheTests",
      "module_type" : "SwiftTarget",
      "name" : "MustacheTests",
      "path" : "Tests/MustacheTests",
      "sources" : [
        "AttributedMustacheTests.swift",
        "MustacheTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Mustache",
        "AttributedMustache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Mustache",
      "module_type" : "SwiftTarget",
      "name" : "Mustache",
      "path" : "Sources/Mustache",
      "product_memberships" : [
        "Mustache",
        "AttributedMustache"
      ],
      "sources" : [
        "HTMLEscape.swift",
        "Helpers.swift",
        "Mustachable.swift",
        "MustacheNode.swift",
        "MustacheParser.swift",
        "MustacheRendering.swift",
        "MustacheRenderingContext.swift",
        "SimpleKVC.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AttributedMustache",
      "module_type" : "SwiftTarget",
      "name" : "AttributedMustache",
      "path" : "Sources/AttributedMustache",
      "product_memberships" : [
        "AttributedMustache"
      ],
      "sources" : [
        "AttributedMustacheNode.swift",
        "AttributedMustacheParser.swift",
        "AttributedMustacheRendering.swift",
        "AttributedMustacheRenderingContext.swift",
        "ReExports.swift"
      ],
      "target_dependencies" : [
        "Mustache"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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 -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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling Mustache MustacheParser.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[5/11] Compiling Mustache MustacheNode.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[6/12] Compiling Mustache MustacheRendering.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[7/12] Compiling Mustache MustacheRenderingContext.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[8/12] Compiling Mustache Mustachable.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[9/12] Compiling Mustache SimpleKVC.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[10/12] Compiling Mustache Helpers.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/12] Emitting module Mustache
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[12/12] Compiling Mustache HTMLEscape.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
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/9] Compiling Mustache Mustachable.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[3/10] Compiling Mustache Helpers.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[4/10] Compiling Mustache HTMLEscape.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] Emitting module Mustache
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[6/10] Compiling Mustache MustacheRendering.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[7/10] Compiling Mustache MustacheRenderingContext.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[8/10] Compiling Mustache MustacheParser.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[9/10] Compiling Mustache MustacheNode.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
[10/10] Compiling Mustache SimpleKVC.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:218:15: error: no such module 'Darwin'
216 |   import func ucrt.memcpy
217 | #else
218 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
219 | #endif
220 |
BUILD FAILURE 6.1 wasm