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 grpc-swift-extras, reference 2.1.1 (7ab4a6), with Swift 6.2 for Wasm on 25 Nov 2025 21:28:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grpc/grpc-swift-extras.git
Reference: 2.1.1
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/grpc/grpc-swift-extras
 * tag               2.1.1      -> FETCH_HEAD
HEAD is now at 7ab4a69 Fix a number of OTel tracing issues (#60)
Cloned https://github.com/grpc/grpc-swift-extras.git
Revision (git rev-parse @):
7ab4a690ac09696689a9c4b99320af7ef809bb3d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/grpc/grpc-swift-extras.git at 2.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/grpc/grpc-swift-extras.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/grpc/grpc-swift-protobuf.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/grpc/grpc-swift-2.git
[1/2568] Fetching swift-service-lifecycle
[2569/8134] Fetching swift-service-lifecycle, swift-distributed-tracing
[2792/38077] Fetching swift-service-lifecycle, swift-distributed-tracing, grpc-swift-2
[3350/40454] Fetching swift-service-lifecycle, swift-distributed-tracing, grpc-swift-2, grpc-swift-protobuf
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.57s)
[10222/37886] Fetching swift-distributed-tracing, grpc-swift-2, grpc-swift-protobuf
[37887/79334] Fetching swift-distributed-tracing, grpc-swift-2, grpc-swift-protobuf, swift-protobuf
Fetched https://github.com/grpc/grpc-swift-protobuf.git from cache (2.37s)
[42556/76957] Fetching swift-distributed-tracing, grpc-swift-2, swift-protobuf
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (2.37s)
[37404/71391] Fetching grpc-swift-2, swift-protobuf
Fetched https://github.com/grpc/grpc-swift-2.git from cache (2.40s)
[7876/41448] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (8.57s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (9.03s)
Fetching https://github.com/apple/swift-service-context.git
[1/1162] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.24s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (0.64s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/5075] Fetching swift-log
[1270/10789] Fetching swift-log, swift-async-algorithms
Fetched https://github.com/apple/swift-log.git from cache (0.42s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.47s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.0 (1.06s)
Fetching https://github.com/apple/swift-collections.git
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.45s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.1.1 (1.95s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.2.0 (0.43s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.63s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (0.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.36s)
Creating working copy for https://github.com/grpc/grpc-swift-protobuf.git
Working copy of https://github.com/grpc/grpc-swift-protobuf.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.0
Creating working copy for https://github.com/grpc/grpc-swift-2.git
Working copy of https://github.com/grpc/grpc-swift-2.git resolved at 2.2.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.1
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.33.3
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:9:14: warning: associated value 'invalidTarget' of 'Sendable'-conforming enum 'PluginError' has non-Sendable type 'any Target'
  7 |     enum PluginError: Error, CustomStringConvertible {
  8 |         /// Indicates that the target where the plugin was applied to was not `SourceModuleTarget`.
  9 |         case invalidTarget(Target)
    |              `- warning: associated value 'invalidTarget' of 'Sendable'-conforming enum 'PluginError' has non-Sendable type 'any Target'
 10 |         /// Indicates that the file extension of an input file was not `.proto`.
 11 |         case invalidInputFileExtension(String)
PackagePlugin.Target:1:17: note: protocol 'Target' does not conform to the 'Sendable' protocol
 1 | public protocol Target {
   |                 `- note: protocol 'Target' does not conform to the 'Sendable' protocol
 2 |     var id: Self.ID { get }
 3 |     typealias ID = String
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'PackagePlugin' as warnings
  1 | import Foundation
  2 | import PackagePlugin
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'PackagePlugin' as warnings
  3 |
  4 | @main
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:9:14: warning: associated value 'invalidTarget' of 'Sendable'-conforming enum 'PluginError' has non-Sendable type 'any Target'
  7 |     enum PluginError: Error, CustomStringConvertible {
  8 |         /// Indicates that the target where the plugin was applied to was not `SourceModuleTarget`.
  9 |         case invalidTarget(Target)
    |              `- warning: associated value 'invalidTarget' of 'Sendable'-conforming enum 'PluginError' has non-Sendable type 'any Target'
 10 |         /// Indicates that the file extension of an input file was not `.proto`.
 11 |         case invalidInputFileExtension(String)
PackagePlugin.Target:1:17: note: protocol 'Target' does not conform to the 'Sendable' protocol
 1 | public protocol Target {
   |                 `- note: protocol 'Target' does not conform to the 'Sendable' protocol
 2 |     var id: Self.ID { get }
 3 |     typealias ID = String
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'PackagePlugin' as warnings
  1 | import Foundation
  2 | import PackagePlugin
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'PackagePlugin' as warnings
  3 |
  4 | @main
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:117:24: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
115 |             let configurationFilePath = sourceFiles.first(
116 |                 where: {
117 |                     $0.path.lastComponent == Self.configurationFileName
    |                        |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
    |                        `- note: use 'url' instead
118 |                 }
119 |             )?.path
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:117:29: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
115 |             let configurationFilePath = sourceFiles.first(
116 |                 where: {
117 |                     $0.path.lastComponent == Self.configurationFileName
    |                             `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
118 |                 }
119 |             )?.path
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:119:16: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
117 |                     $0.path.lastComponent == Self.configurationFileName
118 |                 }
119 |             )?.path
    |                |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
    |                `- note: use 'url' instead
120 |         else {
121 |             throw PluginError.noConfigFound(Self.configurationFileName)
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:123:64: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
121 |             throw PluginError.noConfigFound(Self.configurationFileName)
122 |         }
123 |         let data = try Data(contentsOf: URL(fileURLWithPath: "\(configurationFilePath)"))
    |                                                                `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
124 |         let configuration = try JSONDecoder().decode(Configuration.self, from: data)
125 |         try validateConfiguration(configuration)
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:131:26: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
129 |         if let configuredProtocPath = configuration.protocPath {
130 |             // The user set the config path in the file. So let's take that
131 |             protocPath = Path(configuredProtocPath)
    |                          `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
132 |         } else if let environmentPath = ProcessInfo.processInfo.environment["PROTOC_PATH"] {
133 |             // The user set the env variable. So let's take that
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:134:26: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
132 |         } else if let environmentPath = ProcessInfo.processInfo.environment["PROTOC_PATH"] {
133 |             // The user set the env variable. So let's take that
134 |             protocPath = Path(environmentPath)
    |                          `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
135 |         } else {
136 |             // The user didn't set anything so let's try see if SPM can find a binary for us
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:137:45: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
135 |         } else {
136 |             // The user didn't set anything so let's try see if SPM can find a binary for us
137 |             protocPath = try tool("protoc").path
    |                                             |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
    |                                             `- note: use 'url' instead
138 |         }
139 |         let protocGenSwiftPath = try tool("protoc-gen-swift").path
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:139:63: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
137 |             protocPath = try tool("protoc").path
138 |         }
139 |         let protocGenSwiftPath = try tool("protoc-gen-swift").path
    |                                                               |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
    |                                                               `- note: use 'url' instead
140 |
141 |         return configuration.invocations.map { invocation in
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:143:50: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
141 |         return configuration.invocations.map { invocation in
142 |             self.invokeProtoc(
143 |                 directory: configurationFilePath.removingLastComponent(),
    |                                                  `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
144 |                 invocation: invocation,
145 |                 protocPath: protocPath,
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:170:41: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
168 |         // Construct the `protoc` arguments.
169 |         var protocArgs = [
170 |             "--plugin=protoc-gen-swift=\(protocGenSwiftPath)",
    |                                         `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
171 |             "--swift_out=\(outputDirectory)",
172 |         ]
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:171:27: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
169 |         var protocArgs = [
170 |             "--plugin=protoc-gen-swift=\(protocGenSwiftPath)",
171 |             "--swift_out=\(outputDirectory)",
    |                           `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
172 |         ]
173 |
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:177:29: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
175 |         // the proto files relative to it.
176 |         protocArgs.append("-I")
177 |         protocArgs.append("\(directory)")
    |                             `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
178 |
179 |         // Add the visibility if it was set
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:205:41: warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
203 |             // Append the file to the protoc args so that it is used for generating
204 |             protocArgs.append("\(file)")
205 |             inputFiles.append(directory.appending(file))
    |                                         `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
206 |
207 |             // The name of the output file is based on the name of the input file.
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:212:54: warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
210 |             file.removeLast(5)
211 |             file.append("pb.swift")
212 |             let protobufOutputPath = outputDirectory.appending(file)
    |                                                      `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
213 |
214 |             // Add the outputPath as an output file
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:221:24: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
219 |         // system know when to invoke the command. The output paths are passed on to
220 |         // the rule engine in the build system.
221 |         return Command.buildCommand(
    |                        `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
222 |             displayName: "Generating swift files from proto files",
223 |             executable: protocPath,
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Plugins/SwiftProtobufPlugin/plugin.swift:251:42: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
249 |         }
250 |         return try createBuildCommands(
251 |             pluginWorkDirectory: context.pluginWorkDirectory,
    |                                          |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
    |                                          `- note: use 'pluginWorkDirectoryURL' instead
252 |             sourceFiles: swiftTarget.sourceFiles,
253 |             tool: context.tool
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin generate-grpc-code-from-protos
[3/3] Compiling plugin GRPCProtobufGenerator
Building for debugging...
[3/25] Write sources
[12/25] Copying PrivacyInfo.xcprivacy
[12/25] Write sources
[23/25] Compiling _CWASI _CWASI.c
[24/25] Write swift-version-24593BA9C3E375BF.txt
[26/137] Emitting module Logging
[27/137] Compiling ConcurrencyHelpers Lock.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
 45 | #else
 46 | @usableFromInline
 47 | typealias LockPrimitive = pthread_mutex_t
    |                           `- error: cannot find type 'pthread_mutex_t' in scope
 48 | #endif
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
 59 |         InitializeSRWLock(mutex)
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 63 |
 64 |         let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |
 64 |         let err = pthread_mutex_init(mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 65 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 66 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
 74 |         // SRWLOCK does not need to be free'd
 75 |         #else
 76 |         let err = pthread_mutex_destroy(mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 77 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 78 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
 86 |         AcquireSRWLockExclusive(mutex)
 87 |         #else
 88 |         let err = pthread_mutex_lock(mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
 89 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 90 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
 98 |         ReleaseSRWLockExclusive(mutex)
 99 |         #else
100 |         let err = pthread_mutex_unlock(mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
101 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 |     @inlinable
137 |     static func create(value: Value) -> Self {
138 |         let buffer = Self.create(minimumCapacity: 1) { _ in
    |                           `- error: type of expression is ambiguous without a type annotation
139 |             return value
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 |     @inlinable
152 |     func lock() {
153 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
154 |             LockOperations.lock(lockPtr)
155 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 |     @inlinable
159 |     func unlock() {
160 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
161 |             LockOperations.unlock(lockPtr)
162 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 |     @inlinable
166 |     deinit {
167 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
168 |             LockOperations.destroy(lockPtr)
169 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 |     @inlinable
173 |     func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 |         try self.withUnsafeMutablePointerToElements { lockPtr in
    |                  `- error: type of expression is ambiguous without a type annotation
175 |             return try body(lockPtr)
176 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 |     @inlinable
180 |     func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 |         try self.withUnsafeMutablePointers { valuePtr, lockPtr in
    |                  `- error: type of expression is ambiguous without a type annotation
182 |             LockOperations.lock(lockPtr)
183 |             defer { LockOperations.unlock(lockPtr) }
[28/137] Compiling SwiftProtobuf BinaryDecoder.swift
[29/137] Compiling SwiftProtobuf BinaryDecodingError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/137] Emitting module ConcurrencyHelpers
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
 45 | #else
 46 | @usableFromInline
 47 | typealias LockPrimitive = pthread_mutex_t
    |                           `- error: cannot find type 'pthread_mutex_t' in scope
 48 | #endif
 49 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
 59 |         InitializeSRWLock(mutex)
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 63 |
 64 |         let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:64:19: error: cannot find 'pthread_mutex_init' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |
 64 |         let err = pthread_mutex_init(mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 65 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 66 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:76:19: error: cannot find 'pthread_mutex_destroy' in scope
 74 |         // SRWLOCK does not need to be free'd
 75 |         #else
 76 |         let err = pthread_mutex_destroy(mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 77 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 78 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
 86 |         AcquireSRWLockExclusive(mutex)
 87 |         #else
 88 |         let err = pthread_mutex_lock(mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
 89 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 90 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:100:19: error: cannot find 'pthread_mutex_unlock' in scope
 98 |         ReleaseSRWLockExclusive(mutex)
 99 |         #else
100 |         let err = pthread_mutex_unlock(mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
101 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
102 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:138:27: error: type of expression is ambiguous without a type annotation
136 |     @inlinable
137 |     static func create(value: Value) -> Self {
138 |         let buffer = Self.create(minimumCapacity: 1) { _ in
    |                           `- error: type of expression is ambiguous without a type annotation
139 |             return value
140 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:153:14: error: type of expression is ambiguous without a type annotation
151 |     @inlinable
152 |     func lock() {
153 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
154 |             LockOperations.lock(lockPtr)
155 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:160:14: error: type of expression is ambiguous without a type annotation
158 |     @inlinable
159 |     func unlock() {
160 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
161 |             LockOperations.unlock(lockPtr)
162 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:167:14: error: type of expression is ambiguous without a type annotation
165 |     @inlinable
166 |     deinit {
167 |         self.withUnsafeMutablePointerToElements { lockPtr in
    |              `- error: type of expression is ambiguous without a type annotation
168 |             LockOperations.destroy(lockPtr)
169 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:174:18: error: type of expression is ambiguous without a type annotation
172 |     @inlinable
173 |     func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
174 |         try self.withUnsafeMutablePointerToElements { lockPtr in
    |                  `- error: type of expression is ambiguous without a type annotation
175 |             return try body(lockPtr)
176 |         }
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:181:18: error: type of expression is ambiguous without a type annotation
179 |     @inlinable
180 |     func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
181 |         try self.withUnsafeMutablePointers { valuePtr, lockPtr in
    |                  `- error: type of expression is ambiguous without a type annotation
182 |             LockOperations.lock(lockPtr)
183 |             defer { LockOperations.unlock(lockPtr) }
[31/137] Compiling ConcurrencyHelpers LockedValueBox.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-lifecycle/Sources/ConcurrencyHelpers/Lock.swift:47:27: error: cannot find type 'pthread_mutex_t' in scope
 45 | #else
 46 | @usableFromInline
 47 | typealias LockPrimitive = pthread_mutex_t
    |                           `- error: cannot find type 'pthread_mutex_t' in scope
 48 | #endif
 49 |
[32/137] Compiling SwiftProtobuf AnyMessageStorage.swift
[33/137] Compiling SwiftProtobuf AnyUnpackError.swift
[34/137] Compiling SwiftProtobuf AsyncMessageSequence.swift
[35/137] Compiling SwiftProtobuf JSONDecodingError.swift
[36/137] Compiling SwiftProtobuf JSONDecodingOptions.swift
[37/137] Emitting module InternalCollectionsUtilities
[38/137] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[39/137] Compiling SwiftProtobuf JSONDecoder.swift
[40/139] Compiling ServiceContextModule ServiceContextKey.swift
[41/139] Compiling ServiceContextModule ServiceContext.swift
[42/139] Emitting module ServiceContextModule
BUILD FAILURE 6.2 wasm