The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TypeInferedFactory, reference 0.0.1 (c7e2db), with Swift 6.1 for Wasm on 30 May 2025 07:34:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 0.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/brunogama/TypeInferedFactory
 * tag               0.0.1      -> FETCH_HEAD
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 0.0.1
========================================
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-4606859-0":/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
[9202/79653] Fetching swinject, swift-syntax
Fetched https://github.com/Swinject/Swinject.git from cache (6.23s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.28s)
Computing version for https://github.com/Swinject/Swinject.git
Computed https://github.com/Swinject/Swinject.git at 2.9.1 (6.95s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (2.71s)
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
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/PrivacyInfo.xcprivacy
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ServiceEntry.TypeForwarding.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Resolver.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Info.plist
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/82] Emitting module SwiftSyntax510
[26/82] Compiling SwiftSyntax510 Empty.swift
[27/84] Compiling TypeInferedFactoryCore TypeInferedFactory.swift
[28/84] Compiling TypeInferedFactoryCore TypeInferedFactoryProtocol.swift
[31/84] Compiling TypeInferedFactoryCore TypeInferedFactoryBuildable.swift
[32/84] Emitting module TypeInferedFactoryCore
[34/84] Compiling TypeInferedFactoryCore TypeInferedFactoryBuildable.swift
[35/85] Compiling SwiftSyntax509 Empty.swift
[36/85] Emitting module SwiftSyntax509
[37/85] Compiling TypeInferedFactoryCore TypeInferedFactory.swift
[38/85] Compiling TypeInferedFactoryCore TypeInferedFactoryProtocol.swift
[38/87] Wrapping AST for SwiftSyntax600 for debugging
[39/87] Wrapping AST for SwiftSyntax510 for debugging
[43/87] Wrapping AST for SwiftSyntax509 for debugging
[44/87] Wrapping AST for TypeInferedFactoryCore for debugging
[47/151] Compiling SwiftSyntax SourcePresence.swift
[48/151] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[49/151] Compiling SwiftSyntax Syntax.swift
[50/153] Compiling SwiftSyntax SourceEdit.swift
[51/153] Compiling SwiftSyntax SourceLength.swift
[52/153] Compiling SwiftSyntax SourceLocation.swift
[53/153] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[54/153] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[55/153] Compiling SwiftSyntax RawSyntaxTokenView.swift
[56/153] Compiling SwiftSyntax MemoryLayout.swift
[57/153] Compiling SwiftSyntax MissingNodeInitializers.swift
[58/153] Compiling SwiftSyntax RawSyntax.swift
[59/153] Compiling Swinject UnavailableItems.swift
[60/153] Compiling Swinject _Resolver.swift
[61/153] Compiling SwiftSyntax Convenience.swift
[62/153] Compiling SwiftSyntax CustomTraits.swift
[63/153] Compiling SwiftSyntax Identifier.swift
[64/153] Compiling SwiftSyntax AbsolutePosition.swift
[65/153] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[66/153] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[67/153] Emitting module Swinject
[68/153] Compiling SwiftSyntax Assert.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()
[69/153] Compiling SwiftSyntax BumpPtrAllocator.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:9: error: cannot find 'pthread_rwlock_init' in scope
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |         `- error: cannot find 'pthread_rwlock_init' in scope
12 |     }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:36: error: 'nil' requires a contextual type
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |                                    `- error: 'nil' requires a contextual type
12 |     }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:15:9: error: cannot find 'pthread_rwlock_destroy' in scope
13 |
14 |     deinit {
15 |         pthread_rwlock_destroy(&lock)
   |         `- error: cannot find 'pthread_rwlock_destroy' in scope
16 |     }
17 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:19:9: error: cannot find 'pthread_rwlock_rdlock' in scope
17 |
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_rdlock' in scope
20 |         defer { pthread_rwlock_unlock(&lock) }
21 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:20:17: error: cannot find 'pthread_rwlock_unlock' in scope
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
20 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
21 |
22 |         return try block()
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:26:9: error: cannot find 'pthread_rwlock_wrlock' in scope
24 |
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_wrlock' in scope
27 |         defer { pthread_rwlock_unlock(&lock) }
28 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:27:17: error: cannot find 'pthread_rwlock_unlock' in scope
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
27 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
28 |
29 |         return try block()
[70/153] Compiling SwiftSyntax CommonAncestor.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:9: error: cannot find 'pthread_rwlock_init' in scope
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |         `- error: cannot find 'pthread_rwlock_init' in scope
12 |     }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:36: error: 'nil' requires a contextual type
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |                                    `- error: 'nil' requires a contextual type
12 |     }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:15:9: error: cannot find 'pthread_rwlock_destroy' in scope
13 |
14 |     deinit {
15 |         pthread_rwlock_destroy(&lock)
   |         `- error: cannot find 'pthread_rwlock_destroy' in scope
