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 JSON, reference master (35ec8c), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 00:40:26 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/json.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/vapor-community/json
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 35ec8cf Merge pull request #68 from vapor/cci2
Cloned https://github.com/vapor-community/json.git
Revision (git rev-parse @):
35ec8cffd27f303bbe93ec01c365084fa11e264c
SUCCESS checkout https://github.com/vapor-community/json.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/vapor-community/json.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
[5642/24354] Fetching core, node
Fetched https://github.com/vapor/node.git from cache (0.45s)
[16316/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.88s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (1.40s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/260] Fetching debugging
[261/618] Fetching debugging, bits
Fetched https://github.com/vapor/debugging.git from cache (0.30s)
Fetched https://github.com/vapor/bits.git from cache (0.32s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.76s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.55s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (1.27s)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/33] Emitting module Bits
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[10/35] Compiling Bits Aliases.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[11/35] Compiling Bits Base64Encoder.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[12/35] Compiling Bits Byte+Alphabet.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[13/35] Compiling Bits Byte+ControlCharacters.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[14/35] Compiling Bits Byte+Convenience.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[15/35] Compiling Bits Byte+PatternMatching.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[16/35] Compiling Bits Data+BytesConvertible.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[17/35] Compiling Bits HexEncoder.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[18/35] Compiling Bits Operators.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[19/35] Compiling Bits String+BytesConvertible.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[20/35] Compiling PathIndexable PathIndexable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/35] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[22/35] Compiling libc libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[23/35] Compiling PathIndexable PathIndexable+Subscripting.swift
[24/35] Emitting module PathIndexable
[25/35] Compiling Bits Bytes+Percent.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[26/35] Compiling Bits BytesConvertible.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[27/35] Compiling Bits Bytes+Base64.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[28/35] Compiling Bits Bytes+Hex.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[29/35] Compiling Bits Byte+Random.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[30/35] Compiling Bits Byte+UTF8Numbers.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[31/35] Compiling Bits ByteSequence+Conversions.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[32/36] Compiling Bits UnsignedInteger+BytesConvertible.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[33/36] Compiling Bits UnsignedInteger+Shifting.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[35/36] Emitting module Debugging
[36/36] Compiling Debugging Debuggable.swift
BUILD FAILURE 6.2 wasm