The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-semantic-string, reference 0.5.0 (19b1cf), with Swift 6.2 for Wasm on 17 Oct 2026 04:49:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-2":/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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MxIris-Reverse-Engineering/swift-semantic-string.git
Reference: 0.5.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/MxIris-Reverse-Engineering/swift-semantic-string
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at 19b1cf0 Merge: add definition regions to take a nested definition out of its parent's print
Cloned https://github.com/MxIris-Reverse-Engineering/swift-semantic-string.git
Revision (git rev-parse @):
19b1cf039f61c27971aebae7c95c67e804a09c3b
SUCCESS checkout https://github.com/MxIris-Reverse-Engineering/swift-semantic-string.git at 0.5.0
========================================
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-53886768-2":/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:0563b842faffea9ddc6fe15fbd2051d02dff3ef29dc4b5bfe0a0910a084eee81
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/46] 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/51] 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 |     }
[6/51] 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 |     }
[7/51] 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 |     }
[8/51] 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 |     }
[9/51] 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 |
/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 |     }
[10/51] Compiling Semantic FrozenSemanticString+Indentation.swift
[11/51] Compiling Semantic FrozenSemanticString+TypeCodes.swift
[12/51] Compiling Semantic FrozenSemanticString.swift
[13/51] Compiling Semantic Semantic.swift
[14/51] Compiling Semantic SemanticString+Composition.swift
[15/51] Compiling Semantic SemanticString+Conformances.swift
[16/51] Compiling Semantic TypeName.swift
[17/51] Compiling Semantic Variable.swift
[18/51] Compiling Semantic DefinitionRegion.swift
[19/51] Compiling Semantic DefinitionRegionTable.swift
[20/51] Compiling Semantic FrozenSemanticString+Codable.swift
[21/51] Compiling Semantic FrozenSemanticString+Freezing.swift
[22/51] Compiling Semantic FunctionDeclaration.swift
[23/51] Compiling Semantic FunctionName.swift
[24/51] Compiling Semantic Group.swift
[25/51] Compiling Semantic Joined.swift
[26/51] Compiling Semantic Keyword.swift
[27/51] Compiling Semantic MemberDeclaration.swift
[28/51] Compiling Semantic SemanticString+Mutation.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 |
[29/51] Compiling Semantic SemanticString+Query.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 |
[30/51] Compiling Semantic SemanticString+Transformation.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 |
[31/51] 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 |
[32/51] 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 |
[33/51] Compiling Semantic VisibilityCondition.swift
[34/51] Compiling Semantic VisibilityLayout.swift
[35/51] Compiling Semantic VisibilityProjection.swift
[36/51] Compiling Semantic VisibilityRegion.swift
[37/51] Compiling Semantic VisibilityRegionTable.swift
[38/51] Compiling Semantic AnyComponent.swift
[39/51] Compiling Semantic Argument.swift
[40/51] Compiling Semantic Block.swift
[41/51] Compiling Semantic Comment.swift
[42/51] Compiling Semantic Conditional.swift
[43/51] Compiling Semantic Error.swift
[44/51] Compiling Semantic MemberName.swift
[45/51] Compiling Semantic Numeric.swift
[46/51] Compiling Semantic Other.swift
[47/51] Compiling Semantic PlainAtomicComponentConformances.swift
[48/51] Compiling Semantic Standard.swift
[49/51] Compiling Semantic TypeDeclaration.swift
[50/51] Emitting module OutputTransformer
BUILD FAILURE 6.2 wasm