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 2.2.17 (d4dc48), with Swift 6.1 for Wasm on 16 Jun 2025 16:00:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/Electric-Coin-Company/zcash-swift-wallet-sdk.git
Reference: 2.2.17
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
 * tag               2.2.17     -> FETCH_HEAD
HEAD is now at d4dc485 Merge pull request #1574 from LukasKorba/1573-Release-2-2-17
Cloned https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.git
Revision (git rev-parse @):
d4dc485e496ecb66e034f060709965fcb54b6036
SUCCESS checkout https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.git at 2.2.17
========================================
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.17.0"
        ]
      },
      "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/TransactionDataRequest.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/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",
        "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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/Electric-Coin-Company/zcash-light-client-ffi
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/9849] Fetching sqlite.swift
[1380/60955] Fetching sqlite.swift, grpc-swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.40s)
[20443/51106] Fetching grpc-swift
[51107/54254] Fetching grpc-swift, zcash-light-client-ffi
Fetched https://github.com/grpc/grpc-swift.git from cache (99.13s)
Fetched https://github.com/Electric-Coin-Company/zcash-light-client-ffi from cache (102.56s)
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.17.0 (103.46s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.4 (0.92s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/135] Fetching swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.4 (2.29s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (1.26s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
[1/3836] Fetching swift-log
[2457/5633] Fetching swift-log, swift-atomics
[4431/22239] Fetching swift-log, swift-atomics, swift-collections
[6744/37129] Fetching swift-log, swift-atomics, swift-collections, swift-nio-ssl
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio-extras.git
[15267/43052] Fetching swift-log, swift-atomics, swift-collections, swift-nio-ssl, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.80s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[25259/37129] Fetching swift-log, swift-atomics, swift-collections, swift-nio-ssl
[32961/39796] Fetching swift-log, swift-atomics, swift-collections, swift-nio-ssl, swift-nio-transport-services
[38457/79242] Fetching swift-log, swift-atomics, swift-collections, swift-nio-ssl, swift-nio-transport-services, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (2.49s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.81s)
[34820/72739] Fetching swift-atomics, swift-collections, swift-nio-ssl, swift-protobuf
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-collections.git from cache (2.59s)
[19449/56133] Fetching swift-atomics, swift-nio-ssl, swift-protobuf
[20239/67665] Fetching swift-atomics, swift-nio-ssl, swift-protobuf, swift-nio-http2
[24172/143987] Fetching swift-atomics, swift-nio-ssl, swift-protobuf, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (4.20s)
[46724/142190] Fetching swift-nio-ssl, swift-protobuf, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.23s)
[34102/127300] Fetching swift-protobuf, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.78s)
[61804/115768] Fetching swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (11.87s)
Fetched https://github.com/apple/swift-protobuf.git from cache (14.17s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (15.95s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.98s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.91s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.36s)
Fetching https://github.com/apple/swift-system.git
[1/4428] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.61s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (1.49s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.81s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.11s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (1.00s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
[1/1590] Fetching swift-asn1
[812/2731] Fetching swift-asn1, swift-http-structured-headers
[1013/8690] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms
[1014/11116] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms, swift-service-lifecycle
[3711/17300] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms, swift-service-lifecycle, swift-certificates
[5759/22285] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms, swift-service-lifecycle, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.90s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.90s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.96s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.07s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.07s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.08s)
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (3.80s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (9.59s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (6.11s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (3.57s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (1.18s)
Fetching https://github.com/apple/swift-crypto.git
[1/14935] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (4.91s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (8.13s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.00s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.29s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.71s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.59s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (1.03s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.86s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.97s)
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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.0
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.3.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.0.3
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.28.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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.0.4
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
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.4.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
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.36.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
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.24.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.26.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.83.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.8.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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.32.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.17.0
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/452] Copying cache.db
[2/452] Write sources
[7/452] Copying txFromAndroidSDK.txt
[7/452] Copying txBase64String.txt
[7/452] Copying sandblasted_mainnet_block.json
[11/452] Copying sapling-output.params
[11/452] Copying darkside_caches.db
[11/452] Copying PrivacyInfo.xcprivacy
[11/452] Write sources
[11/452] Copying darkside_data.db
[11/452] Write sources
[11/452] Copying integerOverflowJSON.json
[33/452] Write sources
[34/452] Compiling _AtomicsShims.c
[34/452] Compiling CNIOWindows WSAStartup.c
[36/452] Compiling CNIOWindows shim.c
[36/452] Compiling CNIOWASI CNIOWASI.c
[38/452] Compiling CNIOLinux liburing_shims.c
[39/452] Copying test_data.db
[40/452] Compiling CNIOLinux shim.c
[41/452] Copying sapling-spend.params
[42/452] Copying checkpoints
[43/452] Compiling CNIODarwin shim.c
[44/452] Compiling CNIOLLHTTP c_nio_http.c
[45/452] Compiling fiat_p256_adx_mul.S
[46/452] Compiling fiat_p256_adx_sqr.S
[47/452] Compiling fiat_curve25519_adx_square.S
[48/452] Compiling fiat_curve25519_adx_mul.S
[49/452] Compiling CNIOLLHTTP c_nio_api.c
[50/452] Write swift-version-24593BA9C3E375BF.txt
[51/452] Compiling CNIOBoringSSLShims shims.c
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.
[52/456] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
1 error generated.
[52/456] Compiling tls13_both.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>
      |          ^~~~~~~~~~~
[52/456] Compiling tls13_enc.cc
[53/456] Emitting module _NIODataStructures
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>
      |          ^~~~~~~~~~~
[53/456] Compiling tls_method.cc
[53/456] 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>
      |          ^~~~~~~~~~~
[53/456] Compiling tls_record.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>
      |          ^~~~~~~~~~~
[53/456] Compiling tls13_server.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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
[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/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>
      |          ^~~~~~~~~~~
1 error generated.
[2/403] Compiling tls_method.cc
[2/403] Compiling c-nioatomics.c
[2/403] Compiling c-atomics.c
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/403] Compiling tls13_both.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/403] Compiling tls13_enc.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/403] Compiling tls_record.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/403] Compiling tls13_client.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/403] Compiling tls13_server.cc
BUILD FAILURE 6.1 wasm