The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WrkstrmPerformance, reference main (6a8b0c), with Swift 6.3 for Wasm on 18 Apr 2026 10:08:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wrkstrm/wrkstrm-performance.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/wrkstrm/wrkstrm-performance
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6a8b0cb build: lower macos target and add foundry audit
Cloned https://github.com/wrkstrm/wrkstrm-performance.git
Revision (git rev-parse @):
6a8b0cb48eb482fad6c74e2a9701fa583cd1ddbc
SUCCESS checkout https://github.com/wrkstrm/wrkstrm-performance.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/wrkstrm/wrkstrm-performance.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/wrkstrm/wrkstrm-foundation.git
Fetching https://github.com/swift-universal/common-log.git
Fetching https://github.com/wrkstrm/wrkstrm-main.git
[1/2605] Fetching common-log
[106/6366] Fetching common-log, wrkstrm-foundation
Fetched https://github.com/swift-universal/common-log.git from cache (0.30s)
Fetched https://github.com/wrkstrm/wrkstrm-foundation.git from cache (0.32s)
[1/1760] Fetching wrkstrm-main
Fetched https://github.com/wrkstrm/wrkstrm-main.git from cache (0.51s)
Computing version for https://github.com/wrkstrm/wrkstrm-main.git
warning: 'wrkstrm-main': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[]
---- Package Inject Deps: End ----
Computed https://github.com/wrkstrm/wrkstrm-main.git at 3.0.4 (1.15s)
Computing version for https://github.com/swift-universal/common-log.git
Computed https://github.com/swift-universal/common-log.git at 3.0.6 (0.61s)
Fetching https://github.com/apple/swift-log.git
[1/6635] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.93s)
Computing version for https://github.com/wrkstrm/wrkstrm-foundation.git
Computed https://github.com/wrkstrm/wrkstrm-foundation.git at 3.0.7 (0.59s)
Creating working copy for https://github.com/wrkstrm/wrkstrm-foundation.git
Working copy of https://github.com/wrkstrm/wrkstrm-foundation.git resolved at 3.0.7
Creating working copy for https://github.com/swift-universal/common-log.git
Working copy of https://github.com/swift-universal/common-log.git resolved at 3.0.6
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/wrkstrm/wrkstrm-main.git
Working copy of https://github.com/wrkstrm/wrkstrm-main.git resolved at 3.0.4
warning: 'wrkstrm-main': ---- Package Inject Deps: Begin ----
Use Local Deps? false
[]
---- Package Inject Deps: End ----
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/50] Emitting module WrkstrmPerfSupport
[10/50] Emitting module WrkstrmMain
[11/54] Compiling WrkstrmMain JSON.swift
[12/54] Compiling WrkstrmMain KeyedDecodingContainer+FuzzyDecoding.swift
[13/54] Compiling WrkstrmMain Injectable.swift
[14/54] Compiling WrkstrmMain Random.swift
[15/54] Compiling WrkstrmMain DynamicCodingKey.swift
[16/54] Compiling WrkstrmMain JSON+AnyDictionary.swift
[17/54] Compiling WrkstrmMain JSON+AnyEquatableArrayEnum.swift
[18/54] Compiling WrkstrmMain JSON+AnyEquatableDictionaryEnum.swift
[19/54] Compiling WrkstrmMain String+Source.swift
[20/54] Compiling WrkstrmMain StringError.swift
[21/54] Compiling WrkstrmMain UInt+BitSetting.swift
[22/54] Compiling WrkstrmMain AnyCodingKey.swift
[23/54] Compiling WrkstrmMain SortedArray.swift
[24/54] Compiling WrkstrmMain Array+Filter.swift
[25/54] Compiling WrkstrmMain ClosedRange+Magnitude.swift
[26/54] Compiling WrkstrmMain Collection+Sorting.swift
[27/54] Compiling WrkstrmMain CommandLine+Executable.swift
[28/54] Compiling WrkstrmMain BinaryTree.swift
[29/54] Compiling WrkstrmMain Tree.swift
[30/54] Compiling WrkstrmMain List.swift
[31/54] Compiling WrkstrmMain Sort.swift
[32/54] Compiling WrkstrmMain IndexedCollection.swift
[33/54] Compiling Logging MetadataProvider.swift
[34/54] Emitting module Logging
[35/54] Compiling WrkstrmMain String+Contains.swift
[36/54] Compiling WrkstrmMain String+Count.swift
[37/54] Compiling WrkstrmMain String+KebabCase.swift
[38/54] Compiling WrkstrmMain String+Repeat.swift
[39/54] Compiling WrkstrmMain JSON+AnyEquatableStruct.swift
[40/54] Compiling WrkstrmMain JSON+AnyEquatableStructDictionary.swift
[41/54] Compiling WrkstrmMain JSON+EmptyCodableStruct.swift
[42/54] Compiling WrkstrmMain JSON+KVPair.swift
[43/54] Compiling WrkstrmMain Optional+AnyFlattenable.swift
[44/54] Compiling WrkstrmMain OptionalComparisons.swift
[45/54] Compiling WrkstrmMain RandomAccessCollection+IndexedCollection.swift
[46/54] Compiling WrkstrmMain Sequence+Decompose.swift
[47/54] Compiling WrkstrmMain Sequence+Unique.swift
[49/55] Emitting module WrkstrmEnvironment
[50/55] Compiling WrkstrmEnvironment EnvironmentProbe.swift
/host/spi-builder-workspace/sources/wrkstrm-environment/EnvironmentProbe.swift:79:18: error: cannot find 'getuid' in scope
 77 |     let host = SystemInfo.hostName()
 78 |     let user = NSUserName()
 79 |     let isRoot = getuid() == 0
    |                  `- error: cannot find 'getuid' in scope
 80 |     let shell = ProcessInfo.processInfo.environment["SHELL"]
 81 |     let cwd = FileManager.default.currentDirectoryPath
[51/55] Compiling Logging LogEvent.swift
[52/55] Compiling Logging Locks.swift
BUILD FAILURE 6.3 wasm