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 (d4dc48), with Swift 6.1 for Wasm on 17 Jun 2025 20:45:36 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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 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 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.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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -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/Electric-Coin-Company/zcash-light-client-ffi
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/grpc/grpc-swift.git
[1/9851] Fetching sqlite.swift
[3745/60957] Fetching sqlite.swift, grpc-swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (2.99s)
Fetched https://github.com/grpc/grpc-swift.git from cache (3.03s)
[1/3148] Fetching zcash-light-client-ffi
Fetched https://github.com/Electric-Coin-Company/zcash-light-client-ffi from cache (119.98s)
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 (122.67s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.4 (3.61s)
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.90s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.4 (5.25s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (4.08s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/1797] Fetching swift-atomics
[505/7720] Fetching swift-atomics, swift-nio-extras
[714/11556] Fetching swift-atomics, swift-nio-extras, swift-log
[6881/28162] Fetching swift-atomics, swift-nio-extras, swift-log, swift-collections
[10209/43052] Fetching swift-atomics, swift-nio-extras, swift-log, swift-collections, swift-nio-ssl
[27726/82507] Fetching swift-atomics, swift-nio-extras, swift-log, swift-collections, swift-nio-ssl, swift-protobuf
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.46s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[62488/67617] Fetching swift-atomics, swift-nio-extras, swift-log, swift-collections, swift-protobuf
[67618/70284] Fetching swift-atomics, swift-nio-extras, swift-log, swift-collections, swift-protobuf, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (4.84s)
Fetching https://github.com/apple/swift-nio-http2.git
[1/11532] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-atomics.git from cache (11.27s)
Fetched https://github.com/apple/swift-log.git from cache (11.27s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (11.27s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-collections.git from cache (11.30s)
Fetched https://github.com/apple/swift-protobuf.git from cache (11.41s)
[11533/87859] Fetching swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (5.73s)
[11450/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (11.81s)
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 (23.79s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (1.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.59s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.90s)
Fetching https://github.com/apple/swift-system.git
[1/4428] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.38s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.97s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.63s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.93s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (0.77s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
[1/1141] Fetching swift-http-structured-headers
[47/2731] Fetching swift-http-structured-headers, swift-asn1
[965/7716] Fetching swift-http-structured-headers, swift-asn1, swift-async-algorithms
[2982/10142] Fetching swift-http-structured-headers, swift-asn1, swift-async-algorithms, swift-service-lifecycle
[7603/16326] Fetching swift-http-structured-headers, swift-asn1, swift-async-algorithms, swift-service-lifecycle, swift-certificates
[8261/22285] Fetching swift-http-structured-headers, swift-asn1, swift-async-algorithms, swift-service-lifecycle, swift-certificates, swift-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.53s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-asn1.git from cache (0.54s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.54s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.59s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.61s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.62s)
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.26s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.45s)
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 (0.67s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.93s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.91s)
Fetching https://github.com/apple/swift-crypto.git
[1/15203] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (4.64s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (7.64s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.68s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.86s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.51s)
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.14s)
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.20s)
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.62s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.67s)
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/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-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/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-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/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.2.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.28.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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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-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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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-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/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-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-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/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/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/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.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] Write sources
[5/452] Copying txFromAndroidSDK.txt
[5/452] Copying txBase64String.txt
[5/452] Copying integerOverflowJSON.json
[5/452] Copying sandblasted_mainnet_block.json
[5/452] Copying darkside_caches.db
[5/452] Copying cache.db
[5/452] Write sources
[5/452] Copying PrivacyInfo.xcprivacy
[5/452] Copying darkside_data.db
[33/452] Copying sapling-output.params
[34/452] Compiling _AtomicsShims.c
[35/452] Compiling CNIOWindows WSAStartup.c
[36/452] Compiling CNIOWindows shim.c
[37/452] Compiling CNIOWASI CNIOWASI.c
[38/452] Compiling CNIOLinux shim.c
[39/452] Compiling CNIOLinux liburing_shims.c
[40/452] Copying test_data.db
[41/452] Copying sapling-spend.params
[42/452] Compiling CNIODarwin shim.c
[43/452] Compiling CNIOLLHTTP c_nio_http.c
[44/452] Copying checkpoints
[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 CNIOLLHTTP c_nio_api.c
[49/452] Compiling fiat_curve25519_adx_mul.S
[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/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.
[52/456] Compiling tls_record.cc
[52/456] Compiling tls13_client.cc
[52/456] Compiling tls_method.cc
[52/456] Compiling tls13_both.cc
[52/456] Compiling CNIOLLHTTP c_nio_llhttp.c
[52/456] Compiling tls13_server.cc
[52/456] Compiling tls13_enc.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256: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/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.
[2/403] 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>
      |          ^~~~~~~~~~~
1 error generated.
[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_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
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[2/403] Compiling tls_method.cc
[2/403] Compiling CNIOLLHTTP c_nio_llhttp.c
[2/403] Compiling c-nioatomics.c
[2/403] Compiling c-atomics.c
BUILD FAILURE 6.1 wasm