Build Information
Failed to build sharing-cloud, reference main (4a7f71), with Swift 6.2 for Wasm on 22 Jul 2026 03:05:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KthKuang/sharing-cloud.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/KthKuang/sharing-cloud
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4a7f714 Injectable store, Codable support, and testability rework (#5)
Cloned https://github.com/KthKuang/sharing-cloud.git
Revision (git rev-parse @):
4a7f714e648da6dd7a1a39d394fceee9299fcbc3
SUCCESS checkout https://github.com/KthKuang/sharing-cloud.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/KthKuang/sharing-cloud.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-sharing
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/1047] Fetching swift-concurrency-extras
[462/8264] Fetching swift-concurrency-extras, swift-dependencies
[3358/12272] Fetching swift-concurrency-extras, swift-dependencies, swift-sharing
[11191/14850] Fetching swift-concurrency-extras, swift-dependencies, swift-sharing, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-sharing from cache (0.48s)
[8625/10842] Fetching swift-concurrency-extras, swift-dependencies, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.58s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.58s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.58s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.14.1 (0.77s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-clocks
[1/2665] Fetching combine-schedulers
[508/4099] Fetching combine-schedulers, swift-clocks
[4100/80170] Fetching combine-schedulers, swift-clocks, swift-syntax
Fetched https://github.com/pointfreeco/swift-clocks from cache (3.19s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (3.19s)
Fetched https://github.com/swiftlang/swift-syntax from cache (3.20s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.4.0 (3.41s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.1.0 (0.29s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.0 (0.26s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.60s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (1.49s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (0.24s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.11.0 (0.88s)
Computing version for https://github.com/pointfreeco/swift-sharing
Computed https://github.com/pointfreeco/swift-sharing at 2.9.1 (0.17s)
Fetching https://github.com/pointfreeco/swift-perception
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/swift-identified-collections
[1/2066] Fetching swift-perception
[1179/7697] Fetching swift-perception, swift-custom-dump
[2236/9277] Fetching swift-perception, swift-custom-dump, swift-identified-collections
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.45s)
[3125/3646] Fetching swift-perception, swift-identified-collections
Fetched https://github.com/pointfreeco/swift-perception from cache (0.48s)
Fetched https://github.com/pointfreeco/swift-identified-collections from cache (0.48s)
Computing version for https://github.com/pointfreeco/swift-identified-collections
Computed https://github.com/pointfreeco/swift-identified-collections at 1.1.1 (0.63s)
Fetching https://github.com/apple/swift-collections
[1/26361] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (0.98s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.6.1 (1.13s)
Computing version for https://github.com/pointfreeco/swift-perception
Computed https://github.com/pointfreeco/swift-perception at 2.0.11 (0.14s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.22s)
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.4.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.14.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.6.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.1.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.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.11.0
Creating working copy for https://github.com/pointfreeco/swift-sharing
Working copy of https://github.com/pointfreeco/swift-sharing resolved at 2.9.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.6.1
Creating working copy for https://github.com/pointfreeco/swift-perception
Working copy of https://github.com/pointfreeco/swift-perception resolved at 2.0.11
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-identified-collections
Working copy of https://github.com/pointfreeco/swift-identified-collections resolved at 1.1.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.18s)
Building for debugging...
[0/17] Write sources
[0/17] Copying PrivacyInfo.xcprivacy
[0/17] Write sources
[16/17] Write swift-version-24593BA9C3E375BF.txt
[18/71] Emitting module Sharing2
[19/71] Emitting module InternalCollectionsUtilities
[20/73] Emitting module IssueReporting
[21/75] Emitting module Sharing1
[22/75] Compiling Sharing1 Empty.swift
[24/76] Compiling Sharing2 Empty.swift
[25/77] Compiling InternalCollectionsUtilities Debugging.swift
[26/77] Compiling InternalCollectionsUtilities Descriptions.swift
[27/77] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[29/77] Compiling IssueReporting SwiftTesting.swift
[30/77] Compiling IssueReporting UncheckedSendable.swift
[31/77] Compiling InternalCollectionsUtilities Integer rank.swift
[32/77] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[33/77] Compiling InternalCollectionsUtilities UInt+reversed.swift
[34/77] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[35/77] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[36/77] Compiling InternalCollectionsUtilities Span+Extras.swift
[37/77] Compiling IssueReporting WithExpectedIssue.swift
[38/77] Compiling IssueReporting WithIssueContext.swift
[39/77] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[40/77] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[41/77] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[42/77] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[43/77] Compiling InternalCollectionsUtilities _SortedCollection.swift
[44/77] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[45/77] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[46/77] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[49/77] Compiling IssueReporting _Test.swift
[53/135] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[54/135] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[55/135] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[56/135] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[57/135] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[58/135] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[59/135] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[60/135] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[61/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[62/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[63/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[64/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[65/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[66/142] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[67/142] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[68/142] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[69/142] Compiling ConcurrencyExtras LockIsolated.swift
[70/143] Compiling OrderedCollections OrderedDictionary+Values.swift
[71/143] Compiling OrderedCollections OrderedDictionary.swift
[72/143] Compiling OrderedCollections OrderedSet+Codable.swift
[74/143] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[77/143] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[78/143] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[79/143] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[80/143] Emitting module ConcurrencyExtras
[81/143] Compiling OrderedCollections OrderedSet+Equatable.swift
[82/143] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[83/143] Compiling OrderedCollections OrderedDictionary+Codable.swift
[85/143] Compiling OrderedCollections OrderedSet+Descriptions.swift
[86/143] Compiling OrderedCollections OrderedSet+Diffing.swift
[87/143] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[88/143] Compiling OrderedCollections OrderedDictionary+Elements.swift
[89/143] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[92/144] Compiling ConcurrencyExtras MainSerialExecutor.swift
[93/144] Compiling ConcurrencyExtras Result.swift
[95/144] Compiling ConcurrencyExtras Task.swift
[96/144] Compiling ConcurrencyExtras UncheckedSendable.swift
[98/163] Compiling XCTestDynamicOverlay Exports.swift
[99/184] Compiling Clocks Lock.swift
[100/185] Compiling CombineSchedulers ImmediateScheduler.swift
[101/185] Compiling CombineSchedulers Deprecations.swift
[102/185] Compiling Clocks SwiftUI.swift
[103/185] Compiling CombineSchedulers Platform.swift
[104/185] Compiling CombineSchedulers SwiftUI.swift
[105/185] Compiling CombineSchedulers TestScheduler.swift
[106/185] Compiling CombineSchedulers Timer.swift
[107/186] Compiling CombineSchedulers UIKit.swift
[108/186] Compiling CombineSchedulers UIScheduler.swift
[109/186] Emitting module CombineSchedulers
[110/186] Compiling CombineSchedulers AnyScheduler.swift
[111/186] Compiling CombineSchedulers Concurrency.swift
[112/186] 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 | }
[113/186] 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 | }
[114/186] Compiling Clocks Timer.swift
[115/186] Compiling CombineSchedulers UnimplementedScheduler.swift
[116/186] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[117/186] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[118/186] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[119/186] Compiling OrderedCollections OrderedDictionary+Move.swift
[120/186] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[121/186] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[122/186] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[123/186] Compiling OrderedCollections OrderedDictionary+Sequence.swift
BUILD FAILURE 6.2 wasm