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 TypeInferedFactory, reference main (c7e2db), with Swift 6.1 for Wasm on 30 May 2025 07:33:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brunogama/TypeInferedFactory.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/brunogama/TypeInferedFactory
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c7e2db8 Renamed factory
Cloned https://github.com/brunogama/TypeInferedFactory.git
Revision (git rev-parse @):
c7e2db852efa4ebed9f9727595aca8748532db8e
SUCCESS checkout https://github.com/brunogama/TypeInferedFactory.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/brunogama/TypeInferedFactory.git
https://github.com/brunogama/TypeInferedFactory.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "600.0.0-latest",
            "upper_bound" : "601.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    },
    {
      "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" : "TypeInferedFactory",
  "name" : "TypeInferedFactory",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "TypeInferedFactory",
      "targets" : [
        "TypeInferedFactory"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TypeInferedFactoryClient",
      "targets" : [
        "TypeInferedFactoryClient"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "TypeInferedFactoryMacros",
      "targets" : [
        "TypeInferedFactoryMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TypeInferedFactoryTests",
      "module_type" : "SwiftTarget",
      "name" : "TypeInferedFactoryTests",
      "path" : "Tests/TypeInferedFactoryTests",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "TypeInferedFactoryTests.swift"
      ],
      "target_dependencies" : [
        "TypeInferedFactoryCore",
        "TypeInferedFactoryMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TypeInferedFactoryMacros",
      "module_type" : "SwiftTarget",
      "name" : "TypeInferedFactoryMacros",
      "path" : "Sources/TypeInferedFactoryMacros",
      "product_dependencies" : [
        "SwiftCompilerPlugin",
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "SwiftDiagnostics"
      ],
      "product_memberships" : [
        "TypeInferedFactory",
        "TypeInferedFactoryClient",
        "TypeInferedFactoryMacros"
      ],
      "sources" : [
        "Models/Errors/MacroDiagnosticMessage.swift",
        "Models/Errors/TypeInferedFactoryMacroError.swift",
        "Models/PropertyData.swift",
        "TypeInferedFactoryMacro.swift"
      ],
      "target_dependencies" : [
        "TypeInferedFactoryCore"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "TypeInferedFactoryCore",
      "module_type" : "SwiftTarget",
      "name" : "TypeInferedFactoryCore",
      "path" : "Sources/TypeInferedFactoryCore",
      "product_memberships" : [
        "TypeInferedFactory",
        "TypeInferedFactoryClient",
        "TypeInferedFactoryMacros"
      ],
      "sources" : [
        "Factory/Protocols/TypeInferedFactoryBuildable.swift",
        "Factory/Protocols/TypeInferedFactoryProtocol.swift",
        "TypeInferedFactory.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TypeInferedFactoryClient",
      "module_type" : "SwiftTarget",
      "name" : "TypeInferedFactoryClient",
      "path" : "Sources/TypeInferedFactoryClient",
      "product_dependencies" : [
        "Swinject"
      ],
      "product_memberships" : [
        "TypeInferedFactoryClient"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TypeInferedFactory"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "TypeInferedFactory",
      "module_type" : "SwiftTarget",
      "name" : "TypeInferedFactory",
      "path" : "Sources/TypeInferedFactory",
      "product_memberships" : [
        "TypeInferedFactory",
        "TypeInferedFactoryClient"
      ],
      "sources" : [
        "TypeInferedFactory.swift"
      ],
      "target_dependencies" : [
        "TypeInferedFactoryMacros",
        "TypeInferedFactoryCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 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
Fetching https://github.com/swiftlang/swift-syntax.git
[1/9201] Fetching swinject
Fetched https://github.com/Swinject/Swinject.git from cache (0.84s)
[1/70452] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.83s)
Computing version for https://github.com/Swinject/Swinject.git
Computed https://github.com/Swinject/Swinject.git at 2.9.1 (8.75s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (3.33s)
Creating working copy for https://github.com/Swinject/Swinject.git
Working copy of https://github.com/Swinject/Swinject.git resolved at 2.9.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
warning: 'swinject': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/PrivacyInfo.xcprivacy
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Info.plist
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Resolver.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ServiceEntry.TypeForwarding.erb
Building for debugging...
[0/46] Write sources
[20/46] Compiling _SwiftSyntaxCShims dummy.c
[21/46] Write swift-version-24593BA9C3E375BF.txt
[23/82] Emitting module SwiftSyntax600
[24/82] Compiling SwiftSyntax600 Empty.swift
[25/83] Compiling TypeInferedFactoryCore TypeInferedFactoryBuildable.swift
[26/83] Emitting module TypeInferedFactoryCore
[27/83] Compiling TypeInferedFactoryCore TypeInferedFactory.swift
[28/83] Emitting module SwiftSyntax510
[29/83] Compiling SwiftSyntax510 Empty.swift
[30/84] Emitting module Swinject
[31/84] Compiling TypeInferedFactoryCore TypeInferedFactoryProtocol.swift
[32/86] Emitting module SwiftSyntax509
[33/86] Compiling SwiftSyntax509 Empty.swift
[34/87] Compiling TypeInferedFactoryCore TypeInferedFactory.swift
[35/87] Compiling TypeInferedFactoryCore TypeInferedFactoryProtocol.swift
[37/88] Emitting module TypeInferedFactoryCore
[38/88] Compiling TypeInferedFactoryCore TypeInferedFactoryBuildable.swift
[38/89] Wrapping AST for SwiftSyntax600 for debugging
[41/89] Compiling Swinject UnavailableItems.swift
[42/89] Compiling Swinject _Resolver.swift
[45/89] Wrapping AST for SwiftSyntax510 for debugging
[46/89] Wrapping AST for TypeInferedFactoryCore for debugging
[48/89] Wrapping AST for SwiftSyntax509 for debugging
[50/153] Compiling SwiftSyntax Convenience.swift
[51/153] Compiling SwiftSyntax CustomTraits.swift
[52/153] Compiling SwiftSyntax Identifier.swift
[53/153] Compiling SwiftSyntax SourcePresence.swift
[54/153] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[55/153] Compiling SwiftSyntax Syntax.swift
[56/153] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[57/153] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[58/153] Compiling SwiftSyntax RawSyntaxTokenView.swift
[59/153] Compiling SwiftSyntax MemoryLayout.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()
[60/153] Compiling SwiftSyntax MissingNodeInitializers.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()
[61/153] Compiling SwiftSyntax RawSyntax.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:9: error: cannot find 'pthread_rwlock_init' in scope
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |         `- error: cannot find 'pthread_rwlock_init' in scope
12 |     }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:36: error: 'nil' requires a contextual type
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |                                    `- error: 'nil' requires a contextual type
12 |     }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:15:9: error: cannot find 'pthread_rwlock_destroy' in scope
13 |
14 |     deinit {
15 |         pthread_rwlock_destroy(&lock)
   |         `- error: cannot find 'pthread_rwlock_destroy' in scope
16 |     }
17 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:19:9: error: cannot find 'pthread_rwlock_rdlock' in scope
17 |
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_rdlock' in scope
20 |         defer { pthread_rwlock_unlock(&lock) }
21 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:20:17: error: cannot find 'pthread_rwlock_unlock' in scope
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
20 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
21 |
22 |         return try block()
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:26:9: error: cannot find 'pthread_rwlock_wrlock' in scope
24 |
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_wrlock' in scope
27 |         defer { pthread_rwlock_unlock(&lock) }
28 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:27:17: error: cannot find 'pthread_rwlock_unlock' in scope
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
27 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
28 |
29 |         return try block()
[62/153] Compiling SwiftSyntax SourceEdit.swift
[63/153] Compiling SwiftSyntax SourceLength.swift
[64/153] Compiling SwiftSyntax SourceLocation.swift
[65/153] Compiling SwiftSyntax AbsolutePosition.swift
[66/153] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[67/153] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[68/153] Compiling SwiftSyntax Assert.swift
[69/153] Compiling SwiftSyntax BumpPtrAllocator.swift
[70/153] Compiling SwiftSyntax CommonAncestor.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256: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/Resolver.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/PrivacyInfo.xcprivacy
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Info.plist
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ServiceEntry.TypeForwarding.erb
[0/1] Planning build
Building for debugging...
[0/25] Write swift-version-24593BA9C3E375BF.txt
[2/59] Compiling SwiftSyntax509 Empty.swift
[3/59] Compiling SwiftSyntax600 Empty.swift
[4/61] Compiling TypeInferedFactoryCore TypeInferedFactoryProtocol.swift
[5/61] Compiling TypeInferedFactoryCore TypeInferedFactoryBuildable.swift
[6/61] Emitting module TypeInferedFactoryCore
[7/61] Emitting module SwiftSyntax509
[8/62] Emitting module SwiftSyntax600
[9/63] Compiling TypeInferedFactoryCore TypeInferedFactory.swift
[11/63] 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()
[12/63] 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()
[13/63] 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()
[14/63] Emitting module SwiftSyntax510
[16/63] Compiling SwiftSyntax510 Empty.swift
[17/63] Compiling TypeInferedFactoryCore TypeInferedFactoryBuildable.swift
[18/65] Emitting module TypeInferedFactoryCore
[19/65] Compiling TypeInferedFactoryCore TypeInferedFactoryProtocol.swift
[20/66] Compiling TypeInferedFactoryCore TypeInferedFactory.swift
[23/66] Compiling Swinject UnavailableItems.swift
[24/66] Compiling Swinject _Resolver.swift
[26/66] Compiling Swinject RecursiveLock.swift
[27/66] Compiling Swinject Resolver.swift
[28/66] Compiling Swinject ServiceEntry.TypeForwarding.swift
[29/66] Compiling Swinject ServiceEntry.swift
[30/66] Compiling Swinject ServiceKey.swift
[31/66] Compiling Swinject ThreadSafeDictionary.swift
[32/63] Emitting module Swinject
[33/63] Compiling Swinject GraphIdentifier.swift
[34/63] Compiling Swinject InstanceStorage.swift
[35/63] Compiling Swinject InstanceWrapper.swift
[36/63] Compiling Swinject Container.Arguments.swift
[37/63] Compiling Swinject Container.Logging.swift
[38/63] Compiling Swinject Container.TypeForwarding.swift
[39/63] Compiling Swinject Assembler.swift
[40/63] Compiling Swinject Assembly.swift
[41/63] Compiling Swinject Behavior.swift
[42/63] Compiling Swinject Container.swift
[43/63] Compiling Swinject DebugHelper.swift
[44/63] Compiling Swinject FunctionType.swift
BUILD FAILURE 6.1 wasm