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 DataModelKit, reference master (574dbf), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 05:05:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/PoissonBallon/DataModelKit.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/PoissonBallon/DataModelKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 574dbfc Update AttributeType
Cloned https://github.com/PoissonBallon/DataModelKit.git
Revision (git rev-parse @):
574dbfc730323b200a0b1d4b4e11e10597fec397
SUCCESS checkout https://github.com/PoissonBallon/DataModelKit.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PoissonBallon/DataModelKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/nvzqz/FileKit.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
[622/5943] Fetching swxmlhash, filekit
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.35s)
[1874/3123] Fetching filekit
Fetched https://github.com/nvzqz/FileKit.git from cache (0.96s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 5.3.0 (3.58s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (0.42s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.9.0
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 5.3.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/40] Emitting module FileKit
/host/spi-builder-workspace/.build/checkouts/FileKit/Sources/Array+File.swift:29:8: error: no such module 'Foundation'
27 | //
28 |
29 | import Foundation
   |        `- error: no such module 'Foundation'
30 |
31 | extension Array: ReadableWritable, WritableConvertible {
[6/44] Compiling SWXMLHash shim.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:32:8: error: no such module 'Foundation'
  30 | // swiftlint:disable file_length
  31 |
  32 | import Foundation
     |        `- error: no such module 'Foundation'
  33 |
  34 | let rootElementName = "SWXMLHash_Root_Element"
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/44] Emitting module SWXMLHash
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:32:8: error: no such module 'Foundation'
  30 | // swiftlint:disable file_length
  31 |
  32 | import Foundation
     |        `- error: no such module 'Foundation'
  33 |
  34 | let rootElementName = "SWXMLHash_Root_Element"
[8/44] Compiling SWXMLHash SWXMLHash.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:32:8: error: no such module 'Foundation'
  30 | // swiftlint:disable file_length
  31 |
  32 | import Foundation
     |        `- error: no such module 'Foundation'
  33 |
  34 | let rootElementName = "SWXMLHash_Root_Element"
[9/44] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
/host/spi-builder-workspace/.build/checkouts/SWXMLHash/Source/SWXMLHash.swift:32:8: error: no such module 'Foundation'
  30 | // swiftlint:disable file_length
  31 |
  32 | import Foundation
     |        `- error: no such module 'Foundation'
  33 |
  34 | let rootElementName = "SWXMLHash_Root_Element"
BUILD FAILURE 6.2 wasm