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 MicroExpress, reference master (08760d), with Swift 6.1 for Wasm on 28 May 2025 09:07:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/NozeIO/MicroExpress.git
Reference: master
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/NozeIO/MicroExpress
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 08760d0 Update README.md
Cloned https://github.com/NozeIO/MicroExpress.git
Revision (git rev-parse @):
08760d00f09f1cc17334290d97fdfc4bf04ea5a8
SUCCESS checkout https://github.com/NozeIO/MicroExpress.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/NozeIO/MicroExpress.git
https://github.com/NozeIO/MicroExpress.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.12.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "mustache",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.9",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AlwaysRightInstitute/mustache.git"
    }
  ],
  "manifest_display_name" : "MicroExpress",
  "name" : "MicroExpress",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MicroExpress",
      "targets" : [
        "MicroExpress"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MicroExpress",
      "module_type" : "SwiftTarget",
      "name" : "MicroExpress",
      "path" : "Sources/MicroExpress",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "mustache"
      ],
      "product_memberships" : [
        "MicroExpress"
      ],
      "sources" : [
        "CORS.swift",
        "Express.swift",
        "FS.swift",
        "IncomingMessage.swift",
        "Middleware.swift",
        "QueryString.swift",
        "Router.swift",
        "ServerResponse.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/apple/swift-nio.git
Fetching https://github.com/AlwaysRightInstitute/mustache.git
[1/559] Fetching mustache
Fetched https://github.com/AlwaysRightInstitute/mustache.git from cache (0.40s)
[1/76055] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.12s)
Computing version for https://github.com/AlwaysRightInstitute/mustache.git
Computed https://github.com/AlwaysRightInstitute/mustache.git at 0.5.9 (6.89s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.01s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
[19/6101] Fetching swift-atomics, swift-system
[20/22692] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.30s)
Fetched https://github.com/apple/swift-system.git from cache (1.30s)
Fetched https://github.com/apple/swift-collections.git from cache (1.33s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.80s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.66s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/AlwaysRightInstitute/mustache.git
Working copy of https://github.com/AlwaysRightInstitute/mustache.git resolved at 0.5.9
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Building for debugging...
[0/26] Write sources
[12/26] Compiling CNIOWindows shim.c
[13/26] Compiling CNIOWindows WSAStartup.c
[13/26] Compiling CNIOWASI CNIOWASI.c
[15/26] Compiling CNIOLinux shim.c
[16/26] Compiling CNIOLinux liburing_shims.c
[17/26] Compiling CNIODarwin shim.c
[18/26] Write sources
[19/26] Compiling CNIOLLHTTP c_nio_http.c
[20/26] Compiling CNIOLLHTTP c_nio_api.c
[21/26] Compiling _AtomicsShims.c
[22/26] Write swift-version-24593BA9C3E375BF.txt
[23/73] Compiling CNIOLLHTTP c_nio_llhttp.c
[24/73] Compiling c-nioatomics.c
[25/73] Compiling c-atomics.c
[27/73] Compiling Atomics UnsafeAtomic.swift
[28/73] Compiling Atomics UnsafeAtomicLazyReference.swift
[29/75] Emitting module InternalCollectionsUtilities
[30/76] Compiling mustache HTMLEscape.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
[31/82] Compiling Atomics IntegerOperations.swift
[32/82] Compiling Atomics Unmanaged extensions.swift
[33/82] Compiling mustache Mustacheable.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
[34/82] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[35/82] Compiling mustache MustacheParser.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
[36/82] Compiling mustache MustacheNode.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
[37/82] Compiling mustache MustacheRenderingContext.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
[38/82] Compiling Atomics AtomicReference.swift
[39/82] Compiling Atomics AtomicStorage.swift
[40/82] Compiling Atomics AtomicValue.swift
[41/82] Compiling _NIODataStructures _TinyArray.swift
[42/82] Compiling Atomics Primitives.shims.swift
[43/82] Compiling Atomics AtomicInteger.swift
[44/82] Compiling Atomics AtomicOptionalWrappable.swift
[45/82] Compiling Atomics IntegerConformances.swift
[47/82] Compiling Atomics PointerConformances.swift
[48/82] Compiling Atomics Primitives.native.swift
[49/82] Compiling Atomics AtomicBool.swift
[51/82] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[55/82] Compiling Atomics AtomicMemoryOrderings.swift
[57/82] Compiling Atomics OptionalRawRepresentable.swift
[58/82] Compiling Atomics DoubleWord.swift
[59/82] Compiling Atomics ManagedAtomic.swift
[60/82] Compiling Atomics RawRepresentable.swift
[61/82] Compiling Atomics ManagedAtomicLazyReference.swift
[62/82] Emitting module Atomics
[69/82] Compiling _NIODataStructures PriorityQueue.swift
[70/82] Emitting module _NIOBase64
[71/82] Compiling _NIOBase64 Base64.swift
[75/85] Compiling NIOConcurrencyHelpers lock.swift
[76/85] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[77/85] Compiling NIOConcurrencyHelpers atomics.swift
[78/100] Emitting module _NIODataStructures
[79/100] Compiling _NIODataStructures Heap.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[80/101] Emitting module mustache
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
[81/101] Compiling mustache Helpers.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
[82/101] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[83/101] Emitting module NIOConcurrencyHelpers
[84/101] Compiling NIOConcurrencyHelpers NIOLock.swift
[85/101] Compiling mustache SimpleKVC.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/54] Compiling Atomics AtomicOptionalWrappable.swift
[3/54] Compiling Atomics AtomicReference.swift
[4/54] Compiling mustache Mustacheable.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
[5/55] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[6/55] Compiling mustache MustacheRenderingContext.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
[7/55] Compiling mustache SimpleKVC.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
[8/55] Compiling Atomics AtomicStorage.swift
[9/55] Compiling Atomics AtomicValue.swift
[10/55] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[11/55] Compiling mustache MustacheParser.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
[12/55] Compiling mustache Helpers.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/55] Emitting module mustache
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
[14/55] Compiling mustache HTMLEscape.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
[15/55] Compiling mustache MustacheNode.swift
/host/spi-builder-workspace/.build/checkouts/mustache/Sources/mustache/MustacheParser.swift:215:15: error: no such module 'Darwin'
213 |   import func Glibc.memcpy
214 | #else
215 |   import func Darwin.memcpy
    |               `- error: no such module 'Darwin'
216 | #endif
217 |
[16/55] Compiling NIOConcurrencyHelpers lock.swift
[17/55] Emitting module _NIODataStructures
[18/55] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[19/55] Emitting module _NIOBase64
BUILD FAILURE 6.1 wasm