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 develop (e06544), with Swift 6.1 for Wasm on 29 May 2025 19:27:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: develop
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
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at e065448 Push value to context for non-list sections
Cloned https://github.com/AlwaysRightInstitute/mustache.git
Revision (git rev-parse @):
e0654482a34a5610724a0e5451507c04712adcff
SUCCESS checkout https://github.com/AlwaysRightInstitute/mustache.git at develop
========================================
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-4609320-0":/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 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 |
[5/12] 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/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 |
[7/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/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 |
[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 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 |
[11/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 |
[12/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/9] 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 |
[3/10] 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 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 |
[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 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 |
[7/10] 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 |
[8/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 |
[9/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 |
[10/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 |
BUILD FAILURE 6.1 wasm