Build Information
Failed to build swift-semantic-string, reference main (fd7e93), with Swift 6.2 for Wasm on 2 Nov 2026 03:52:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MxIris-Reverse-Engineering/swift-semantic-string.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/MxIris-Reverse-Engineering/swift-semantic-string
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fd7e93c Merge: add annotation regions to say what each comment is
Cloned https://github.com/MxIris-Reverse-Engineering/swift-semantic-string.git
Revision (git rev-parse @):
fd7e93c5a1e5e9bf4fffe60b289de01bb3321845
SUCCESS checkout https://github.com/MxIris-Reverse-Engineering/swift-semantic-string.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/MxIris-Reverse-Engineering/swift-semantic-string.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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:c2cc4df169d3c45015ced899e997f329be5fc90bdbfce388bd8981e1ea44d639
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/50] Emitting module Semantic
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias Primitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
[5/56] Compiling Semantic Semantic.swift
[6/56] Compiling Semantic SemanticString+Composition.swift
[7/56] Compiling Semantic SemanticString+Conformances.swift
[8/56] Compiling Semantic SemanticString+Mutation.swift
[9/56] Compiling Semantic SemanticString+Query.swift
[10/56] Compiling Semantic SemanticString+Transformation.swift
[11/56] Compiling Semantic SemanticStringStorage.swift
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias Primitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
[12/56] Compiling Semantic VisibilityCondition.swift
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias Primitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
[13/56] Compiling Semantic VisibilityLayout.swift
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias Primitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
[14/56] Compiling Semantic VisibilityProjection.swift
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias Primitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
[15/56] Compiling Semantic VisibilityRegion.swift
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias Primitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
[16/56] Compiling Semantic VisibilityRegionTable.swift
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias Primitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
[17/56] Compiling Semantic Block.swift
[18/56] Compiling Semantic Comment.swift
[19/56] Compiling Semantic Conditional.swift
[20/56] Compiling Semantic Error.swift
[21/56] Compiling Semantic FunctionDeclaration.swift
[22/56] Compiling Semantic FunctionName.swift
[23/56] Compiling Semantic Group.swift
[24/56] Compiling Semantic Joined.swift
[25/56] Compiling Semantic Keyword.swift
[26/56] Compiling Semantic MemberDeclaration.swift
[27/56] Compiling Semantic MemberName.swift
[28/56] Compiling Semantic Numeric.swift
[29/56] Compiling Semantic Other.swift
[30/56] Compiling Semantic SemanticString.swift
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias Primitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:138:9: error: cannot find 'pthread_mutex_lock' in scope
136 | AcquireSRWLockExclusive(stripe)
137 | #else
138 | pthread_mutex_lock(stripe)
| `- error: cannot find 'pthread_mutex_lock' in scope
139 | #endif
140 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:149:9: error: cannot find 'pthread_mutex_unlock' in scope
147 | ReleaseSRWLockExclusive(stripe)
148 | #else
149 | pthread_mutex_unlock(stripe)
| `- error: cannot find 'pthread_mutex_unlock' in scope
150 | #endif
151 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:162:9: error: cannot find 'pthread_mutex_init' in scope
160 | InitializeSRWLock(stripe)
161 | #else
162 | pthread_mutex_init(stripe, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
163 | #endif
164 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:162:36: error: 'nil' requires a contextual type
160 | InitializeSRWLock(stripe)
161 | #else
162 | pthread_mutex_init(stripe, nil)
| `- error: 'nil' requires a contextual type
163 | #endif
164 | }
[31/56] Compiling Semantic SemanticStringBuilder.swift
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias Primitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:138:9: error: cannot find 'pthread_mutex_lock' in scope
136 | AcquireSRWLockExclusive(stripe)
137 | #else
138 | pthread_mutex_lock(stripe)
| `- error: cannot find 'pthread_mutex_lock' in scope
139 | #endif
140 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:149:9: error: cannot find 'pthread_mutex_unlock' in scope
147 | ReleaseSRWLockExclusive(stripe)
148 | #else
149 | pthread_mutex_unlock(stripe)
| `- error: cannot find 'pthread_mutex_unlock' in scope
150 | #endif
151 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:162:9: error: cannot find 'pthread_mutex_init' in scope
160 | InitializeSRWLock(stripe)
161 | #else
162 | pthread_mutex_init(stripe, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
163 | #endif
164 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:162:36: error: 'nil' requires a contextual type
160 | InitializeSRWLock(stripe)
161 | #else
162 | pthread_mutex_init(stripe, nil)
| `- error: 'nil' requires a contextual type
163 | #endif
164 | }
[32/56] Compiling Semantic SemanticStringComponent.swift
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias Primitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:138:9: error: cannot find 'pthread_mutex_lock' in scope
136 | AcquireSRWLockExclusive(stripe)
137 | #else
138 | pthread_mutex_lock(stripe)
| `- error: cannot find 'pthread_mutex_lock' in scope
139 | #endif
140 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:149:9: error: cannot find 'pthread_mutex_unlock' in scope
147 | ReleaseSRWLockExclusive(stripe)
148 | #else
149 | pthread_mutex_unlock(stripe)
| `- error: cannot find 'pthread_mutex_unlock' in scope
150 | #endif
151 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:162:9: error: cannot find 'pthread_mutex_init' in scope
160 | InitializeSRWLock(stripe)
161 | #else
162 | pthread_mutex_init(stripe, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
163 | #endif
164 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:162:36: error: 'nil' requires a contextual type
160 | InitializeSRWLock(stripe)
161 | #else
162 | pthread_mutex_init(stripe, nil)
| `- error: 'nil' requires a contextual type
163 | #endif
164 | }
[33/56] Compiling Semantic SemanticType.swift
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias Primitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:138:9: error: cannot find 'pthread_mutex_lock' in scope
136 | AcquireSRWLockExclusive(stripe)
137 | #else
138 | pthread_mutex_lock(stripe)
| `- error: cannot find 'pthread_mutex_lock' in scope
139 | #endif
140 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:149:9: error: cannot find 'pthread_mutex_unlock' in scope
147 | ReleaseSRWLockExclusive(stripe)
148 | #else
149 | pthread_mutex_unlock(stripe)
| `- error: cannot find 'pthread_mutex_unlock' in scope
150 | #endif
151 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:162:9: error: cannot find 'pthread_mutex_init' in scope
160 | InitializeSRWLock(stripe)
161 | #else
162 | pthread_mutex_init(stripe, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
163 | #endif
164 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:162:36: error: 'nil' requires a contextual type
160 | InitializeSRWLock(stripe)
161 | #else
162 | pthread_mutex_init(stripe, nil)
| `- error: 'nil' requires a contextual type
163 | #endif
164 | }
[34/56] Compiling Semantic CacheLockStripes.swift
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias Primitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:138:9: error: cannot find 'pthread_mutex_lock' in scope
136 | AcquireSRWLockExclusive(stripe)
137 | #else
138 | pthread_mutex_lock(stripe)
| `- error: cannot find 'pthread_mutex_lock' in scope
139 | #endif
140 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:149:9: error: cannot find 'pthread_mutex_unlock' in scope
147 | ReleaseSRWLockExclusive(stripe)
148 | #else
149 | pthread_mutex_unlock(stripe)
| `- error: cannot find 'pthread_mutex_unlock' in scope
150 | #endif
151 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:162:9: error: cannot find 'pthread_mutex_init' in scope
160 | InitializeSRWLock(stripe)
161 | #else
162 | pthread_mutex_init(stripe, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
163 | #endif
164 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:162:36: error: 'nil' requires a contextual type
160 | InitializeSRWLock(stripe)
161 | #else
162 | pthread_mutex_init(stripe, nil)
| `- error: 'nil' requires a contextual type
163 | #endif
164 | }
[35/56] Compiling Semantic SemanticStringElements.swift
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias Primitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:138:9: error: cannot find 'pthread_mutex_lock' in scope
136 | AcquireSRWLockExclusive(stripe)
137 | #else
138 | pthread_mutex_lock(stripe)
| `- error: cannot find 'pthread_mutex_lock' in scope
139 | #endif
140 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:149:9: error: cannot find 'pthread_mutex_unlock' in scope
147 | ReleaseSRWLockExclusive(stripe)
148 | #else
149 | pthread_mutex_unlock(stripe)
| `- error: cannot find 'pthread_mutex_unlock' in scope
150 | #endif
151 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:162:9: error: cannot find 'pthread_mutex_init' in scope
160 | InitializeSRWLock(stripe)
161 | #else
162 | pthread_mutex_init(stripe, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
163 | #endif
164 | }
/host/spi-builder-workspace/Sources/Semantic/Storage/CacheLockStripes.swift:162:36: error: 'nil' requires a contextual type
160 | InitializeSRWLock(stripe)
161 | #else
162 | pthread_mutex_init(stripe, nil)
| `- error: 'nil' requires a contextual type
163 | #endif
164 | }
[36/56] Compiling Semantic PlainAtomicComponentConformances.swift
[37/56] Compiling Semantic Standard.swift
[38/56] Compiling Semantic TypeDeclaration.swift
[39/56] Compiling Semantic TypeName.swift
[40/56] Compiling Semantic Variable.swift
[41/56] Compiling Semantic DefinitionRegion.swift
[42/56] Compiling Semantic DefinitionRegionTable.swift
[43/56] Compiling Semantic FrozenSemanticString+Codable.swift
[44/56] Compiling Semantic FrozenSemanticString+Freezing.swift
[45/56] Compiling Semantic FrozenSemanticString+Indentation.swift
[46/56] Compiling Semantic FrozenSemanticString+TypeCodes.swift
[47/56] Compiling Semantic FrozenSemanticString.swift
[48/56] Compiling Semantic AnnotatedAtom.swift
[49/56] Compiling Semantic AnnotationRegion.swift
[50/56] Compiling Semantic AnnotationRegionTable.swift
[51/56] Compiling Semantic AnnotationSegment.swift
[52/56] Compiling Semantic AnnotationTag.swift
[53/56] Compiling Semantic AnyComponent.swift
[54/56] Compiling Semantic Argument.swift
[55/56] Emitting module OutputTransformer
BUILD FAILURE 6.2 wasm