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 SPARQLSyntax, reference 0.2.11 (9ebf4a), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 21:30:09 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.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/kasei/swift-sparql-syntax.git
Reference: 0.2.11
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/kasei/swift-sparql-syntax
 * tag               0.2.11     -> FETCH_HEAD
HEAD is now at 9ebf4ab Fix off-by-one error in reformatting SPARQL with trailing invalid content.
Cloned https://github.com/kasei/swift-sparql-syntax.git
Revision (git rev-parse @):
9ebf4abe84e326bd9f9d89be9a80712f5c6fa8dc
SUCCESS checkout https://github.com/kasei/swift-sparql-syntax.git at 0.2.11
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kasei/swift-sparql-syntax.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/kasei/swift-serd.git
[1/68] Fetching swift-serd
Fetched https://github.com/kasei/swift-serd.git from cache (0.22s)
Computing version for https://github.com/kasei/swift-serd.git
Computed https://github.com/kasei/swift-serd.git at 0.0.4 (0.64s)
Creating working copy for https://github.com/kasei/swift-serd.git
Working copy of https://github.com/kasei/swift-serd.git resolved at 0.0.4
Building for debugging...
[0/19] Write sources
[2/19] Compiling serd byte_source.c
[3/19] Compiling serd env.c
[4/19] Write sources
[5/19] Compiling serd reader.c
[6/19] Compiling serd string.c
[7/19] Compiling serd uri.c
[8/19] Compiling serd writer.c
[9/19] Compiling serd node.c
[10/19] Write swift-version-24593BA9C3E375BF.txt
[11/19] Compiling serd n3.c
[13/34] Compiling SPARQLSyntax SPARQLSyntax.swift
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
[14/34] Compiling SPARQLSyntax Window.swift
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
[15/35] Compiling SPARQLSyntax SPARQLParser.swift
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
[16/35] Compiling SPARQLSyntax SPARQLSerializer.swift
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
[17/35] Compiling SPARQLSyntax PropertyPath.swift
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
[18/35] Compiling SPARQLSyntax Query.swift
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
[19/35] Compiling SPARQLSyntax XSD.swift
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
[20/35] Compiling SPARQLSyntax Aggregation.swift
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
[21/35] Compiling SPARQLSyntax Algebra.swift
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
[22/35] Compiling SPARQLSyntax Expression.swift
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
[23/35] Compiling SPARQLSyntax IRI.swift
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/35] Emitting module SPARQLSyntax
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
[25/35] Compiling SPARQLSyntax RDF.swift
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
[26/35] Compiling SPARQLSyntax RDFPatterns.swift
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
[27/35] Compiling SPARQLSyntax RDFSerialization.swift
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
[28/35] Compiling SPARQLSyntax SPARQLLexer.swift
/host/spi-builder-workspace/Sources/SPARQLSyntax/Aggregation.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public enum Aggregation : Equatable, Hashable {
BUILD FAILURE 6.2 wasm