Build Information
Failed to build SwinjectMacros, reference main (2931d3
), with Swift 6.1 for Wasm on 5 Aug 2025 16:38:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brunogama/SwinjectMacros.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/brunogama/SwinjectMacros
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/brunogama/SwinjectMacros.git
https://github.com/brunogama/SwinjectMacros.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"exact" : [
"509.0.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
},
{
"identity" : "swinject",
"requirement" : {
"exact" : [
"2.9.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Swinject/Swinject.git"
}
],
"manifest_display_name" : "SwinjectMacros",
"name" : "SwinjectMacros",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SwinjectMacros",
"targets" : [
"SwinjectMacros"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwinjectBuildPlugin",
"targets" : [
"SwinjectBuildPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "ServiceDiscoveryTool",
"targets" : [
"ServiceDiscoveryTool"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwinjectMacrosImplementation",
"targets" : [
"SwinjectMacrosImplementation"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "SwinjectMacrosTests",
"module_type" : "SwiftTarget",
"name" : "SwinjectMacrosTests",
"path" : "Tests/SwinjectMacrosTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport",
"Swinject"
],
"sources" : [
"APIDesignValidationTests.swift",
"APIValidationTests.swift",
"AsyncActorIntegrationTests.swift",
"AsyncEdgeCaseTests.swift",
"AutoFactoryTests.swift",
"CacheMacroTests.swift",
"CircuitBreakerMacroTests.swift",
"ComplexGenericEdgeCaseTests.swift",
"ComplexGenericTests.swift",
"EdgeCaseTests.swift",
"ErrorRecoveryTests.swift",
"InjectableTests.swift",
"InterceptorMacroTests.swift",
"InvalidUsageTests.swift",
"LazyInjectMacroTests.swift",
"MacroCompositionTests.swift",
"MemoryManagementTests.swift",
"ModuleDebugToolsMonitoringTests.swift",
"ModuleDebugToolsTests.swift",
"ModuleHotSwapTests.swift",
"ModuleLifecycleManagerTests.swift",
"ModulePerformanceOptimizerTests.swift",
"ModuleScopeTests.swift",
"ModuleSystemTests.swift",
"NameManglingTests.swift",
"PerformanceBenchmarkTests.swift",
"PerformanceRegressionTests.swift",
"PerformanceTrackedMacroTests.swift",
"PublicAPITests.swift",
"ResolverExtensionTests.swift",
"RetryMacroTests.swift",
"RuntimeIntegrationTests.swift",
"StressTests.swift",
"SwiftUIIntegrationEdgeCaseTests.swift",
"SwiftUIIntegrationTests.swift",
"TestContainerTests.swift",
"TestUtilities.swift",
"TestingMacroTests.swift"
],
"target_dependencies" : [
"SwinjectMacros",
"SwinjectMacrosImplementation"
],
"type" : "test"
},
{
"c99name" : "SwinjectMacrosImplementation",
"module_type" : "SwiftTarget",
"name" : "SwinjectMacrosImplementation",
"path" : "Sources/SwinjectMacrosImplementation",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin",
"SwiftSyntax",
"SwiftParser"
],
"product_memberships" : [
"SwinjectMacros",
"SwinjectMacrosImplementation"
],
"sources" : [
"AOP/DecoratorMacro.swift",
"Configuration/DebugContainerMacro.swift",
"Configuration/DependencyGraphMacro.swift",
"Configuration/DependencyGroupMacro.swift",
"Configuration/ServiceGroupMacro.swift",
"Configuration/ValidatedContainerMacro.swift",
"Core/AsyncInjectMacro.swift",
"Core/AutoFactory1Macro.swift",
"Core/AutoFactory2Macro.swift",
"Core/AutoFactoryMacro.swift",
"Core/AutoFactoryMultiMacro.swift",
"Core/AutoRegisterMacro.swift",
"Core/CacheMacro.swift",
"Core/CircuitBreakerMacro.swift",
"Core/InjectableMacro.swift",
"Core/InterceptorMacro.swift",
"Core/LazyInjectMacro.swift",
"Core/ModuleMacro.swift",
"Core/NamedMacro.swift",
"Core/OptionalInjectMacro.swift",
"Core/PerformanceTrackedMacro.swift",
"Core/RetryMacro.swift",
"Core/ScopedServiceMacro.swift",
"Core/TestContainerMacro.swift",
"Core/ThreadSafeMacro.swift",
"Core/WeakInjectMacro.swift",
"Plugin.swift",
"SwiftUI/EnvironmentInjectMacro.swift",
"SwiftUI/InjectedStateObjectMacro.swift",
"SwiftUI/PublisherInjectMacro.swift",
"SwiftUI/ViewModelInjectMacro.swift",
"Testing/MockResponseMacro.swift",
"Testing/SpyMacro.swift",
"Testing/StubServiceMacro.swift",
"Utilities/CodeGenerator.swift",
"Utilities/MacroUtilities.swift",
"Utilities/SyntaxExtensions.swift",
"Utilities/TypeAnalyzer.swift"
],
"type" : "macro"
},
{
"c99name" : "SwinjectMacros",
"module_type" : "SwiftTarget",
"name" : "SwinjectMacros",
"path" : "Sources/SwinjectMacros",
"product_dependencies" : [
"Swinject"
],
"product_memberships" : [
"SwinjectMacros"
],
"sources" : [
"AsyncInject.swift",
"AutoFactory.swift",
"Cache.swift",
"CircuitBreaker.swift",
"Configuration/ValidatedContainer.swift",
"DebugContainer.swift",
"Decorator.swift",
"DependencyGraph.swift",
"DependencyGraphTypes.swift",
"Injectable.swift",
"InjectedStateObject.swift",
"Interceptor.swift",
"LazyInject.swift",
"Module/Module.swift",
"Module/ModuleDebugTools.swift",
"Module/ModuleDependencyGraph.swift",
"Module/ModuleHotSwap.swift",
"Module/ModuleLifecycleManager.swift",
"Module/ModulePerformanceOptimizer.swift",
"Module/ModuleScope.swift",
"Module/ModuleSystem.swift",
"Named.swift",
"OptionalInject.swift",
"PerformanceTracked.swift",
"PublisherInject.swift",
"Retry.swift",
"ScopedService.swift",
"StubService.swift",
"SwiftUI/EnvironmentInject.swift",
"SwiftUI/ViewModelInject.swift",
"SwinJectMacros.swift",
"Testing/MockResponse.swift",
"Testing/Spy.swift",
"ThreadSafe.swift",
"Utilities/DebugLogger.swift",
"Utilities/NamedServiceRegistry.swift",
"Utilities/Resolver+Extensions.swift",
"Utilities/StringExtensions.swift",
"WeakInject.swift"
],
"target_dependencies" : [
"SwinjectMacrosImplementation"
],
"type" : "library"
},
{
"c99name" : "SwinjectBuildPlugin",
"module_type" : "PluginTarget",
"name" : "SwinjectBuildPlugin",
"path" : "Plugins/SwinjectBuildPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"SwinjectBuildPlugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"ServiceDiscoveryTool"
],
"type" : "plugin"
},
{
"c99name" : "ServiceDiscoveryTool",
"module_type" : "SwiftTarget",
"name" : "ServiceDiscoveryTool",
"path" : "Sources/ServiceDiscoveryTool",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser"
],
"product_memberships" : [
"SwinjectBuildPlugin",
"ServiceDiscoveryTool"
],
"sources" : [
"main.swift"
],
"type" : "executable"
},
{
"c99name" : "IntegrationTests",
"module_type" : "SwiftTarget",
"name" : "IntegrationTests",
"path" : "Tests/IntegrationTests",
"product_dependencies" : [
"Swinject"
],
"sources" : [
"SwinjectIntegrationTests.swift"
],
"target_dependencies" : [
"SwinjectMacros"
],
"type" : "test"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Swinject/Swinject.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/9200] Fetching swinject
[7361/80629] Fetching swinject, swift-syntax
Fetched https://github.com/Swinject/Swinject.git from cache (9.87s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.00s)
Computing version for https://github.com/Swinject/Swinject.git
Computed https://github.com/Swinject/Swinject.git at 2.9.1 (11.08s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 509.0.0 (4.08s)
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
Creating working copy for https://github.com/Swinject/Swinject.git
Working copy of https://github.com/Swinject/Swinject.git resolved at 2.9.1
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/ServiceEntry.TypeForwarding.erb
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.erb
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/PrivacyInfo.xcprivacy
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Info.plist
[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] Compiling SwiftSyntax509 Empty.swift
[27/98] Emitting module SwiftSyntax509
[28/99] Emitting module Swinject
[30/101] Compiling Swinject UnavailableItems.swift
[31/101] Compiling Swinject _Resolver.swift
[32/101] Compiling SwiftSyntax509 Empty.swift
[33/101] Emitting module SwiftSyntax509
[34/102] Compiling Swinject Assembler.swift
[35/102] Compiling Swinject Assembly.swift
[36/102] Compiling Swinject Behavior.swift
[38/102] Wrapping AST for SwiftSyntax509 for debugging
[42/192] Compiling SwiftSyntax Utils.swift
[43/192] Compiling SwiftSyntax AbsolutePosition.swift
[44/192] Compiling SwiftSyntax Assert.swift
[45/192] Compiling SwiftSyntax SyntaxData.swift
[46/192] Compiling SwiftSyntax SyntaxText.swift
[47/192] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[48/192] Compiling SwiftSyntax RawSyntax.swift
[49/192] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[50/192] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[51/192] Compiling SwiftSyntax SourcePresence.swift
[52/192] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[53/192] Compiling SwiftSyntax Syntax.swift
[54/192] Compiling SwiftSyntax TokenDiagnostic.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()
[55/192] Compiling SwiftSyntax TokenSyntax.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()
[56/192] Compiling SwiftSyntax Trivia.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()
[57/192] Compiling SwiftSyntax RawSyntaxTokenView.swift
[58/192] Compiling SwiftSyntax SourceLength.swift
[59/192] Compiling SwiftSyntax SourceLocation.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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/ServiceEntry.TypeForwarding.erb
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/PrivacyInfo.xcprivacy
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Resolver.erb
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Info.plist
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.erb
[0/1] Planning build
[1/1] Compiling plugin SwinjectBuildPlugin
Building for debugging...
[1/26] Write swift-version-24593BA9C3E375BF.txt
[3/74] Compiling SwiftSyntax509 Empty.swift
[5/74] Emitting module SwiftSyntax509
[9/119] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[10/119] Compiling SwiftSyntax RawSyntaxTokenView.swift
[11/119] Compiling SwiftSyntax SourceLength.swift
[12/119] Compiling SwiftSyntax SyntaxData.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()
[13/119] Compiling SwiftSyntax RawSyntax.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()
[14/119] 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()
[15/119] Compiling SwiftSyntax SourceLocation.swift
[16/119] Compiling SwiftSyntax SourcePresence.swift
[17/119] Compiling SwiftSyntax SyntaxText.swift
[18/166] Compiling SwiftSyntax SourcePresence.swift
[19/166] Compiling SwiftSyntax AbsolutePosition.swift
[20/166] Compiling SwiftSyntax Assert.swift
[24/168] Compiling Swinject UnavailableItems.swift
[25/168] Compiling Swinject _Resolver.swift
[28/168] Compiling SwiftSyntax RawSyntax.swift
[29/168] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[30/168] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[31/168] Emitting module Swinject
[32/168] Compiling SwiftSyntax RawSyntaxTokenView.swift
[33/168] Compiling SwiftSyntax SourceLength.swift
[34/168] Compiling SwiftSyntax SourceLocation.swift
[35/168] Compiling SwiftSyntax BumpPtrAllocator.swift
[36/168] Compiling SwiftSyntax CommonAncestor.swift
[37/168] Compiling SwiftSyntax Convenience.swift
BUILD FAILURE 6.1 wasm