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 NIOErrorKit, reference master (9c8243), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 00:53:44 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/einstore/nioerrorkit.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/einstore/nioerrorkit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 9c82433 Update README.md
Cloned https://github.com/einstore/nioerrorkit.git
Revision (git rev-parse @):
9c82433ca1371a52a1eff48a55c006badb42b11c
SUCCESS checkout https://github.com/einstore/nioerrorkit.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/einstore/nioerrorkit.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/Einstore/WebErrorKit.git
Fetching https://github.com/apple/swift-nio.git
[1/28] Fetching weberrorkit
Fetched https://github.com/Einstore/WebErrorKit.git from cache (0.31s)
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.95s)
Computing version for https://github.com/Einstore/WebErrorKit.git
Computed https://github.com/Einstore/WebErrorKit.git at 0.0.1 (5.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.95s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
[1798/6225] Fetching swift-atomics, swift-system
[3525/22847] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.23s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.23s)
Fetched https://github.com/apple/swift-collections.git from cache (1.26s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.74s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.01s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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/Einstore/WebErrorKit.git
Working copy of https://github.com/Einstore/WebErrorKit.git resolved at 0.0.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
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 CNIOWASI CNIOWASI.c
[13/26] Compiling CNIOWindows WSAStartup.c
[13/26] Compiling CNIOWindows shim.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 _AtomicsShims.c
[21/26] Write swift-version-24593BA9C3E375BF.txt
[22/26] Compiling CNIOLLHTTP c_nio_api.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/72] Emitting module WebErrorKit
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
[25/72] Emitting module _NIODataStructures
[25/72] Compiling CNIOLLHTTP c_nio_llhttp.c
[26/72] Compiling c-atomics.c
[27/72] Compiling c-nioatomics.c
[29/78] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[30/79] Compiling WebErrorKit String+Codify.swift
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
[31/79] Compiling Atomics UnsafeAtomic.swift
[32/79] Compiling Atomics UnsafeAtomicLazyReference.swift
[33/79] Compiling Atomics AtomicStorage.swift
[34/79] Compiling Atomics AtomicValue.swift
[35/79] Compiling WebErrorKit WebErrorContent.swift
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
[36/81] Compiling Atomics AtomicInteger.swift
[37/81] Compiling Atomics AtomicOptionalWrappable.swift
[38/81] Compiling Atomics AtomicReference.swift
[39/81] Compiling Atomics AtomicBool.swift
[40/81] Compiling Atomics IntegerConformances.swift
[44/81] Compiling Atomics AtomicMemoryOrderings.swift
[45/81] Compiling Atomics PointerConformances.swift
[46/81] Compiling Atomics Primitives.native.swift
[49/81] Emitting module InternalCollectionsUtilities
[50/81] Compiling Atomics OptionalRawRepresentable.swift
[51/81] Compiling Atomics RawRepresentable.swift
[52/81] Emitting module Atomics
[53/81] Emitting module _NIOBase64
[54/81] Compiling _NIOBase64 Base64.swift
[55/81] Compiling WebErrorKit Exports.swift
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
[56/82] Compiling WebErrorKit SerializableWebError.swift
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
[57/82] Compiling WebErrorKit WebError+RawRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
[58/82] Compiling WebErrorKit WebError+Serializable.swift
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
[59/82] Compiling WebErrorKit WebError.swift
/host/spi-builder-workspace/.build/checkouts/WebErrorKit/Sources/WebErrorKit/Exports.swift:1:19: error: no such module 'Foundation'
1 | @_exported import Foundation
  |                   `- error: no such module 'Foundation'
2 |
[61/82] Compiling Atomics DoubleWord.swift
[62/82] Compiling Atomics ManagedAtomic.swift
[63/82] Compiling Atomics ManagedAtomicLazyReference.swift
[71/82] Compiling _NIODataStructures _TinyArray.swift
[72/82] Compiling _NIODataStructures PriorityQueue.swift
BUILD FAILURE 6.2 wasm