The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwinjectMacros, reference 1.0.2 (2931d3), with Swift 6.1 for Wasm on 5 Aug 2025 16:40:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 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.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-4609320-1":/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
[7545/80629] Fetching swinject, swift-syntax
Fetched https://github.com/Swinject/Swinject.git from cache (8.43s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.57s)
Computing version for https://github.com/Swinject/Swinject.git
Computed https://github.com/Swinject/Swinject.git at 2.9.1 (9.57s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 509.0.0 (3.66s)
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/Container.Arguments.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/ServiceEntry.TypeForwarding.erb
[1/1] Compiling plugin SwinjectBuildPlugin
Building for debugging...
[1/48] Write sources
[23/48] Write swift-version-24593BA9C3E375BF.txt
[25/96] Emitting module SwiftSyntax509
[26/96] Compiling SwiftSyntax509 Empty.swift
[27/97] Emitting module SwiftSyntax509
[28/97] Compiling SwiftSyntax509 Empty.swift
[30/98] Wrapping AST for SwiftSyntax509 for debugging
[33/188] Compiling SwiftSyntax RawSyntax.swift
[34/188] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[35/188] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[36/190] Compiling SwiftSyntax BumpPtrAllocator.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()
[37/190] Compiling SwiftSyntax CommonAncestor.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()
[38/190] Compiling SwiftSyntax Convenience.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()
[39/190] Compiling SwiftSyntax MemoryLayout.swift
[40/190] Compiling SwiftSyntax MissingNodeInitializers.swift
[41/190] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[42/190] Compiling Swinject UnavailableItems.swift
[43/190] Compiling Swinject _Resolver.swift
[44/190] Compiling SwiftSyntax RawSyntaxTokenView.swift
[45/190] Compiling SwiftSyntax SourceLength.swift
[46/190] Compiling SwiftSyntax SourceLocation.swift
[47/190] Compiling SwiftSyntax SourcePresence.swift
[48/190] Compiling SwiftSyntax AbsolutePosition.swift
[49/190] Compiling SwiftSyntax Assert.swift
[50/190] Compiling SwiftSyntax SyntaxCollection.swift
[51/190] Compiling SwiftSyntax SyntaxData.swift
[52/190] Compiling SwiftSyntax SyntaxText.swift
[53/190] Emitting module Swinject
[54/190] Compiling SwiftSyntax Syntax.swift
[55/190] Compiling SwiftSyntax SyntaxArena.swift
[56/190] Compiling SwiftSyntax SyntaxChildren.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/Container.Arguments.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Info.plist
    /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/PrivacyInfo.xcprivacy
[0/1] Planning build
[1/1] Compiling plugin SwinjectBuildPlugin
Building for debugging...
[1/26] Write swift-version-24593BA9C3E375BF.txt
[3/74] Emitting module SwiftSyntax509
[4/74] Compiling SwiftSyntax509 Empty.swift
[6/75] Emitting module SwiftSyntax509
[7/75] Compiling SwiftSyntax509 Empty.swift
[8/75] Compiling Swinject ObjectScope.Standard.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()
[9/75] Compiling Swinject ObjectScope.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()
[10/75] Compiling Swinject ReadWriteLock.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()
[12/76] Emitting module Swinject
[13/76] Compiling Swinject GraphIdentifier.swift
[14/76] Compiling Swinject InstanceStorage.swift
[15/76] Compiling Swinject InstanceWrapper.swift
[16/121] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[17/121] Compiling SwiftSyntax TokenDiagnostic.swift
[18/121] Emitting module Swinject
[19/123] Compiling Swinject UnavailableItems.swift
[20/123] Compiling Swinject _Resolver.swift
[21/123] Compiling SwiftSyntax SyntaxCollection.swift
[22/123] Compiling SwiftSyntax SyntaxData.swift
[23/123] Compiling SwiftSyntax SyntaxText.swift
[24/123] Compiling SwiftSyntax Syntax.swift
[25/123] Compiling SwiftSyntax SyntaxArena.swift
[26/123] Compiling SwiftSyntax SyntaxChildren.swift
[27/168] Compiling SwiftSyntax AbsolutePosition.swift
[28/168] Compiling SwiftSyntax Assert.swift
[29/168] Compiling SwiftSyntax BumpPtrAllocator.swift
[30/168] Compiling SwiftSyntax MissingNodeInitializers.swift
[31/168] Compiling SwiftSyntax RawSyntax.swift
[32/168] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[33/168] Compiling SwiftSyntax CommonAncestor.swift
[34/168] Compiling SwiftSyntax Convenience.swift
[35/168] Compiling SwiftSyntax MemoryLayout.swift
BUILD FAILURE 6.1 wasm