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 (2eaa6a), with Swift 6.1 for Wasm on 3 Sep 2025 09:38:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.67.1
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 2eaa6a0 Merge pull request #1589 from LukasKorba/ffi-hotfix
Cloned https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.git
Revision (git rev-parse @):
2eaa6a0ffa1c3ba7417b866081f53ae4875c11dc
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.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/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/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",
        "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-2":/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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/10057] Fetching sqlite.swift
[1409/61354] Fetching sqlite.swift, grpc-swift
Fetched https://github.com/grpc/grpc-swift.git from cache (3.54s)
[1/3329] Fetching zcash-light-client-ffi
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (107.53s)
Fetched https://github.com/Electric-Coin-Company/zcash-light-client-ffi from cache (111.41s)
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.1 (112.35s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.4 (0.86s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/171] Fetching swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.4 (2.19s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (1.22s)
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/6127] Fetching swift-nio-extras
[492/10030] Fetching swift-nio-extras, swift-log
[6053/11844] Fetching swift-nio-extras, swift-log, swift-atomics
[6072/26919] Fetching swift-nio-extras, swift-log, swift-atomics, swift-nio-ssl
[6283/44313] Fetching swift-nio-extras, swift-log, swift-atomics, swift-nio-ssl, swift-collections
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.16s)
[10634/38186] Fetching swift-log, swift-atomics, swift-nio-ssl, swift-collections
Fetching https://github.com/apple/swift-nio-transport-services.git
[13964/40884] Fetching swift-log, swift-atomics, swift-nio-ssl, swift-collections, swift-nio-transport-services
[16798/81030] Fetching swift-log, swift-atomics, swift-nio-ssl, swift-collections, swift-nio-transport-services, swift-protobuf
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.64s)
[22932/78332] Fetching swift-log, swift-atomics, swift-nio-ssl, swift-collections, swift-protobuf
Fetching https://github.com/apple/swift-nio-http2.git
[39641/89993] Fetching swift-log, swift-atomics, swift-nio-ssl, swift-collections, swift-protobuf, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.98s)
[60668/78332] Fetching swift-log, swift-atomics, swift-nio-ssl, swift-collections, swift-protobuf
Fetching https://github.com/apple/swift-nio.git
[69501/156324] Fetching swift-log, swift-atomics, swift-nio-ssl, swift-collections, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (17.82s)
Fetched https://github.com/apple/swift-atomics.git from cache (17.82s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (17.85s)
Fetched https://github.com/apple/swift-collections.git from cache (17.93s)
Fetched https://github.com/apple/swift-protobuf.git from cache (18.01s)
Fetched https://github.com/apple/swift-nio.git from cache (13.25s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (19.18s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (0.92s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.88s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (6.54s)
Fetching https://github.com/apple/swift-system.git
[1/4941] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (3.76s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (6.78s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (4.96s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (2.75s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1629] Fetching swift-asn1
[588/6794] Fetching swift-asn1, swift-async-algorithms
[1439/7970] Fetching swift-asn1, swift-async-algorithms, swift-http-structured-headers
[2040/10403] Fetching swift-asn1, swift-async-algorithms, swift-http-structured-headers, swift-service-lifecycle
[9681/16864] Fetching swift-asn1, swift-async-algorithms, swift-http-structured-headers, swift-service-lifecycle, swift-certificates
[10005/22849] Fetching swift-asn1, swift-async-algorithms, swift-http-structured-headers, swift-service-lifecycle, swift-certificates, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (3.17s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (3.17s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-asn1.git from cache (3.93s)
Fetched https://github.com/apple/swift-certificates.git from cache (3.93s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (3.93s)
Fetched https://github.com/apple/swift-algorithms.git from cache (3.94s)
[1/917] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (1.71s)
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.45s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (2.91s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (2.54s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.60s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (3.94s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (9.23s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (4.06s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (0.91s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (0.94s)
Fetching https://github.com/apple/swift-crypto.git
[1/16374] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.18s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (2.74s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.10s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (2.03s)
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.33.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/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.29.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-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-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-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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.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.1
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.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.4
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.13.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.4.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.25.1
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.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.6.2
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.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.26.1
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.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.38.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.4.0
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[1369/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (2.02s)
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/453] Write sources
[2/453] Copying txBase64String.txt
[3/453] Write sources
[6/453] Copying txFromAndroidSDK.txt
[6/453] Copying sandblasted_mainnet_block.json
[6/453] Copying integerOverflowJSON.json
[6/453] Write sources
[6/453] Copying cache.db
[6/453] Copying PrivacyInfo.xcprivacy
[6/453] Write sources
[6/453] Copying darkside_data.db
[6/453] Write sources
[6/453] Copying darkside_caches.db
[6/453] Write sources
[33/453] Copying sapling-output.params
[34/453] Compiling _AtomicsShims.c
[35/453] Compiling CNIOWindows WSAStartup.c
[36/453] Compiling CNIOWindows shim.c
[36/453] Compiling CNIOWASI CNIOWASI.c
[38/453] Compiling CNIOPosix event_loop_id.c
[39/453] Compiling CNIOLinux liburing_shims.c
[40/453] Compiling CNIOLinux shim.c
[41/453] Copying test_data.db
[42/453] Compiling CNIODarwin shim.c
[43/453] Compiling CNIOLLHTTP c_nio_http.c
[44/453] Copying sapling-spend.params
[45/453] Copying checkpoints
[46/453] Compiling CNIOLLHTTP c_nio_api.c
[46/453] Compiling fiat_p256_adx_sqr.S
[48/453] Compiling fiat_p256_adx_mul.S
[49/453] Compiling fiat_curve25519_adx_square.S
[50/453] Compiling fiat_curve25519_adx_mul.S
[51/453] Write swift-version-24593BA9C3E375BF.txt
[52/453] Compiling CNIOBoringSSLShims shims.c
[53/457] Compiling CNIOLLHTTP c_nio_llhttp.c
[55/457] Emitting module _NIODataStructures
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/457] 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>
      |          ^~~~~~~~~~~
[55/457] 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>
      |          ^~~~~~~~~~~
[55/457] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
[55/457] Compiling tls_method.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>
      |          ^~~~~~~~~~~
[55/457] Compiling tls13_server.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/457] Compiling tls13_both.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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_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.
[2/402] Compiling tls13_both.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 error generated.
[2/402] Compiling tls_method.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/ssl_x509.cc:23:
/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 ssl_x509.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>
      |          ^~~~~~~~~~~
1 error generated.
[2/402] 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/402] Compiling tls13_client.cc
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>
      |          ^~~~~~~~~~~
[2/402] Compiling t1_enc.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
BUILD FAILURE 6.1 wasm