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 ZcashLightClientKit, reference main (4e4ddd), with Swift 6.1 for Wasm on 9 Dec 2025 19:12:47 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.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/Electric-Coin-Company/zcash-swift-wallet-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4e4ddd1 Merge pull request #1627 from LukasKorba/1626-Delete-Specific-Account
Cloned https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.git
Revision (git rev-parse @):
4e4ddd180ca670a90b889d396a03635caf676dea
SUCCESS checkout https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.git
https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "grpc-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.24.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/grpc/grpc-swift.git"
    },
    {
      "identity" : "sqlite.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.15.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stephencelis/SQLite.swift.git"
    },
    {
      "identity" : "zcash-light-client-ffi",
      "requirement" : {
        "exact" : [
          "0.19.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Electric-Coin-Company/zcash-light-client-ffi"
    }
  ],
  "manifest_display_name" : "ZcashLightClientKit",
  "name" : "ZcashLightClientKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "ZcashLightClientKit",
      "targets" : [
        "ZcashLightClientKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ZcashLightClientKit",
      "module_type" : "SwiftTarget",
      "name" : "ZcashLightClientKit",
      "path" : "Sources/ZcashLightClientKit",
      "product_dependencies" : [
        "SQLite",
        "GRPC",
        "libzcashlc"
      ],
      "product_memberships" : [
        "ZcashLightClientKit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/ZcashLightClientKit/Resources/checkpoints",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Account/Account.swift",
        "Account/AccountMetadataKey.swift",
        "Block/Actions/Action.swift",
        "Block/Actions/ClearAlreadyScannedBlocksAction.swift",
        "Block/Actions/ClearCacheAction.swift",
        "Block/Actions/DownloadAction.swift",
        "Block/Actions/EnhanceAction.swift",
        "Block/Actions/FetchUTXOsAction.swift",
        "Block/Actions/MigrateLegacyCacheDBAction.swift",
        "Block/Actions/ProcessSuggestedScanRangesAction.swift",
        "Block/Actions/RewindAction.swift",
        "Block/Actions/SaplingParamsAction.swift",
        "Block/Actions/ScanAction.swift",
        "Block/Actions/TxResubmissionAction.swift",
        "Block/Actions/UpdateChainTipAction.swift",
        "Block/Actions/UpdateSubtreeRootsAction.swift",
        "Block/Actions/ValidateServerAction.swift",
        "Block/CompactBlockProcessor.swift",
        "Block/DatabaseStorage/ConnectorProvider.swift",
        "Block/DatabaseStorage/DatabaseStorageError.swift",
        "Block/DatabaseStorage/SimpleConnectionProvider.swift",
        "Block/Download/BlockDownloader.swift",
        "Block/Download/BlockDownloaderService.swift",
        "Block/Enhance/BlockEnhancer.swift",
        "Block/FetchUnspentTxOutputs/UTXOFetcher.swift",
        "Block/FilesystemStorage/FSCompactBlockRepository.swift",
        "Block/SaplingParameters/SaplingParametersHandler.swift",
        "Block/Scan/BlockScanner.swift",
        "Block/Utils/AfterSyncHooksManager.swift",
        "Block/Utils/CompactBlockProgress.swift",
        "Block/Utils/SyncControlData.swift",
        "Checkpoint/BundleCheckpointSource.swift",
        "Checkpoint/BundleCheckpointURLProvider.swift",
        "Checkpoint/Checkpoint+helpers.swift",
        "Checkpoint/Checkpoint.swift",
        "Checkpoint/CheckpointSource.swift",
        "Checkpoint/CheckpointSourceFactory.swift",
        "ClosureSynchronizer.swift",
        "CombineSynchronizer.swift",
        "Constants/Checkpoint+mainnet.swift",
        "Constants/Checkpoint+testnet.swift",
        "Constants/ZcashSDK.swift",
        "DAO/BlockDao.swift",
        "DAO/PagedTransactionDao.swift",
        "DAO/TransactionDao.swift",
        "DAO/UnspentTransactionOutputDao.swift",
        "Entity/AccountEntity.swift",
        "Entity/EncodedTransactionEntity.swift",
        "Entity/Pczt.swift",
        "Entity/SentNoteEntity.swift",
        "Entity/TransactionEntity.swift",
        "Entity/UnspentTransactionOutputEntity.swift",
        "Entity/ZcashCompactBlock.swift",
        "Error/ZcashError.swift",
        "Error/ZcashErrorCode.swift",
        "Error/ZcashErrorCodeDefinition.swift",
        "Extensions/Bool+ToData.swift",
        "Extensions/Data+ToOtherTypes.swift",
        "Extensions/Data+Zcash.swift",
        "Extensions/Data+internal.swift",
        "Extensions/Error+ZcashError.swift",
        "Extensions/HexEncode.swift",
        "Extensions/Int+ToData.swift",
        "Extensions/NumberFormatter+Zcash.swift",
        "Extensions/URL+UpdateWithAlias.swift",
        "Extensions/Undescribable.swift",
        "Extensions/Zatoshi+SQLite.swift",
        "Extensions/ZcashRust+Utils.swift",
        "Extensions/ZcashSDK+extensions.swift",
        "Initializer.swift",
        "Metrics/SDKMetrics.swift",
        "Model/FiatCurrencyResult.swift",
        "Model/Memo.swift",
        "Model/Proposal.swift",
        "Model/ScanRange.swift",
        "Model/ScanSummary.swift",
        "Model/SingleUseTransparentAddress.swift",
        "Model/TransactionDataRequest.swift",
        "Model/TxId.swift",
        "Model/WalletSummary.swift",
        "Model/WalletTypes.swift",
        "Model/Zatoshi.swift",
        "Modules/Service/GRPC/LightWalletGRPCService.swift",
        "Modules/Service/GRPC/ProtoBuf/Extensions/Protocolbuffer+Extensions.swift",
        "Modules/Service/GRPC/ProtoBuf/compact_formats.pb.swift",
        "Modules/Service/GRPC/ProtoBuf/proposal.pb.swift",
        "Modules/Service/GRPC/ProtoBuf/service.grpc.swift",
        "Modules/Service/GRPC/ProtoBuf/service.pb.swift",
        "Modules/Service/LightWalletService.swift",
        "Modules/Service/Tor/LightWalletGRPCServiceOverTor.swift",
        "Providers/LatestBlocksDataProvider.swift",
        "Providers/ResourceProvider.swift",
        "Repository/BlockRepository.swift",
        "Repository/CompactBlockRepository.swift",
        "Repository/NotesRepository.swift",
        "Repository/PaginatedTransactionRepository.swift",
        "Repository/TransactionRepository.swift",
        "Repository/TransactionRepositoryBuilder.swift",
        "Rust/ZcashKeyDerivationBackend.swift",
        "Rust/ZcashKeyDerivationBackendWelding.swift",
        "Rust/ZcashRustBackend.swift",
        "Rust/ZcashRustBackendWelding.swift",
        "Synchronizer.swift",
        "Synchronizer/ClosureSDKSynchronizer.swift",
        "Synchronizer/CombineSDKSynchronizer.swift",
        "Synchronizer/Dependencies.swift",
        "Synchronizer/SDKSynchronizer.swift",
        "Tool/DerivationTool.swift",
        "Tor/TorClient.swift",
        "Transaction/TransactionEncoder.swift",
        "Transaction/WalletTransactionEncoder.swift",
        "Utils/AsyncToClosureGateway.swift",
        "Utils/AsyncToCombineGateway.swift",
        "Utils/Clamped.swift",
        "Utils/DBActor.swift",
        "Utils/DIContainer.swift",
        "Utils/GenericActor.swift",
        "Utils/LoggingProxy.swift",
        "Utils/OSLogger.swift",
        "Utils/SDKFlags.swift",
        "Utils/SaplingParameterDownloader.swift",
        "Utils/SpecificCombineTypes.swift",
        "Utils/SyncSessionIDGenerator.swift",
        "Utils/Task+sleep.swift",
        "Utils/UsedAliasesChecker.swift",
        "Utils/ZcashFileManager.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TestUtils",
      "module_type" : "SwiftTarget",
      "name" : "TestUtils",
      "path" : "Tests/TestUtils",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/cache.db",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/darkside_caches.db",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/darkside_data.db",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/integerOverflowJSON.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/sandblasted_mainnet_block.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/sapling-output.params",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/sapling-spend.params",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/test_data.db",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/txBase64String.txt",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/txFromAndroidSDK.txt",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ActionContext+tests.swift",
        "CompactBlockProcessorEventHandler.swift",
        "DarkSideWalletService.swift",
        "DarksideMainnetCheckpointSource.swift",
        "FakeChainBuilder.swift",
        "FakeService.swift",
        "FakeStorage.swift",
        "LoggerProxy.swift",
        "MockSessionIDGenerator.swift",
        "MockTransactionRepository.swift",
        "SDKSynchronizerSyncStatusHandler.swift",
        "Sourcery/AutoMockable.swift",
        "Sourcery/GeneratedMocks/AutoMockable.generated.swift",
        "Stubs.swift",
        "TestCoordinator.swift",
        "TestDbBuilder.swift",
        "TestVector.swift",
        "Tests+Utils.swift",
        "TestsData.swift",
        "UnspentTransactionOutputEntityMock.swift",
        "ZcashTestCase.swift",
        "proto/darkside.grpc.swift",
        "proto/darkside.pb.swift"
      ],
      "target_dependencies" : [
        "ZcashLightClientKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PerformanceTests",
      "module_type" : "SwiftTarget",
      "name" : "PerformanceTests",
      "path" : "Tests/PerformanceTests",
      "sources" : [
        "SynchronizerTests.swift"
      ],
      "target_dependencies" : [
        "ZcashLightClientKit",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OfflineTests",
      "module_type" : "SwiftTarget",
      "name" : "OfflineTests",
      "path" : "Tests/OfflineTests",
      "sources" : [
        "BirthdayTests.swift",
        "CheckpointSourceTests.swift",
        "ClosureSynchronizerOfflineTests.swift",
        "CombineSynchronizerOfflineTests.swift",
        "CompactBlockProcessorActions/ActionContextStateTests.swift",
        "CompactBlockProcessorActions/ClearAlreadyScannedBlocksActionTests.swift",
        "CompactBlockProcessorActions/ClearCacheActionTests.swift",
        "CompactBlockProcessorActions/DownloadActionTests.swift",
        "CompactBlockProcessorActions/EnhanceActionTests.swift",
        "CompactBlockProcessorActions/FetchUTXOsActionTests.swift",
        "CompactBlockProcessorActions/MigrateLegacyCacheDBActionTests.swift",
        "CompactBlockProcessorActions/ProcessSuggestedScanRangesActionTests.swift",
        "CompactBlockProcessorActions/RewindActionTests.swift",
        "CompactBlockProcessorActions/SaplingParamsActionTests.swift",
        "CompactBlockProcessorActions/ScanActionTests.swift",
        "CompactBlockProcessorActions/UpdateChainTipActionTests.swift",
        "CompactBlockProcessorActions/UpdateSubtreeRootsActionTests.swift",
        "CompactBlockProcessorActions/ValidateServerActionTests.swift",
        "CompactBlockRepositoryTests.swift",
        "DerivationToolTests/DerivationToolMainnetTests.swift",
        "DerivationToolTests/DerivationToolTestnetTests.swift",
        "FsBlockStorageTests.swift",
        "InitializerOfflineTests.swift",
        "MemoTests.swift",
        "NullBytesTests.swift",
        "PagedTransactionRepositoryTests.swift",
        "RawTransactionTests.swift",
        "RecipientTests.swift",
        "SynchronizerOfflineTests.swift",
        "TransactionRepositoryTests.swift",
        "TxIdTests.swift",
        "UndescribableTests.swift",
        "UnifiedTypecodesTests.swift",
        "WalletTests.swift",
        "ZatoshiTests.swift",
        "ZcashRustBackendTests.swift",
        "ZcashTransactionStateTests.swift",
        "Zip302MemoTests.swift",
        "Zip325Tests.swift"
      ],
      "target_dependencies" : [
        "ZcashLightClientKit",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetworkTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkTests",
      "path" : "Tests/NetworkTests",
      "sources" : [
        "BlockStreamingTest.swift",
        "CompactBlockProcessorTests.swift",
        "CompactBlockReorgTests.swift",
        "DownloadTests.swift",
        "LightWalletServiceTests.swift",
        "TorClientTests.swift"
      ],
      "target_dependencies" : [
        "ZcashLightClientKit",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DarksideTests",
      "module_type" : "SwiftTarget",
      "name" : "DarksideTests",
      "path" : "Tests/DarksideTests",
      "sources" : [
        "AdvancedReOrgTests.swift",
        "BalanceTests.swift",
        "BlockDownloaderTests.swift",
        "DarksideSanityCheckTests.swift",
        "PaymentURIFulfillmentTests.swift",
        "PendingTransactionUpdatesTest.swift",
        "ReOrgTests.swift",
        "RewindRescanTests.swift",
        "ShieldFundsTests.swift",
        "SynchronizerDarksideTests.swift",
        "SynchronizerTests.swift",
        "TransactionEnhancementTests.swift",
        "Z2TReceiveTests.swift"
      ],
      "target_dependencies" : [
        "ZcashLightClientKit",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AliasDarksideTests",
      "module_type" : "SwiftTarget",
      "name" : "AliasDarksideTests",
      "path" : "Tests/AliasDarksideTests",
      "sources" : [
        "SDKSynchronizerAliasDarksideTests.swift"
      ],
      "target_dependencies" : [
        "ZcashLightClientKit",
        "TestUtils"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Electric-Coin-Company/zcash-light-client-ffi
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/10087] Fetching sqlite.swift
[1212/61476] Fetching sqlite.swift, grpc-swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (0.98s)
[21070/51389] Fetching grpc-swift
[51390/55103] Fetching grpc-swift, zcash-light-client-ffi
Fetched https://github.com/grpc/grpc-swift.git from cache (127.07s)
Fetched https://github.com/Electric-Coin-Company/zcash-light-client-ffi from cache (131.73s)
Computing version for https://github.com/Electric-Coin-Company/zcash-light-client-ffi
Computed https://github.com/Electric-Coin-Company/zcash-light-client-ffi at 0.19.1 (137.22s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.4 (7.65s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/204] Fetching swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (4.77s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.4 (8.16s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.1 (7.43s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-protobuf.git
[1/5719] Fetching swift-log
[5720/24084] Fetching swift-log, swift-collections
[11230/25904] Fetching swift-log, swift-collections, swift-atomics
[11231/32267] Fetching swift-log, swift-collections, swift-atomics, swift-nio-extras
[21433/47555] Fetching swift-log, swift-collections, swift-atomics, swift-nio-extras, swift-nio-ssl
[27124/89075] Fetching swift-log, swift-collections, swift-atomics, swift-nio-extras, swift-nio-ssl, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (4.47s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[50623/83356] Fetching swift-collections, swift-atomics, swift-nio-extras, swift-nio-ssl, swift-protobuf
[81281/86165] Fetching swift-collections, swift-atomics, swift-nio-extras, swift-nio-ssl, swift-protobuf, swift-nio-transport-services
Fetched https://github.com/apple/swift-collections.git from cache (8.35s)
Fetched https://github.com/apple/swift-atomics.git from cache (8.36s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (8.37s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (8.42s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.96s)
[1/11718] Fetching swift-nio-http2
[11719/92380] Fetching swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-protobuf.git from cache (13.15s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (9.34s)
Fetched https://github.com/apple/swift-nio.git from cache (9.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (25.37s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (5.26s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (4.54s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (3.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (3.69s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.2 (1.12s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1204] Fetching swift-http-structured-headers
[218/3772] Fetching swift-http-structured-headers, swift-service-lifecycle
[963/9580] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms
[1644/15621] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.87s)
[9239/14417] Fetching swift-service-lifecycle, swift-async-algorithms, swift-algorithms
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.25s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.33s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.34s)
[1/951] Fetching swift-http-types
[952/2618] Fetching swift-http-types, swift-asn1
Fetched https://github.com/apple/swift-http-types.git from cache (0.66s)
[601/1667] Fetching swift-asn1
[1668/8707] Fetching swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.50s)
[141/7040] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.92s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (5.19s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.58s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (1.27s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (0.78s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.82s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.7.1 (0.77s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.86s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.73s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.72s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (1.97s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.0 (0.80s)
Fetching https://github.com/apple/swift-crypto.git
[1/17465] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.71s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.91.0 (4.75s)
Fetching https://github.com/apple/swift-system.git
[1/5221] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.48s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (3.00s)
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.15.4
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.3
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.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.9.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.31.2
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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.33.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.27.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.7.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.91.0
Creating working copy for https://github.com/Electric-Coin-Company/zcash-light-client-ffi
Working copy of https://github.com/Electric-Coin-Company/zcash-light-client-ffi resolved at 0.19.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.4
warning: 'sqlite.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/PrivacyInfo.xcprivacy
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:264:42: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
262 |     }
263 |
264 |     let workDirectory = PathLike(context.pluginWorkDirectory)
    |                                          |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
    |                                          `- note: use 'pluginWorkDirectoryURL' instead
265 |
266 |     return try self.createBuildCommands(
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:287:18: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
285 |
286 |   init(_ path: String) {
287 |     self.value = Path(path)
    |                  `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
288 |   }
289 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:291:26: warning: 'path' is deprecated: renamed to 'url'
289 |
290 |   init(_ element: FileList.Element) {
291 |     self.value = element.path
    |                          |- warning: 'path' is deprecated: renamed to 'url'
    |                          `- note: use 'url' instead
292 |   }
293 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:295:26: warning: 'path' is deprecated: renamed to 'url'
293 |
294 |   init(_ element: PluginContext.Tool) {
295 |     self.value = element.path
    |                          |- warning: 'path' is deprecated: renamed to 'url'
    |                          `- note: use 'url' instead
296 |   }
297 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:303:23: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
301 |
302 |   var lastComponent: String {
303 |     return self.value.lastComponent
    |                       `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
304 |   }
305 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:308:29: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
306 |   func removingLastComponent() -> Self {
307 |     var copy = self
308 |     copy.value = self.value.removingLastComponent()
    |                             `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
309 |     return copy
310 |   }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:314:29: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
312 |   func appending(_ path: String) -> Self {
313 |     var copy = self
314 |     copy.value = self.value.appending(path)
    |                             `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
315 |     return copy
316 |   }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:327:17: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
325 |     outputFiles: [PathLike]
326 |   ) -> PackagePlugin.Command {
327 |     return Self.buildCommand(
    |                 `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
328 |       displayName: displayName,
329 |       executable: executable.value,
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:339:35: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
337 | extension URL {
338 |   init(_ pathLike: PathLike) {
339 |     self = URL(fileURLWithPath: "\(pathLike.value)")
    |                                   `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
340 |   }
341 | }
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/454] Write sources
[2/454] Copying integerOverflowJSON.json
[7/454] Write sources
[9/454] Copying txFromAndroidSDK.txt
[9/454] Copying txBase64String.txt
[9/454] Copying sandblasted_mainnet_block.json
[9/454] Copying darkside_caches.db
[9/454] Copying PrivacyInfo.xcprivacy
[9/454] Write sources
[9/454] Copying cache.db
[9/454] Write sources
[12/454] Copying darkside_data.db
[12/454] Copying sapling-output.params
[34/454] Copying test_data.db
[35/454] Copying sapling-spend.params
[36/454] Compiling CNIOOpenBSD shim.c
[37/454] Compiling CNIOWASI CNIOWASI.c
[38/454] Compiling _AtomicsShims.c
[39/454] Compiling CNIOPosix event_loop_id.c
[40/454] Compiling CNIOWindows WSAStartup.c
[41/454] Compiling CNIOWindows shim.c
[42/454] Compiling CNIOLinux shim.c
[43/454] Compiling CNIOLinux liburing_shims.c
[44/454] Compiling CNIODarwin shim.c
[45/454] Compiling CNIOLLHTTP c_nio_http.c
[46/454] Compiling fiat_p256_adx_sqr.S
[47/454] Compiling fiat_p256_adx_mul.S
[48/454] Compiling fiat_curve25519_adx_mul.S
[49/454] Compiling fiat_curve25519_adx_square.S
[50/454] Compiling CNIOLLHTTP c_nio_api.c
[51/454] Copying checkpoints
[52/454] Write swift-version-24593BA9C3E375BF.txt
[53/454] Compiling CNIOBoringSSLShims shims.c
[54/458] Compiling CNIOLLHTTP c_nio_llhttp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[55/458] Compiling tls_record.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[55/458] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[55/458] Compiling tls13_client.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[55/458] Compiling tls_method.cc
[55/458] Compiling tls13_enc.cc
[56/458] Emitting module _NIODataStructures
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[56/458] Compiling tls13_server.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'sqlite.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/PrivacyInfo.xcprivacy
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:264:42: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
262 |     }
263 |
264 |     let workDirectory = PathLike(context.pluginWorkDirectory)
    |                                          |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
    |                                          `- note: use 'pluginWorkDirectoryURL' instead
265 |
266 |     return try self.createBuildCommands(
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:287:18: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
285 |
286 |   init(_ path: String) {
287 |     self.value = Path(path)
    |                  `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
288 |   }
289 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:291:26: warning: 'path' is deprecated: renamed to 'url'
289 |
290 |   init(_ element: FileList.Element) {
291 |     self.value = element.path
    |                          |- warning: 'path' is deprecated: renamed to 'url'
    |                          `- note: use 'url' instead
292 |   }
293 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:295:26: warning: 'path' is deprecated: renamed to 'url'
293 |
294 |   init(_ element: PluginContext.Tool) {
295 |     self.value = element.path
    |                          |- warning: 'path' is deprecated: renamed to 'url'
    |                          `- note: use 'url' instead
296 |   }
297 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:303:23: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
301 |
302 |   var lastComponent: String {
303 |     return self.value.lastComponent
    |                       `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
304 |   }
305 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:308:29: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
306 |   func removingLastComponent() -> Self {
307 |     var copy = self
308 |     copy.value = self.value.removingLastComponent()
    |                             `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
309 |     return copy
310 |   }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:314:29: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
312 |   func appending(_ path: String) -> Self {
313 |     var copy = self
314 |     copy.value = self.value.appending(path)
    |                             `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
315 |     return copy
316 |   }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:327:17: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
325 |     outputFiles: [PathLike]
326 |   ) -> PackagePlugin.Command {
327 |     return Self.buildCommand(
    |                 `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
328 |       displayName: displayName,
329 |       executable: executable.value,
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:339:35: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
337 | extension URL {
338 |   init(_ pathLike: PathLike) {
339 |     self = URL(fileURLWithPath: "\(pathLike.value)")
    |                                   `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
340 |   }
341 | }
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/t1_enc.cc:28:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[2/402] Compiling t1_enc.cc
[2/402] Compiling ssl_x509.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[2/402] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[2/402] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[2/402] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[2/402] Compiling tls_record.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[2/402] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[2/402] Compiling tls13_client.cc
BUILD FAILURE 6.1 wasm