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 v0.2.0 (4b39f6), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 05:38:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/toffaletti/swiftksuid.git
Reference: v0.2.0
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
 * tag               v0.2.0     -> FETCH_HEAD
HEAD is now at 4b39f6a swift 6 support
Cloned https://github.com/toffaletti/swiftksuid.git
Revision (git rev-parse @):
4b39f6a5f9e3e0712de6e62befac8c485282f357
SUCCESS checkout https://github.com/toffaletti/swiftksuid.git at v0.2.0
========================================
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-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/ordo-one/package-benchmark
[1/5977] Fetching package-benchmark
Fetched https://github.com/ordo-one/package-benchmark from cache (0.48s)
Computing version for https://github.com/ordo-one/package-benchmark
Computed https://github.com/ordo-one/package-benchmark at 1.29.3 (3.39s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/ordo-one/package-jemalloc.git
[1/35] Fetching package-jemalloc
[36/4471] Fetching package-jemalloc, swift-system
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.36s)
[1553/4436] Fetching swift-system
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-system.git from cache (0.60s)
[1/203] Fetching texttable
[204/805] Fetching texttable, hdrhistogram-swift
[487/2602] Fetching texttable, hdrhistogram-swift, swift-atomics
[2603/17982] Fetching texttable, hdrhistogram-swift, swift-atomics, swift-argument-parser
Fetched https://github.com/ordo-one/TextTable.git from cache (0.77s)
[3937/17779] Fetching hdrhistogram-swift, swift-atomics, swift-argument-parser
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (1.46s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.47s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.49s)
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.77s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (0.70s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.3 (0.70s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.65s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.61s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.61s)
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.63s)
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/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/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/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/HdrHistogram/hdrhistogram-swift.git
Working copy of https://github.com/HdrHistogram/hdrhistogram-swift.git resolved at 0.1.3
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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
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
warning: couldn't find pc file for jemalloc
[0/12] Write sources
[4/12] Compiling CSystem shims.c
[4/12] Write swift-version-24593BA9C3E375BF.txt
[7/42] Emitting module SystemPackage
[8/42] Compiling SystemPackage Errno.swift
[9/42] Compiling SystemPackage ErrnoWindows.swift
[10/42] Compiling SystemPackage FileDescriptor.swift
[11/42] Compiling SystemPackage FileHelpers.swift
[12/45] Compiling SystemPackage MachPort.swift
[13/45] Compiling SystemPackage PlatformString.swift
[14/45] Compiling SystemPackage SystemString.swift
[15/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/45] Emitting module ArgumentParserToolInfo
[17/46] Wrapping AST for ArgumentParserToolInfo for debugging
[19/84] Compiling ArgumentParser CompletionKind.swift
[20/84] Compiling ArgumentParser Errors.swift
[21/84] Compiling ArgumentParser Flag.swift
[22/84] Compiling ArgumentParser NameSpecification.swift
[23/84] Compiling ArgumentParser Name.swift
[24/84] Compiling ArgumentParser Parsed.swift
[25/84] Compiling ArgumentParser ParsedValues.swift
[26/84] Compiling ArgumentParser InputOrigin.swift
[27/84] Compiling ArgumentParser ExpressibleByArgument.swift
[28/84] Compiling ArgumentParser ParsableArguments.swift
[29/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[30/84] Compiling ArgumentParser CommandConfiguration.swift
[31/84] Compiling ArgumentParser CommandGroup.swift
[32/84] Compiling ArgumentParser EnumerableFlag.swift
[33/84] Compiling ArgumentParser ArgumentVisibility.swift
[34/84] Compiling ArgumentParser Option.swift
[35/84] Compiling ArgumentParser BashCompletionsGenerator.swift
[36/84] Compiling ArgumentParser CompletionsGenerator.swift
[37/84] Compiling ArgumentParser FishCompletionsGenerator.swift
[38/84] Compiling ArgumentParser ParsableCommand.swift
[39/84] Compiling ArgumentParser ArgumentDecoder.swift
[40/84] Compiling ArgumentParser OptionGroup.swift
[41/84] Compiling ArgumentParser AsyncParsableCommand.swift
[42/85] Wrapping AST for SystemPackage for debugging
[44/85] Emitting module ArgumentParser
[45/90] Compiling ArgumentParser CollectionExtensions.swift
[46/90] Compiling ArgumentParser Platform.swift
[47/90] Compiling ArgumentParser SequenceExtensions.swift
[48/90] Compiling ArgumentParser StringExtensions.swift
[49/90] Compiling ArgumentParser Tree.swift
[55/90] Compiling ArgumentParser ArgumentDefinition.swift
[56/90] Compiling ArgumentParser ArgumentSet.swift
[57/90] Compiling ArgumentParser CommandParser.swift
[58/90] Compiling ArgumentParser InputKey.swift
[63/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[64/90] Compiling ArgumentParser Argument.swift
[65/90] Compiling ArgumentParser ArgumentHelp.swift
[80/90] Compiling ArgumentParser ParserError.swift
[81/90] Compiling ArgumentParser SplitArguments.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 _AtomicsShims.c
[19/46] Compiling _NumericsShims _NumericsShims.c
[20/46] Compiling CSystem shims.c
[21/46] Compiling SwiftRuntimeHooks shims.c
[22/46] Compiling CSystem shims.c
[23/46] Write swift-version-24593BA9C3E375BF.txt
[25/111] Emitting module ArgumentParserToolInfo
[27/113] Emitting module ArgumentParser
[29/114] Emitting module SystemPackage
[29/115] Wrapping AST for ArgumentParserToolInfo for debugging
[31/115] Wrapping AST for ArgumentParser for debugging
[32/115] Wrapping AST for SystemPackage for debugging
[34/116] Emitting module BenchmarkBoilerplateGenerator
[35/117] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[36/117] Write Objects.LinkFileList
[37/117] Linking BenchmarkBoilerplateGenerator-tool
[38/117] Generating plugin support files
[39/117] Write sources
[41/117] Compiling RealModule Real.swift
[42/117] Compiling SwiftKSUID SwiftKSUID.swift
/host/spi-builder-workspace/Sources/SwiftKSUID/Base62.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | internal struct FastBase62 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/118] Emitting module SwiftKSUID
/host/spi-builder-workspace/Sources/SwiftKSUID/Base62.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | internal struct FastBase62 {
[44/118] Compiling SwiftKSUID Base62.swift
/host/spi-builder-workspace/Sources/SwiftKSUID/Base62.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | internal struct FastBase62 {
[45/118] Compiling Atomics AtomicStorage.swift
[46/118] Compiling Atomics AtomicValue.swift
[47/120] Compiling SystemPackage MachPort.swift
[48/120] Compiling SystemPackage PlatformString.swift
[49/120] Compiling SystemPackage SystemString.swift
[50/120] Compiling Atomics AtomicBool.swift
[51/120] Compiling Atomics IntegerConformances.swift
[52/120] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm