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.2 (83db37), with Swift 6.1 for Wasm on 29 May 2025 19:28:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/AlwaysRightInstitute/mustache.git
Reference: 1.0.2
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.2      -> FETCH_HEAD
HEAD is now at 83db37d Merge branch 'develop'
Cloned https://github.com/AlwaysRightInstitute/mustache.git
Revision (git rev-parse @):
83db37d14af02f42d1dbca535f0966e0d0f48c64
SUCCESS checkout https://github.com/AlwaysRightInstitute/mustache.git at 1.0.2
========================================
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-1":/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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling Mustache MustacheRenderingContext.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[5/12] Compiling Mustache MustacheParser.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[6/12] Compiling Mustache MustacheNode.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[7/12] Compiling Mustache Mustachable.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[8/12] Compiling Mustache MustacheRendering.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[9/12] Compiling Mustache HTMLEscape.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[10/12] Compiling Mustache Helpers.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
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:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[12/12] Compiling Mustache SimpleKVC.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/9] Compiling Mustache Helpers.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[3/9] Compiling Mustache HTMLEscape.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[4/10] Compiling Mustache MustacheRendering.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[5/10] Compiling Mustache MustacheRenderingContext.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[6/10] Compiling Mustache MustacheNode.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[7/10] Compiling Mustache Mustachable.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/10] Emitting module Mustache
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[9/10] Compiling Mustache SimpleKVC.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
[10/10] Compiling Mustache MustacheParser.swift
/host/spi-builder-workspace/Sources/Mustache/MustacheParser.swift:216:15: error: no such module 'Darwin'
214 |   import func Glibc.memcpy
215 | #else
216 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
217 | #endif
218 |
BUILD FAILURE 6.1 wasm