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 SwinjectAutoregistration, reference master (fd9ffa), with Swift 6.1 for Wasm on 29 May 2025 12:17:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Swinject/SwinjectAutoregistration.git
Reference: master
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/Swinject/SwinjectAutoregistration
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at fd9ffae Merge pull request #91 from gizemfitoz/update-version
Cloned https://github.com/Swinject/SwinjectAutoregistration.git
Revision (git rev-parse @):
fd9ffae5f666d37b4b3c210af2e16a10598342e4
SUCCESS checkout https://github.com/Swinject/SwinjectAutoregistration.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Swinject/SwinjectAutoregistration.git
https://github.com/Swinject/SwinjectAutoregistration.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swinject",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.9.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Swinject/Swinject.git"
    }
  ],
  "manifest_display_name" : "SwinjectAutoregistration",
  "name" : "SwinjectAutoregistration",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwinjectAutoregistration",
      "targets" : [
        "SwinjectAutoregistration"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwinjectAutoregistration-Dynamic",
      "targets" : [
        "SwinjectAutoregistration"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwinjectAutoregistration",
      "module_type" : "SwiftTarget",
      "name" : "SwinjectAutoregistration",
      "path" : "Sources",
      "product_dependencies" : [
        "Swinject"
      ],
      "product_memberships" : [
        "SwinjectAutoregistration",
        "SwinjectAutoregistration-Dynamic"
      ],
      "sources" : [
        "AutoRegistration.swift",
        "CheckResolved.swift",
        "Operators.swift",
        "ResolutionError.swift",
        "Resolver.swift",
        "Type.swift",
        "TypeParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Swinject/Swinject.git
[1/9201] Fetching swinject
Fetched https://github.com/Swinject/Swinject.git from cache (0.64s)
Computing version for https://github.com/Swinject/Swinject.git
Computed https://github.com/Swinject/Swinject.git at 2.9.1 (1.55s)
Creating working copy for https://github.com/Swinject/Swinject.git
Working copy of https://github.com/Swinject/Swinject.git resolved at 2.9.1
warning: 'swinject': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Resolver.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/PrivacyInfo.xcprivacy
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Info.plist
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ServiceEntry.TypeForwarding.erb
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/29] Emitting module Swinject
[5/31] Compiling Swinject Assembler.swift
[6/31] Compiling Swinject Assembly.swift
[7/31] Compiling Swinject Behavior.swift
[8/31] Compiling Swinject UnavailableItems.swift
[9/31] Compiling Swinject _Resolver.swift
[10/31] Compiling Swinject GraphIdentifier.swift
[11/31] Compiling Swinject InstanceStorage.swift
[12/31] Compiling Swinject InstanceWrapper.swift
[13/31] 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()
[14/31] 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()
[15/31] 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()
[16/31] Compiling Swinject Container.Arguments.swift
[17/31] Compiling Swinject Container.Logging.swift
[18/31] Compiling Swinject Container.TypeForwarding.swift
[19/31] Compiling Swinject Container.swift
[20/31] Compiling Swinject DebugHelper.swift
[21/31] Compiling Swinject FunctionType.swift
[22/31] Compiling Swinject RecursiveLock.swift
[23/31] Compiling Swinject Resolver.swift
[24/31] Compiling Swinject ServiceEntry.TypeForwarding.swift
[25/31] Compiling Swinject ServiceEntry.swift
[26/31] Compiling Swinject ServiceKey.swift
[27/31] Compiling Swinject ThreadSafeDictionary.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'swinject': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ServiceEntry.TypeForwarding.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Info.plist
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/PrivacyInfo.xcprivacy
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Resolver.erb
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/27] 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()
[3/27] 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()
[4/27] 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()
[5/29] Compiling Swinject UnavailableItems.swift
[6/29] Compiling Swinject _Resolver.swift
[7/29] Emitting module Swinject
[8/29] Compiling Swinject Assembler.swift
[9/29] Compiling Swinject Assembly.swift
[10/29] Compiling Swinject Behavior.swift
[11/29] Compiling Swinject RecursiveLock.swift
[12/29] Compiling Swinject Resolver.swift
[13/29] Compiling Swinject ServiceEntry.TypeForwarding.swift
[14/29] Compiling Swinject GraphIdentifier.swift
[15/29] Compiling Swinject InstanceStorage.swift
[16/29] Compiling Swinject InstanceWrapper.swift
[17/29] Compiling Swinject ServiceEntry.swift
[18/29] Compiling Swinject ServiceKey.swift
[19/29] Compiling Swinject ThreadSafeDictionary.swift
[20/29] Compiling Swinject Container.Arguments.swift
[21/29] Compiling Swinject Container.Logging.swift
[22/29] Compiling Swinject Container.TypeForwarding.swift
[23/29] Compiling Swinject Container.swift
[24/29] Compiling Swinject DebugHelper.swift
[25/29] Compiling Swinject FunctionType.swift
BUILD FAILURE 6.1 wasm