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 swift-graphql, reference main (24a446), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 12:53:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/maticzav/swift-graphql.git
Reference: main
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/maticzav/swift-graphql
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 24a4462 Improve code generation (#204)
Cloned https://github.com/maticzav/swift-graphql.git
Revision (git rev-parse @):
24a4462a76442256ec88db2bf424fa39776b66ba
SUCCESS checkout https://github.com/maticzav/swift-graphql.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/maticzav/swift-graphql.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/jpsim/Yams.git
Fetching https://github.com/apple/swift-format
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/daltoniam/Starscream.git
[1/12211] Fetching swift-format
[490/16047] Fetching swift-format, swift-log
[606/26921] Fetching swift-format, swift-log, yams
[1478/31954] Fetching swift-format, swift-log, yams, starscream
Fetched https://github.com/apple/swift-log.git from cache (1.32s)
Fetched https://github.com/daltoniam/Starscream.git from cache (1.33s)
[14060/23085] Fetching swift-format, yams
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/apple/swift-format from cache (1.98s)
[6525/10874] Fetching yams
[6852/26254] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.95s)
Fetching https://github.com/dominicegginton/Spinner
Fetching https://github.com/JohnSundell/Files
Fetched https://github.com/jpsim/Yams.git from cache (3.67s)
[1/967] Fetching spinner
[21/2215] Fetching spinner, files
Fetched https://github.com/JohnSundell/Files from cache (0.59s)
Fetched https://github.com/dominicegginton/Spinner from cache (0.64s)
Computing version for https://github.com/apple/swift-format
Computed https://github.com/apple/swift-format at 509.0.0 (5.30s)
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/apple/swift-syntax.git
[1/6785] Fetching swift-markdown
[6786/77709] Fetching swift-markdown, swift-syntax
Fetched https://github.com/apple/swift-markdown.git from cache (9.87s)
Fetched https://github.com/apple/swift-syntax.git from cache (10.00s)
Computing version for https://github.com/dominicegginton/Spinner
Computed https://github.com/dominicegginton/Spinner at 2.1.0 (12.63s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/IBM-Swift/BlueSignals.git
Fetching https://github.com/dominicegginton/Nanoseconds
[1/201] Fetching nanoseconds
[156/1397] Fetching nanoseconds, rainbow
[932/2078] Fetching nanoseconds, rainbow, bluesignals
Fetched https://github.com/dominicegginton/Nanoseconds from cache (0.55s)
Fetched https://github.com/IBM-Swift/BlueSignals.git from cache (0.59s)
Fetched https://github.com/onevcat/Rainbow from cache (0.59s)
Computing version for https://github.com/dominicegginton/Nanoseconds
Computed https://github.com/dominicegginton/Nanoseconds at 1.1.3 (1.62s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (4.62s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.84s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (1.33s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.6.0 (2.81s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18113] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (2.29s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (3.27s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.3.0 (0.78s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.72s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.11s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.85s)
Computing version for https://github.com/IBM-Swift/BlueSignals.git
Computed https://github.com/IBM-Swift/BlueSignals.git at 1.0.200 (0.76s)
Creating working copy for https://github.com/apple/swift-format
Working copy of https://github.com/apple/swift-format resolved at 509.0.0
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.8
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.6.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/dominicegginton/Nanoseconds
Working copy of https://github.com/dominicegginton/Nanoseconds resolved at 1.1.3
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.3.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/IBM-Swift/BlueSignals.git
Working copy of https://github.com/IBM-Swift/BlueSignals.git resolved at 1.0.200
Creating working copy for https://github.com/dominicegginton/Spinner
Working copy of https://github.com/dominicegginton/Spinner resolved at 2.1.0
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.6.0
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/98] Write sources
[20/98] Compiling CAtomic CAtomic.c
[21/98] Compiling reader.c
[22/98] Write swift-version-24593BA9C3E375BF.txt
[23/98] Compiling cmark-gfm-extensions tagfilter.c
[24/98] Compiling cmark-gfm-extensions tasklist.c
[25/100] Compiling cmark-gfm-extensions strikethrough.c
[26/100] Compiling cmark-gfm-extensions ext_scanners.c
[27/100] Compiling parser.c
[28/101] Compiling api.c
[29/105] Compiling cmark-gfm-extensions table.c
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
   22 | CMARK_DEFINE_ONCE(registered);
      | ^
      | int
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:19: error: a parameter list without types is only allowed in a function definition
   22 | CMARK_DEFINE_ONCE(registered);
      |                   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:3: error: call to undeclared function 'CMARK_RUN_ONCE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   30 |   CMARK_RUN_ONCE(registered, register_plugins);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:18: error: use of undeclared identifier 'registered'
   30 |   CMARK_RUN_ONCE(registered, register_plugins);
      |                  ^
4 errors generated.
[30/123] Compiling cmark-gfm-extensions core-extensions.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/123] Emitting module SwiftGraphQLUtils
/host/spi-builder-workspace/Sources/SwiftGraphQLUtils/Extensions/String+Case.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension String {
[31/123] Compiling emitter.c
BUILD FAILURE 6.2 wasm