Build Information
Failed to build SwinjectMacros, reference 1.0.2 (2931d3), with Swift 6.3 for Wasm on 16 Apr 2026 16:40:59 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brunogama/SwinjectMacros.git
Reference: 1.0.2
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/brunogama/SwinjectMacros
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at 2931d35 Merge pull request #6 from brunogama/chore/update-version-1.0.2
Cloned https://github.com/brunogama/SwinjectMacros.git
Revision (git rev-parse @):
2931d357e333163dd443bceabb63af03aa507018
SUCCESS checkout https://github.com/brunogama/SwinjectMacros.git at 1.0.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/brunogama/SwinjectMacros.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/swiftlang/swift-syntax.git
Fetching https://github.com/Swinject/Swinject.git
[1/9328] Fetching swinject
Fetched https://github.com/Swinject/Swinject.git from cache (0.60s)
[1/74985] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.39s)
Computing version for https://github.com/Swinject/Swinject.git
Computed https://github.com/Swinject/Swinject.git at 2.9.1 (11.75s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 509.0.0 (3.18s)
Creating working copy for https://github.com/Swinject/Swinject.git
Working copy of https://github.com/Swinject/Swinject.git resolved at 2.9.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 509.0.0
warning: 'swinject': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Resolver.erb
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.erb
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Info.plist
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ServiceEntry.TypeForwarding.erb
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/PrivacyInfo.xcprivacy
[1/1] Compiling plugin SwinjectBuildPlugin
Building for debugging...
[1/48] Write sources
[23/48] Write swift-version-24593BA9C3E375BF.txt
[25/96] Emitting module Swinject
[26/98] Emitting module SwiftSyntax509
[27/98] Compiling SwiftSyntax509 Empty.swift
[29/99] Compiling Swinject Container.swift
[30/99] Compiling Swinject DebugHelper.swift
[31/99] Compiling Swinject FunctionType.swift
[32/99] Compiling Swinject UnavailableItems.swift
[33/99] Compiling Swinject _Resolver.swift
[33/99] Wrapping AST for SwiftSyntax509 for debugging
[35/102] Emitting module SwiftSyntax509
[36/103] Compiling SwiftSyntax509 Empty.swift
[37/145] Wrapping AST for SwiftSyntax509 for debugging
[39/145] Emitting module Swinject
[40/145] Compiling SwiftSyntax AbsolutePosition.swift
[41/145] Compiling SwiftSyntax Assert.swift
[42/145] Compiling SwiftSyntax BumpPtrAllocator.swift
[43/192] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[44/192] Compiling SwiftSyntax TokenDiagnostic.swift
[45/192] Compiling SwiftSyntax AbsolutePosition.swift
[46/192] Compiling SwiftSyntax Assert.swift
[47/192] Compiling SwiftSyntax BumpPtrAllocator.swift
[48/192] Compiling SwiftSyntax CommonAncestor.swift
[49/192] Compiling SwiftSyntax Convenience.swift
[50/192] Compiling SwiftSyntax MemoryLayout.swift
[51/192] Compiling SwiftSyntax MissingNodeInitializers.swift
[59/204] Compiling SwiftSyntax SyntaxText.swift
[62/204] Compiling SwiftSyntax TokenSyntax.swift
[63/204] Compiling SwiftSyntax Trivia.swift
[64/204] Compiling SwiftSyntax Utils.swift
[65/204] Compiling SwiftSyntax SourceLocation.swift
[66/204] Compiling SwiftSyntax SourcePresence.swift
[67/204] Compiling SwiftSyntax ChildNameForKeyPath.swift
[74/204] Compiling SwiftSyntax Keyword.swift
[75/204] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[76/204] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[77/204] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[78/204] Compiling SwiftSyntax RawSyntaxTokenView.swift
[79/204] Compiling SwiftSyntax SourceLength.swift
[80/204] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[81/204] Compiling SwiftSyntax SyntaxBaseNodes.swift
[85/205] Compiling SwiftSyntax RawSyntax.swift
[86/205] Compiling SwiftSyntax RawSyntaxLayoutView.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:9: error: cannot find 'pthread_rwlock_init' in scope
9 |
10 | init() {
11 | pthread_rwlock_init(&lock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:36: error: 'nil' requires a contextual type
9 |
10 | init() {
11 | pthread_rwlock_init(&lock, nil)
| `- error: 'nil' requires a contextual type
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:15:9: error: cannot find 'pthread_rwlock_destroy' in scope
13 |
14 | deinit {
15 | pthread_rwlock_destroy(&lock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
16 | }
17 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:19:9: error: cannot find 'pthread_rwlock_rdlock' in scope
17 |
18 | @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 | pthread_rwlock_rdlock(&lock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
20 | defer { pthread_rwlock_unlock(&lock) }
21 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:20:17: error: cannot find 'pthread_rwlock_unlock' in scope
18 | @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 | pthread_rwlock_rdlock(&lock)
20 | defer { pthread_rwlock_unlock(&lock) }
| `- error: cannot find 'pthread_rwlock_unlock' in scope
21 |
22 | return try block()
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:26:9: error: cannot find 'pthread_rwlock_wrlock' in scope
24 |
25 | @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 | pthread_rwlock_wrlock(&lock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
27 | defer { pthread_rwlock_unlock(&lock) }
28 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:27:17: error: cannot find 'pthread_rwlock_unlock' in scope
25 | @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 | pthread_rwlock_wrlock(&lock)
27 | defer { pthread_rwlock_unlock(&lock) }
| `- error: cannot find 'pthread_rwlock_unlock' in scope
28 |
29 | return try block()
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:9: error: cannot find 'pthread_rwlock_init' in scope
9 |
10 | init() {
11 | pthread_rwlock_init(&lock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:36: error: 'nil' requires a contextual type
9 |
10 | init() {
11 | pthread_rwlock_init(&lock, nil)
| `- error: 'nil' requires a contextual type
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:15:9: error: cannot find 'pthread_rwlock_destroy' in scope
13 |
14 | deinit {
15 | pthread_rwlock_destroy(&lock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
16 | }
17 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:19:9: error: cannot find 'pthread_rwlock_rdlock' in scope
17 |
18 | @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 | pthread_rwlock_rdlock(&lock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
20 | defer { pthread_rwlock_unlock(&lock) }
21 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:20:17: error: cannot find 'pthread_rwlock_unlock' in scope
18 | @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 | pthread_rwlock_rdlock(&lock)
20 | defer { pthread_rwlock_unlock(&lock) }
| `- error: cannot find 'pthread_rwlock_unlock' in scope
21 |
22 | return try block()
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:26:9: error: cannot find 'pthread_rwlock_wrlock' in scope
24 |
25 | @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 | pthread_rwlock_wrlock(&lock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
27 | defer { pthread_rwlock_unlock(&lock) }
28 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:27:17: error: cannot find 'pthread_rwlock_unlock' in scope
25 | @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 | pthread_rwlock_wrlock(&lock)
27 | defer { pthread_rwlock_unlock(&lock) }
| `- error: cannot find 'pthread_rwlock_unlock' in scope
28 |
29 | return try block()
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:9: error: cannot find 'pthread_rwlock_init' in scope
9 |
10 | init() {
11 | pthread_rwlock_init(&lock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:36: error: 'nil' requires a contextual type
9 |
10 | init() {
11 | pthread_rwlock_init(&lock, nil)
| `- error: 'nil' requires a contextual type
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:15:9: error: cannot find 'pthread_rwlock_destroy' in scope
13 |
14 | deinit {
15 | pthread_rwlock_destroy(&lock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
16 | }
17 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:19:9: error: cannot find 'pthread_rwlock_rdlock' in scope
17 |
18 | @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 | pthread_rwlock_rdlock(&lock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
20 | defer { pthread_rwlock_unlock(&lock) }
21 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:20:17: error: cannot find 'pthread_rwlock_unlock' in scope
18 | @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 | pthread_rwlock_rdlock(&lock)
20 | defer { pthread_rwlock_unlock(&lock) }
| `- error: cannot find 'pthread_rwlock_unlock' in scope
21 |
22 | return try block()
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:26:9: error: cannot find 'pthread_rwlock_wrlock' in scope
24 |
25 | @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 | pthread_rwlock_wrlock(&lock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
27 | defer { pthread_rwlock_unlock(&lock) }
28 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:27:17: error: cannot find 'pthread_rwlock_unlock' in scope
25 | @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 | pthread_rwlock_wrlock(&lock)
27 | defer { pthread_rwlock_unlock(&lock) }
| `- error: cannot find 'pthread_rwlock_unlock' in scope
28 |
29 | return try block()
BUILD FAILURE 6.3 wasm