16 |     }
17 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:19:9: error: cannot find 'pthread_rwlock_rdlock' in scope
17 |
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_rdlock' in scope
20 |         defer { pthread_rwlock_unlock(&lock) }
21 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:20:17: error: cannot find 'pthread_rwlock_unlock' in scope
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
20 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
21 |
22 |         return try block()
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:26:9: error: cannot find 'pthread_rwlock_wrlock' in scope
24 |
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_wrlock' in scope
27 |         defer { pthread_rwlock_unlock(&lock) }
28 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:27:17: error: cannot find 'pthread_rwlock_unlock' in scope
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
27 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
28 |
29 |         return try block()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/Info.plist
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Container.Arguments.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/PrivacyInfo.xcprivacy
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/Resolver.erb
    /host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ServiceEntry.TypeForwarding.erb
[0/1] Planning build
Building for debugging...
[0/25] Write swift-version-24593BA9C3E375BF.txt
[2/61] Emitting module SwiftSyntax600
[3/61] Compiling TypeInferedFactoryCore TypeInferedFactory.swift
[4/61] Compiling TypeInferedFactoryCore TypeInferedFactoryProtocol.swift
[5/61] Emitting module SwiftSyntax509
[6/61] Compiling SwiftSyntax509 Empty.swift
[7/62] Compiling SwiftSyntax600 Empty.swift
[8/63] Emitting module TypeInferedFactoryCore
[9/63] Compiling TypeInferedFactoryCore TypeInferedFactoryBuildable.swift
[10/63] Emitting module SwiftSyntax510
[11/63] Compiling SwiftSyntax510 Empty.swift
[12/65] Compiling TypeInferedFactoryCore TypeInferedFactoryProtocol.swift
[13/65] Emitting module TypeInferedFactoryCore
[14/65] Compiling TypeInferedFactoryCore TypeInferedFactory.swift
[15/65] Compiling TypeInferedFactoryCore TypeInferedFactoryBuildable.swift
[19/66] Compiling Swinject Container.swift
[20/66] Compiling Swinject DebugHelper.swift
[21/66] Compiling Swinject FunctionType.swift
[24/63] Emitting module Swinject
[25/63] Compiling Swinject Container.Arguments.swift
[26/63] Compiling Swinject Container.Logging.swift
[27/63] Compiling Swinject Container.TypeForwarding.swift
[28/63] Compiling Swinject Assembler.swift
[29/63] Compiling Swinject Assembly.swift
[30/63] Compiling Swinject Behavior.swift
[31/89] Compiling SwiftSyntax SyntaxArena.swift
[32/89] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[33/127] Compiling SwiftSyntax MemoryLayout.swift
[34/127] Compiling SwiftSyntax MissingNodeInitializers.swift
[35/127] Compiling SwiftSyntax RawSyntax.swift
[36/127] Compiling SwiftSyntax Convenience.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:9: error: cannot find 'pthread_rwlock_init' in scope
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |         `- error: cannot find 'pthread_rwlock_init' in scope
12 |     }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:36: error: 'nil' requires a contextual type
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |                                    `- error: 'nil' requires a contextual type
12 |     }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:15:9: error: cannot find 'pthread_rwlock_destroy' in scope
13 |
14 |     deinit {
15 |         pthread_rwlock_destroy(&lock)
   |         `- error: cannot find 'pthread_rwlock_destroy' in scope
16 |     }
17 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:19:9: error: cannot find 'pthread_rwlock_rdlock' in scope
17 |
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_rdlock' in scope
20 |         defer { pthread_rwlock_unlock(&lock) }
21 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:20:17: error: cannot find 'pthread_rwlock_unlock' in scope
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
20 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
21 |
22 |         return try block()
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:26:9: error: cannot find 'pthread_rwlock_wrlock' in scope
24 |
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_wrlock' in scope
27 |         defer { pthread_rwlock_unlock(&lock) }
28 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:27:17: error: cannot find 'pthread_rwlock_unlock' in scope
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
27 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
28 |
29 |         return try block()
[37/127] Compiling SwiftSyntax CustomTraits.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:9: error: cannot find 'pthread_rwlock_init' in scope
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |         `- error: cannot find 'pthread_rwlock_init' in scope
12 |     }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:36: error: 'nil' requires a contextual type
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |                                    `- error: 'nil' requires a contextual type
12 |     }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:15:9: error: cannot find 'pthread_rwlock_destroy' in scope
13 |
14 |     deinit {
15 |         pthread_rwlock_destroy(&lock)
   |         `- error: cannot find 'pthread_rwlock_destroy' in scope
