The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftImportChecks, reference main (758ea9), with Swift 6.2 for Wasm on 20 Mar 2026 16:29:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/michaelversus/SwiftImportChecks.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/michaelversus/SwiftImportChecks
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 758ea99 bump up version
Cloned https://github.com/michaelversus/SwiftImportChecks.git
Revision (git rev-parse @):
758ea99a5b32379f56b649ff49a4505dfde9a5f0
SUCCESS checkout https://github.com/michaelversus/SwiftImportChecks.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/michaelversus/SwiftImportChecks.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:33aba1b4ee401c56e0fd7ee42e05ab1ffc0b6f44277ad19cffda5d456eb09500
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-syntax.git
[1/17291] Fetching swift-argument-parser
[174/41598] Fetching swift-argument-parser, xcodeproj
[5166/53107] Fetching swift-argument-parser, xcodeproj, yams
[38003/127933] Fetching swift-argument-parser, xcodeproj, yams, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.85s)
[66495/110642] Fetching xcodeproj, yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (1.90s)
[56483/99133] Fetching xcodeproj, swift-syntax
Fetched https://github.com/tuist/XcodeProj.git from cache (2.02s)
[43400/74826] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (5.52s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (7.81s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.40s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.56s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.65s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/2155] Fetching aexml
[1898/3607] Fetching aexml, pathkit
Fetched https://github.com/tadija/AEXML.git from cache (0.47s)
Fetched https://github.com/kylef/PathKit.git from cache (0.49s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.23s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.87s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.42s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.69s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.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/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.27.7
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 508.0.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/37] Write sources
[13/37] Compiling writer.c
[14/37] Compiling reader.c
[15/37] Write swift-version-24593BA9C3E375BF.txt
[16/37] Compiling parser.c
[17/37] Compiling api.c
[18/86] Compiling emitter.c
[19/86] Compiling scanner.c
[21/106] Compiling Yams Tag.swift
[22/106] Compiling Yams YamlAnchorProviding.swift
[23/108] Compiling Yams Resolver.swift
[24/108] Compiling Yams String+Yams.swift
[25/108] Compiling Yams Parser.swift
[26/108] Compiling Yams RedundancyAliasingStrategy.swift
[27/108] Compiling Yams Representer.swift
[28/113] Emitting module ArgumentParserToolInfo
[29/113] Compiling ArgumentParserToolInfo ToolInfo.swift
[30/114] Wrapping AST for ArgumentParserToolInfo for debugging
[32/160] Compiling ArgumentParser Flag.swift
[33/160] Compiling ArgumentParser NameSpecification.swift
[34/160] Compiling ArgumentParser Option.swift
[35/160] Compiling ArgumentParser OptionGroup.swift
[36/160] Compiling ArgumentParser ParsableCommand.swift
[37/160] Compiling ArgumentParser ZshCompletionsGenerator.swift
[38/160] Compiling ArgumentParser Argument.swift
[39/160] Compiling ArgumentParser ArgumentDiscussion.swift
[40/160] Compiling ArgumentParser ArgumentHelp.swift
[41/160] Compiling ArgumentParser ParentCommand.swift
[42/160] Compiling ArgumentParser AsyncParsableCommand.swift
[45/160] Compiling ArgumentParser ExpressibleByArgument.swift
[46/160] Compiling ArgumentParser ParsableArguments.swift
[47/160] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[48/160] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[49/160] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/160] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[51/160] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[52/160] Emitting module Yams
[53/160] Compiling ArgumentParser CommandConfiguration.swift
[54/160] Compiling ArgumentParser CommandGroup.swift
[55/160] Compiling ArgumentParser EnumerableFlag.swift
[56/160] Compiling AEXML Builders.swift
BUILD FAILURE 6.2 wasm