The Swift Package Index logo.Swift Package Index

Build Information

Failed to build fluent-kit, reference main (ec0940), with Swift 6.1 for Wasm on 27 Mar 2026 20:31:54 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/fluent-kit.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/vapor/fluent-kit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ec09409 Enable `Foo.query(on:).set(\.$foo.$bar, to: baz).update()` with `@Group` properties (#652)
Cloned https://github.com/vapor/fluent-kit.git
Revision (git rev-parse @):
ec094096d715593c4944cb9aeb72a633faa82918
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/fluent-kit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor/fluent-kit.git
https://github.com/vapor/fluent-kit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.81.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "sql-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.32.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/sql-kit.git"
    },
    {
      "identity" : "swift-distributed-tracing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-distributed-tracing.git"
    },
    {
      "identity" : "swift-service-context",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-service-context.git"
    },
    {
      "identity" : "swift-service-lifecycle",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.9.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-service-lifecycle.git"
    }
  ],
  "manifest_display_name" : "fluent-kit",
  "name" : "fluent-kit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "FluentKit",
      "targets" : [
        "FluentKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FluentBenchmark",
      "targets" : [
        "FluentBenchmark"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FluentSQL",
      "targets" : [
        "FluentSQL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "XCTFluent",
      "targets" : [
        "XCTFluent"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCTFluent",
      "module_type" : "SwiftTarget",
      "name" : "XCTFluent",
      "path" : "Sources/XCTFluent",
      "product_dependencies" : [
        "NIOEmbedded"
      ],
      "product_memberships" : [
        "XCTFluent"
      ],
      "sources" : [
        "DummyDatabase.swift",
        "TestDatabase.swift"
      ],
      "target_dependencies" : [
        "FluentKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FluentSQL",
      "module_type" : "SwiftTarget",
      "name" : "FluentSQL",
      "path" : "Sources/FluentSQL",
      "product_dependencies" : [
        "SQLKit"
      ],
      "product_memberships" : [
        "FluentBenchmark",
        "FluentSQL"
      ],
      "sources" : [
        "ConverterUtilities.swift",
        "DatabaseQuery+SQL.swift",
        "DatabaseSchema+SQL.swift",
        "Exports.swift",
        "SQLDatabase+Model+Concurrency.swift",
        "SQLDatabase+Model.swift",
        "SQLJSONColumnPath+Deprecated.swift",
        "SQLList+Deprecated.swift",
        "SQLQualifiedTable+Deprecated.swift",
        "SQLQueryConverter.swift",
        "SQLSchemaConverter.swift"
      ],
      "target_dependencies" : [
        "FluentKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FluentKitTests",
      "module_type" : "SwiftTarget",
      "name" : "FluentKitTests",
      "path" : "Tests/FluentKitTests",
      "product_dependencies" : [
        "InMemoryTracing"
      ],
      "sources" : [
        "AsyncTests/AsyncFilterQueryTests.swift",
        "AsyncTests/AsyncFluentKitTests.swift",
        "AsyncTests/AsyncQueryBuilderTests.swift",
        "CompositeIDTests.swift",
        "DummyDatabaseForTestSQLSerializer.swift",
        "FilterQueryTests.swift",
        "FluentKitTests.swift",
        "OptionalEnumQueryTests.swift",
        "OptionalFieldQueryTests.swift",
        "QueryBuilderTests.swift",
        "SQLTests.swift",
        "TestUtilities.swift",
        "TracingTests.swift"
      ],
      "target_dependencies" : [
        "FluentBenchmark",
        "FluentSQL",
        "XCTFluent"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FluentKit",
      "module_type" : "SwiftTarget",
      "name" : "FluentKit",
      "path" : "Sources/FluentKit",
      "product_dependencies" : [
        "NIO",
        "NIOConcurrencyHelpers",
        "NIOCore",
        "NIOPosix",
        "Logging",
        "SQLKit",
        "Tracing",
        "ServiceContextModule",
        "ServiceLifecycle"
      ],
      "product_memberships" : [
        "FluentKit",
        "FluentBenchmark",
        "FluentSQL",
        "XCTFluent"
      ],
      "sources" : [
        "Concurrency/AsyncMigration.swift",
        "Concurrency/AsyncModelMiddleware.swift",
        "Concurrency/Children+Concurrency.swift",
        "Concurrency/Database+Concurrency.swift",
        "Concurrency/EnumBuilder+Concurrency.swift",
        "Concurrency/Model+Concurrency.swift",
        "Concurrency/ModelResponder+Concurrency.swift",
        "Concurrency/OptionalChild+Concurrency.swift",
        "Concurrency/OptionalParent+Concurrency.swift",
        "Concurrency/Parent+Concurrency.swift",
        "Concurrency/QueryBuilder+Concurrency.swift",
        "Concurrency/Relation+Concurrency.swift",
        "Concurrency/SchemaBuilder+Concurrency.swift",
        "Concurrency/Siblings+Concurrency.swift",
        "Database/Database+Logging.swift",
        "Database/Database.swift",
        "Database/DatabaseID.swift",
        "Database/DatabaseInput.swift",
        "Database/DatabaseOutput.swift",
        "Database/Databases.swift",
        "Database/KeyPrefixingStrategy.swift",
        "Database/TransactionControlDatabase.swift",
        "Enum/DatabaseEnum.swift",
        "Enum/EnumBuilder.swift",
        "Enum/EnumMetadata.swift",
        "Enum/EnumProperty.swift",
        "Enum/OptionalEnumProperty.swift",
        "Exports.swift",
        "FluentError.swift",
        "Middleware/ModelMiddleware.swift",
        "Middleware/ModelResponder.swift",
        "Migration/Migration.swift",
        "Migration/MigrationLog.swift",
        "Migration/Migrations.swift",
        "Migration/Migrator.swift",
        "Model/AnyModel.swift",
        "Model/EagerLoad.swift",
        "Model/Fields+Codable.swift",
        "Model/Fields.swift",
        "Model/MirrorBypass.swift",
        "Model/Model+CRUD.swift",
        "Model/Model.swift",
        "Model/ModelAlias.swift",
        "Model/Schema.swift",
        "Operators/FieldOperators.swift",
        "Operators/Operators.swift",
        "Operators/ValueOperators+Array.swift",
        "Operators/ValueOperators+String.swift",
        "Operators/ValueOperators.swift",
        "Properties/Boolean.swift",
        "Properties/BooleanPropertyFormat.swift",
        "Properties/Children.swift",
        "Properties/CompositeChildren.swift",
        "Properties/CompositeID.swift",
        "Properties/CompositeOptionalChild.swift",
        "Properties/CompositeOptionalParent.swift",
        "Properties/CompositeParent.swift",
        "Properties/Field.swift",
        "Properties/FieldKey.swift",
        "Properties/Group.swift",
        "Properties/ID.swift",
        "Properties/OptionalBoolean.swift",
        "Properties/OptionalChild.swift",
        "Properties/OptionalField.swift",
        "Properties/OptionalParent.swift",
        "Properties/Parent.swift",
        "Properties/Property.swift",
        "Properties/Relation.swift",
        "Properties/Siblings.swift",
        "Properties/Timestamp.swift",
        "Properties/TimestampFormat.swift",
        "Query/Builder/QueryBuilder+Aggregate.swift",
        "Query/Builder/QueryBuilder+EagerLoad.swift",
        "Query/Builder/QueryBuilder+Filter.swift",
        "Query/Builder/QueryBuilder+Group.swift",
        "Query/Builder/QueryBuilder+Join+DirectRelations.swift",
        "Query/Builder/QueryBuilder+Join.swift",
        "Query/Builder/QueryBuilder+Paginate.swift",
        "Query/Builder/QueryBuilder+Range.swift",
        "Query/Builder/QueryBuilder+Set.swift",
        "Query/Builder/QueryBuilder+Sort.swift",
        "Query/Builder/QueryBuilder.swift",
        "Query/Database/DatabaseQuery+Action.swift",
        "Query/Database/DatabaseQuery+Aggregate.swift",
        "Query/Database/DatabaseQuery+Field.swift",
        "Query/Database/DatabaseQuery+Filter.swift",
        "Query/Database/DatabaseQuery+Join.swift",
        "Query/Database/DatabaseQuery+Range.swift",
        "Query/Database/DatabaseQuery+Sort.swift",
        "Query/Database/DatabaseQuery+Value.swift",
        "Query/Database/DatabaseQuery.swift",
        "Query/QueryHistory.swift",
        "Schema/DatabaseSchema.swift",
        "Schema/SchemaBuilder.swift",
        "Utilities/OptionalType.swift",
        "Utilities/RandomGeneratable.swift",
        "Utilities/SomeCodingKey.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FluentBenchmark",
      "module_type" : "SwiftTarget",
      "name" : "FluentBenchmark",
      "path" : "Sources/FluentBenchmark",
      "product_dependencies" : [
        "SQLKit",
        "SQLKitBenchmark"
      ],
      "product_memberships" : [
        "FluentBenchmark"
      ],
      "sources" : [
        "Exports.swift",
        "FluentBenchmarker.swift",
        "SolarSystem/GalacticJurisdiction.swift",
        "SolarSystem/Galaxy.swift",
        "SolarSystem/Governor.swift",
        "SolarSystem/Jurisdiction.swift",
        "SolarSystem/Moon.swift",
        "SolarSystem/Planet.swift",
        "SolarSystem/PlanetTag.swift",
        "SolarSystem/SolarSystem.swift",
        "SolarSystem/Star.swift",
        "SolarSystem/Tag.swift",
        "Tests/AggregateTests.swift",
        "Tests/ArrayTests.swift",
        "Tests/BatchTests.swift",
        "Tests/CRUDTests.swift",
        "Tests/ChildTests.swift",
        "Tests/ChildrenTests.swift",
        "Tests/ChunkTests.swift",
        "Tests/CodableTests.swift",
        "Tests/CompositeIDTests.swift",
        "Tests/CompositeRelationTests.swift",
        "Tests/EagerLoadTests.swift",
        "Tests/EnumTests.swift",
        "Tests/FilterTests.swift",
        "Tests/GroupTests.swift",
        "Tests/IDTests.swift",
        "Tests/JoinTests.swift",
        "Tests/MiddlewareTests.swift",
        "Tests/MigratorTests.swift",
        "Tests/ModelTests.swift",
        "Tests/OptionalParentTests.swift",
        "Tests/PaginationTests.swift",
        "Tests/ParentTests.swift",
        "Tests/PerformanceTests+Siblings.swift",
        "Tests/PerformanceTests.swift",
        "Tests/RangeTests.swift",
        "Tests/SQLTests.swift",
        "Tests/SchemaTests.swift",
        "Tests/SetTests.swift",
        "Tests/SiblingsTests.swift",
        "Tests/SoftDeleteTests.swift",
        "Tests/SortTests.swift",
        "Tests/TimestampTests.swift",
        "Tests/TransactionTests.swift",
        "Tests/UniqueTests.swift"
      ],
      "target_dependencies" : [
        "FluentKit",
        "FluentSQL"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/5691] Fetching swift-distributed-tracing
[115/6901] Fetching swift-distributed-tracing, swift-service-context
[2577/9587] Fetching swift-distributed-tracing, swift-service-context, swift-service-lifecycle
[2873/15784] Fetching swift-distributed-tracing, swift-service-context, swift-service-lifecycle, sql-kit
[4766/22071] Fetching swift-distributed-tracing, swift-service-context, swift-service-lifecycle, sql-kit, swift-log
Fetched https://github.com/apple/swift-service-context.git from cache (0.66s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.67s)
[1/82947] Fetching swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.73s)
Fetched https://github.com/apple/swift-log.git from cache (0.73s)
Fetched https://github.com/vapor/sql-kit.git from cache (7.32s)
Fetched https://github.com/apple/swift-nio.git from cache (7.46s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.10.1 (8.05s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6224] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.43s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (1.02s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.58s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.71s)
Fetching https://github.com/apple/swift-collections.git
[1/23214] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.69s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.35.0 (2.23s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.61s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.86s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (1.05s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[1821/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.53s)
Fetched https://github.com/apple/swift-system.git from cache (0.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.09s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.65s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.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.10.1
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.3
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.4.1
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.35.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
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.3.0
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.10.1
Building for debugging...
[0/44] Write sources
[28/44] Compiling CNIOWASI CNIOWASI.c
[29/44] Compiling CNIOWindows shim.c
[30/44] Compiling _CWASI _CWASI.c
[31/44] Compiling CNIOPosix event_loop_id.c
[32/44] Compiling CNIOOpenBSD shim.c
[33/44] Compiling CNIOWindows WSAStartup.c
[34/44] Compiling _AtomicsShims.c
[35/44] Write sources
[38/44] Compiling CNIOLinux shim.c
[39/44] Compiling CNIODarwin shim.c
[40/44] Compiling CNIOLinux liburing_shims.c
[41/44] Write swift-version-24593BA9C3E375BF.txt
[43/79] Emitting module Logging
[43/79] Compiling c-nioatomics.c
[45/97] Compiling _NIODataStructures _TinyArray.swift
[46/97] Compiling ServiceContextModule ServiceContextKey.swift
[47/97] Compiling Atomics AtomicReference.swift
[48/97] Compiling Atomics UnsafeAtomic.swift
[49/99] Compiling _NIODataStructures PriorityQueue.swift
[50/99] Compiling Atomics UnsafeAtomicLazyReference.swift
[51/99] Compiling Atomics IntegerConformances.swift
[52/99] Compiling Atomics PointerConformances.swift
[53/99] Compiling Atomics Primitives.native.swift
[54/99] Compiling _NIOBase64 Base64.swift
[55/99] Emitting module _NIOBase64
[56/99] Compiling Atomics OptionalRawRepresentable.swift
[57/99] Compiling Atomics RawRepresentable.swift
[58/99] Compiling Atomics AtomicBool.swift
[59/99] Compiling Atomics AtomicValue.swift
[60/99] Compiling Atomics AtomicMemoryOrderings.swift
[61/99] Compiling Atomics DoubleWord.swift
[62/99] Compiling Atomics AtomicInteger.swift
[63/99] Compiling Atomics AtomicOptionalWrappable.swift
[64/99] 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) }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[65/99] 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) }
[66/99] 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 |
[67/100] Emitting module InternalCollectionsUtilities
[68/100] Compiling Atomics ManagedAtomic.swift
[69/100] Compiling Atomics ManagedAtomicLazyReference.swift
[70/100] Compiling Atomics AtomicStorage.swift
[71/100] Compiling Logging LogHandler.swift
[72/100] Emitting module ServiceContextModule
[73/100] Compiling ServiceContextModule ServiceContext.swift
[73/100] Compiling c-atomics.c
[74/100] Emitting module _NIODataStructures
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
[2/55] 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 |
[3/55] Emitting module _NIOBase64
[4/55] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[5/55] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[6/57] 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) }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/57] 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) }
[8/57] Compiling _NIODataStructures PriorityQueue.swift
[8/57] Compiling c-atomics.c
BUILD FAILURE 6.1 wasm