The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NanoID, reference master (fa4b86), with Swift 6.3 for Wasm on 18 Apr 2026 19:00:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.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/ShivaHuang/swift-nanoid.git
Reference: master
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/ShivaHuang/swift-nanoid
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at fa4b86a Merge pull request #6 from ShivaHuang/docs/update-benchmark-results
Cloned https://github.com/ShivaHuang/swift-nanoid.git
Revision (git rev-parse @):
fa4b86af527af05e2d8adacc163a595af4435c98
SUCCESS checkout https://github.com/ShivaHuang/swift-nanoid.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ShivaHuang/swift-nanoid.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.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/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-dependencies
[1/956] Fetching swift-concurrency-extras
[957/7725] Fetching swift-concurrency-extras, swift-dependencies
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.32s)
[610/6769] Fetching swift-dependencies
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.59s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (1.12s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.12.0 (0.81s)
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
[1/2606] Fetching combine-schedulers
[2607/3923] Fetching combine-schedulers, swift-clocks
[3924/9646] Fetching combine-schedulers, swift-clocks, xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-syntax
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.52s)
[2634/7040] Fetching swift-clocks, xctest-dynamic-overlay
[7041/82023] Fetching swift-clocks, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/swift-clocks from cache (1.12s)
[10972/80706] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.14s)
[5999/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (7.56s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (8.56s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.0 (0.43s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.61s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (3.24s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.45s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (0.85s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.12.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.2.0
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.52s)
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/23] Emitting module IssueReportingPackageSupport
[12/23] Compiling IssueReportingPackageSupport _Test.swift
[14/24] Compiling ConcurrencyExtras ActorIsolated.swift
[15/24] Compiling ConcurrencyExtras AnyHashableSendable.swift
[16/24] Emitting module ConcurrencyExtras
[17/45] Compiling ConcurrencyExtras UncheckedSendable.swift
[18/45] Compiling IssueReporting XCTest.swift
[19/45] Compiling IssueReporting IsTesting.swift
[20/45] Compiling IssueReporting IssueReporter.swift
[21/47] Emitting module IssueReporting
[22/47] Compiling IssueReporting WithExpectedIssue.swift
[23/47] Compiling IssueReporting WithIssueContext.swift
[24/47] Compiling IssueReporting TestContext.swift
[25/47] Compiling IssueReporting Unimplemented.swift
[26/47] Compiling IssueReporting BreakpointReporter.swift
[27/47] Compiling IssueReporting DefaultReporter.swift
[28/47] Compiling IssueReporting FatalErrorReporter.swift
[29/47] Compiling IssueReporting IssueSeverity.swift
[30/47] Compiling IssueReporting ReportIssue.swift
[31/47] Compiling IssueReporting Deprecations.swift
[33/47] Compiling ConcurrencyExtras LockIsolated.swift
[36/47] Compiling IssueReporting SwiftTesting.swift
[37/47] Compiling IssueReporting UncheckedSendable.swift
[38/47] Compiling IssueReporting Warn.swift
[39/47] Compiling IssueReporting FailureObserver.swift
[40/47] Compiling IssueReporting LockIsolated.swift
[41/47] Compiling IssueReporting Rethrows.swift
[42/47] Compiling ConcurrencyExtras MainSerialExecutor.swift
[43/47] Compiling ConcurrencyExtras Result.swift
[44/47] Compiling ConcurrencyExtras Task.swift
[46/48] Compiling IssueReporting ErrorReporting.swift
[47/48] Compiling IssueReporting AppHostWarning.swift
[50/52] Compiling NanoID NanoIDGenerator.swift
[51/76] Compiling CombineSchedulers ImmediateScheduler.swift
[52/76] Compiling CombineSchedulers Deprecations.swift
[53/77] Compiling XCTestDynamicOverlay Exports.swift
[54/77] Compiling CombineSchedulers UIScheduler.swift
[55/77] Compiling CombineSchedulers AnyScheduler.swift
[56/77] Compiling CombineSchedulers Concurrency.swift
[57/77] Emitting module CombineSchedulers
[58/77] Compiling CombineSchedulers UIKit.swift
[59/77] Compiling CombineSchedulers Platform.swift
[60/77] Compiling CombineSchedulers SwiftUI.swift
[61/77] Compiling CombineSchedulers TestScheduler.swift
[62/77] Compiling CombineSchedulers Timer.swift
[63/77] Compiling Clocks Timer.swift
[64/78] Compiling CombineSchedulers Lock.swift
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:54:7: error: cannot find 'pthread_mutexattr_init' in scope
52 |       var attr = pthread_mutexattr_t()
53 |       var mutex = pthread_mutex_t()
54 |       pthread_mutexattr_init(&attr)
   |       `- error: cannot find 'pthread_mutexattr_init' in scope
55 |       pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
56 |       pthread_mutex_init(&mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:55:7: error: cannot find 'pthread_mutexattr_settype' in scope
53 |       var mutex = pthread_mutex_t()
54 |       pthread_mutexattr_init(&attr)
55 |       pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
   |       `- error: cannot find 'pthread_mutexattr_settype' in scope
56 |       pthread_mutex_init(&mutex, &attr)
57 |       pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:55:46: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
53 |       var mutex = pthread_mutex_t()
54 |       pthread_mutexattr_init(&attr)
55 |       pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
   |                                              `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
56 |       pthread_mutex_init(&mutex, &attr)
57 |       pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:56:7: error: cannot find 'pthread_mutex_init' in scope
54 |       pthread_mutexattr_init(&attr)
55 |       pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
56 |       pthread_mutex_init(&mutex, &attr)
   |       `- error: cannot find 'pthread_mutex_init' in scope
57 |       pthread_mutexattr_destroy(&attr)
58 |       self.mutex = mutex
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:57:7: error: cannot find 'pthread_mutexattr_destroy' in scope
55 |       pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
56 |       pthread_mutex_init(&mutex, &attr)
57 |       pthread_mutexattr_destroy(&attr)
   |       `- error: cannot find 'pthread_mutexattr_destroy' in scope
58 |       self.mutex = mutex
59 |     }
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:66:7: error: cannot find 'pthread_mutex_lock' in scope
64 |
65 |     func lock() {
66 |       pthread_mutex_lock(&mutex)
   |       `- error: cannot find 'pthread_mutex_lock' in scope
67 |     }
68 |
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:70:7: error: cannot find 'pthread_mutex_unlock' in scope
68 |
69 |     func unlock() {
70 |       pthread_mutex_unlock(&mutex)
   |       `- error: cannot find 'pthread_mutex_unlock' in scope
71 |     }
72 |
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:78:7: error: cannot find 'pthread_mutex_destroy' in scope
76 |
77 |     deinit {
78 |       pthread_mutex_destroy(&mutex)
   |       `- error: cannot find 'pthread_mutex_destroy' in scope
79 |     }
80 |   }
[65/78] Compiling CombineSchedulers NSRecursiveLock.swift
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:54:7: error: cannot find 'pthread_mutexattr_init' in scope
52 |       var attr = pthread_mutexattr_t()
53 |       var mutex = pthread_mutex_t()
54 |       pthread_mutexattr_init(&attr)
   |       `- error: cannot find 'pthread_mutexattr_init' in scope
55 |       pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
56 |       pthread_mutex_init(&mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:55:7: error: cannot find 'pthread_mutexattr_settype' in scope
53 |       var mutex = pthread_mutex_t()
54 |       pthread_mutexattr_init(&attr)
55 |       pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
   |       `- error: cannot find 'pthread_mutexattr_settype' in scope
56 |       pthread_mutex_init(&mutex, &attr)
57 |       pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:55:46: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
53 |       var mutex = pthread_mutex_t()
54 |       pthread_mutexattr_init(&attr)
55 |       pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
   |                                              `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
56 |       pthread_mutex_init(&mutex, &attr)
57 |       pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:56:7: error: cannot find 'pthread_mutex_init' in scope
54 |       pthread_mutexattr_init(&attr)
55 |       pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
56 |       pthread_mutex_init(&mutex, &attr)
   |       `- error: cannot find 'pthread_mutex_init' in scope
57 |       pthread_mutexattr_destroy(&attr)
58 |       self.mutex = mutex
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:57:7: error: cannot find 'pthread_mutexattr_destroy' in scope
55 |       pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
56 |       pthread_mutex_init(&mutex, &attr)
57 |       pthread_mutexattr_destroy(&attr)
   |       `- error: cannot find 'pthread_mutexattr_destroy' in scope
58 |       self.mutex = mutex
59 |     }
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:66:7: error: cannot find 'pthread_mutex_lock' in scope
64 |
65 |     func lock() {
66 |       pthread_mutex_lock(&mutex)
   |       `- error: cannot find 'pthread_mutex_lock' in scope
67 |     }
68 |
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:70:7: error: cannot find 'pthread_mutex_unlock' in scope
68 |
69 |     func unlock() {
70 |       pthread_mutex_unlock(&mutex)
   |       `- error: cannot find 'pthread_mutex_unlock' in scope
71 |     }
72 |
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:78:7: error: cannot find 'pthread_mutex_destroy' in scope
76 |
77 |     deinit {
78 |       pthread_mutex_destroy(&mutex)
   |       `- error: cannot find 'pthread_mutex_destroy' in scope
79 |     }
80 |   }
[66/78] Compiling CombineSchedulers UnimplementedScheduler.swift
[67/78] Emitting module XCTestDynamicOverlay
BUILD FAILURE 6.3 wasm