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 SwiftKSUID, reference main (b9a284), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 05:39:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/toffaletti/swiftksuid.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/toffaletti/swiftksuid
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b9a2844 add workflow and use FoundationEssentials (#1)
Cloned https://github.com/toffaletti/swiftksuid.git
Revision (git rev-parse @):
b9a284428f5db8543c27ff9b4d890eb100a780c0
SUCCESS checkout https://github.com/toffaletti/swiftksuid.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/toffaletti/swiftksuid.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/ordo-one/package-benchmark
[1/5977] Fetching package-benchmark
Fetched https://github.com/ordo-one/package-benchmark from cache (0.54s)
Computing version for https://github.com/ordo-one/package-benchmark
Computed https://github.com/ordo-one/package-benchmark at 1.29.3 (3.90s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/ordo-one/package-jemalloc.git
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/35] Fetching package-jemalloc
[36/637] Fetching package-jemalloc, hdrhistogram-swift
[638/840] Fetching package-jemalloc, hdrhistogram-swift, texttable
[841/2637] Fetching package-jemalloc, hdrhistogram-swift, texttable, swift-atomics
[1363/7073] Fetching package-jemalloc, hdrhistogram-swift, texttable, swift-atomics, swift-system
[7074/22453] Fetching package-jemalloc, hdrhistogram-swift, texttable, swift-atomics, swift-system, swift-argument-parser
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.82s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.83s)
Fetched https://github.com/ordo-one/TextTable.git from cache (0.83s)
[4779/19851] Fetching package-jemalloc, swift-system, swift-argument-parser
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.83s)
[4898/19816] Fetching swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (1.53s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.55s)
Computing version for https://github.com/ordo-one/package-jemalloc.git
Computed https://github.com/ordo-one/package-jemalloc.git at 1.0.0 (2.23s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (0.78s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.3 (0.75s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.67s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.64s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.67s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.71s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
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/ordo-one/TextTable.git
Working copy of https://github.com/ordo-one/TextTable.git resolved at 0.0.2
Creating working copy for https://github.com/ordo-one/package-benchmark
Working copy of https://github.com/ordo-one/package-benchmark resolved at 1.29.3
Creating working copy for https://github.com/ordo-one/package-jemalloc.git
Working copy of https://github.com/ordo-one/package-jemalloc.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.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/HdrHistogram/hdrhistogram-swift.git
Working copy of https://github.com/HdrHistogram/hdrhistogram-swift.git resolved at 0.1.3
warning: couldn't find pc file for jemalloc
[0/12] Write sources
[4/12] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling CSystem shims.c
[7/42] Compiling SystemPackage FileOperations.swift
[8/42] Compiling SystemPackage FilePath.swift
[9/42] Compiling SystemPackage FilePathComponentView.swift
[10/42] Compiling SystemPackage FilePathComponents.swift
[11/45] Compiling SystemPackage FilePathTempPosix.swift
[12/45] Compiling SystemPackage FilePathTempWindows.swift
[13/45] Compiling SystemPackage FilePathWindows.swift
[14/45] Compiling SystemPackage FilePermissions.swift
[15/45] Compiling SystemPackage Errno.swift
[16/45] Compiling SystemPackage ErrnoWindows.swift
[17/45] Compiling SystemPackage FileDescriptor.swift
[18/45] Compiling SystemPackage FileHelpers.swift
[19/45] Emitting module SystemPackage
[20/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/45] Emitting module ArgumentParserToolInfo
[22/46] Wrapping AST for ArgumentParserToolInfo for debugging
[24/84] Compiling ArgumentParser Name.swift
[25/84] Compiling ArgumentParser Parsed.swift
[26/84] Compiling ArgumentParser ParsedValues.swift
[27/84] Compiling ArgumentParser OptionGroup.swift
[28/84] Compiling ArgumentParser AsyncParsableCommand.swift
[29/84] Compiling ArgumentParser CommandConfiguration.swift
[30/84] Compiling ArgumentParser CommandGroup.swift
[31/84] Compiling ArgumentParser EnumerableFlag.swift
[32/84] Compiling ArgumentParser ExpressibleByArgument.swift
[33/84] Compiling ArgumentParser ParsableArguments.swift
[34/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[35/84] Compiling ArgumentParser ParsableCommand.swift
[36/84] Compiling ArgumentParser ArgumentDecoder.swift
[37/84] Compiling ArgumentParser ArgumentDefinition.swift
[38/84] Compiling ArgumentParser ArgumentSet.swift
[39/84] Compiling ArgumentParser CommandParser.swift
[40/84] Compiling ArgumentParser InputKey.swift
[41/84] Compiling ArgumentParser InputOrigin.swift
[42/85] Wrapping AST for SystemPackage for debugging
[44/85] Compiling ArgumentParser ArgumentVisibility.swift
[45/85] Compiling ArgumentParser CompletionKind.swift
[46/85] Compiling ArgumentParser Errors.swift
[47/85] Compiling ArgumentParser Flag.swift
[48/85] Compiling ArgumentParser NameSpecification.swift
[49/85] Compiling ArgumentParser Option.swift
[50/90] Emitting module ArgumentParser
[51/90] Compiling ArgumentParser BashCompletionsGenerator.swift
[52/90] Compiling ArgumentParser CompletionsGenerator.swift
[53/90] Compiling ArgumentParser FishCompletionsGenerator.swift
[54/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[55/90] Compiling ArgumentParser Argument.swift
[56/90] Compiling ArgumentParser ArgumentHelp.swift
[60/90] Compiling ArgumentParser ParserError.swift
[61/90] Compiling ArgumentParser SplitArguments.swift
[67/90] Compiling ArgumentParser CollectionExtensions.swift
[68/90] Compiling ArgumentParser Platform.swift
[69/90] Compiling ArgumentParser SequenceExtensions.swift
[70/90] Compiling ArgumentParser StringExtensions.swift
[71/90] Compiling ArgumentParser Tree.swift
[82/90] Compiling ArgumentParser DumpHelpGenerator.swift
[83/90] Compiling ArgumentParser HelpCommand.swift
[84/90] Compiling ArgumentParser HelpGenerator.swift
[85/90] Compiling ArgumentParser MessageInfo.swift
[86/90] Compiling ArgumentParser UsageGenerator.swift
[87/91] Wrapping AST for ArgumentParser for debugging
[89/93] Emitting module BenchmarkBoilerplateGenerator
[90/93] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
[91/94] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[92/94] Write Objects.LinkFileList
[93/94] Linking BenchmarkBoilerplateGenerator-tool
warning: couldn't find pc file for jemalloc
[1/1] Compiling plugin BenchmarkPlugin
[2/2] Compiling plugin BenchmarkCommandPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/46] Write sources
[18/46] Compiling CSystem shims.c
[19/46] Compiling _AtomicsShims.c
[20/46] Compiling SwiftRuntimeHooks shims.c
[21/46] Compiling CSystem shims.c
[22/46] Compiling _NumericsShims _NumericsShims.c
[22/46] Write swift-version-24593BA9C3E375BF.txt
[25/111] Emitting module ArgumentParserToolInfo
[27/113] Emitting module SystemPackage
[28/114] Wrapping AST for ArgumentParserToolInfo for debugging
[29/114] Wrapping AST for SystemPackage for debugging
[31/114] Emitting module ArgumentParser
[32/115] Wrapping AST for ArgumentParser for debugging
[34/116] Emitting module BenchmarkBoilerplateGenerator
[35/117] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[36/117] Write Objects.LinkFileList
[38/117] Emitting module Atomics
[38/119] Linking BenchmarkBoilerplateGenerator-tool
[39/119] Generating plugin support files
[40/119] Write sources
[42/119] Compiling RealModule Real.swift
[43/120] Emitting module RealModule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/120] Emitting module SwiftKSUID
/host/spi-builder-workspace/Sources/SwiftKSUID/Base62.swift:11:9: error: no such module 'Foundation'
  9 | 	import FoundationEssentials
 10 | #else
 11 | 	import Foundation
    |         `- error: no such module 'Foundation'
 12 | #endif
 13 |
[45/120] Compiling SwiftKSUID Base62.swift
/host/spi-builder-workspace/Sources/SwiftKSUID/Base62.swift:11:9: error: no such module 'Foundation'
  9 | 	import FoundationEssentials
 10 | #else
 11 | 	import Foundation
    |         `- error: no such module 'Foundation'
 12 | #endif
 13 |
[46/120] Compiling SwiftKSUID SwiftKSUID.swift
/host/spi-builder-workspace/Sources/SwiftKSUID/Base62.swift:11:9: error: no such module 'Foundation'
  9 | 	import FoundationEssentials
 10 | #else
 11 | 	import Foundation
    |         `- error: no such module 'Foundation'
 12 | #endif
 13 |
[47/120] Compiling Atomics OptionalRawRepresentable.swift
[48/120] Compiling Atomics RawRepresentable.swift
[49/120] Compiling RealModule Float80+Real.swift
[50/120] Compiling Atomics AtomicBool.swift
[51/120] Compiling Atomics IntegerConformances.swift
[52/120] Emitting module ArgumentParserToolInfo
[53/120] Emitting module BenchmarkShared
BUILD FAILURE 6.2 wasm