16 |     }
17 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:19:9: error: cannot find 'pthread_rwlock_rdlock' in scope
17 |
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_rdlock' in scope
20 |         defer { pthread_rwlock_unlock(&lock) }
21 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:20:17: error: cannot find 'pthread_rwlock_unlock' in scope
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
20 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
21 |
22 |         return try block()
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:26:9: error: cannot find 'pthread_rwlock_wrlock' in scope
24 |
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_wrlock' in scope
27 |         defer { pthread_rwlock_unlock(&lock) }
28 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:27:17: error: cannot find 'pthread_rwlock_unlock' in scope
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
27 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
28 |
29 |         return try block()
[38/127] Compiling SwiftSyntax Identifier.swift
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:9: error: cannot find 'pthread_rwlock_init' in scope
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |         `- error: cannot find 'pthread_rwlock_init' in scope
12 |     }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:11:36: error: 'nil' requires a contextual type
 9 |
10 |     init() {
11 |         pthread_rwlock_init(&lock, nil)
   |                                    `- error: 'nil' requires a contextual type
12 |     }
13 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:15:9: error: cannot find 'pthread_rwlock_destroy' in scope
13 |
14 |     deinit {
15 |         pthread_rwlock_destroy(&lock)
   |         `- error: cannot find 'pthread_rwlock_destroy' in scope
16 |     }
17 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:19:9: error: cannot find 'pthread_rwlock_rdlock' in scope
17 |
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_rdlock' in scope
20 |         defer { pthread_rwlock_unlock(&lock) }
21 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:20:17: error: cannot find 'pthread_rwlock_unlock' in scope
18 |     @inlinable public func read<T>(_ block: () throws -> T) rethrows -> T {
19 |         pthread_rwlock_rdlock(&lock)
20 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
21 |
22 |         return try block()
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:26:9: error: cannot find 'pthread_rwlock_wrlock' in scope
24 |
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
   |         `- error: cannot find 'pthread_rwlock_wrlock' in scope
27 |         defer { pthread_rwlock_unlock(&lock) }
28 |
/host/spi-builder-workspace/.build/checkouts/Swinject/Sources/ReadWriteLock.swift:27:17: error: cannot find 'pthread_rwlock_unlock' in scope
25 |     @inlinable public func write<T>(_ block: () throws -> T) rethrows -> T {
26 |         pthread_rwlock_wrlock(&lock)
27 |         defer { pthread_rwlock_unlock(&lock) }
   |                 `- error: cannot find 'pthread_rwlock_unlock' in scope
28 |
29 |         return try block()
[39/127] Compiling SwiftSyntax SourceEdit.swift
[40/127] Compiling SwiftSyntax SourceLength.swift
[41/127] Compiling SwiftSyntax SourceLocation.swift
[42/127] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[43/127] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[44/127] Compiling SwiftSyntax RawSyntaxTokenView.swift
BUILD FAILURE 6.1 wasm