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.4.1 (0bd788), with Swift 6.1 for Wasm on 3 Dec 2025 21:35:51 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.git
Reference: 2.4.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk
 * tag               2.4.1      -> FETCH_HEAD
HEAD is now at 0bd788c Merge pull request #1625 from LukasKorba/1624-Release-2-4-1
Cloned https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.git
Revision (git rev-parse @):
0bd788c333fb45334e25515f14b420322d72a38e
SUCCESS checkout https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.git at 2.4.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.git
https://github.com/Electric-Coin-Company/zcash-swift-wallet-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "grpc-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.24.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/grpc/grpc-swift.git"
    },
    {
      "identity" : "sqlite.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.15.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stephencelis/SQLite.swift.git"
    },
    {
      "identity" : "zcash-light-client-ffi",
      "requirement" : {
        "exact" : [
          "0.19.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Electric-Coin-Company/zcash-light-client-ffi"
    }
  ],
  "manifest_display_name" : "ZcashLightClientKit",
  "name" : "ZcashLightClientKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "ZcashLightClientKit",
      "targets" : [
        "ZcashLightClientKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ZcashLightClientKit",
      "module_type" : "SwiftTarget",
      "name" : "ZcashLightClientKit",
      "path" : "Sources/ZcashLightClientKit",
      "product_dependencies" : [
        "SQLite",
        "GRPC",
        "libzcashlc"
      ],
      "product_memberships" : [
        "ZcashLightClientKit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/ZcashLightClientKit/Resources/checkpoints",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Account/Account.swift",
        "Account/AccountMetadataKey.swift",
        "Block/Actions/Action.swift",
        "Block/Actions/ClearAlreadyScannedBlocksAction.swift",
        "Block/Actions/ClearCacheAction.swift",
        "Block/Actions/DownloadAction.swift",
        "Block/Actions/EnhanceAction.swift",
        "Block/Actions/FetchUTXOsAction.swift",
        "Block/Actions/MigrateLegacyCacheDBAction.swift",
        "Block/Actions/ProcessSuggestedScanRangesAction.swift",
        "Block/Actions/RewindAction.swift",
        "Block/Actions/SaplingParamsAction.swift",
        "Block/Actions/ScanAction.swift",
        "Block/Actions/TxResubmissionAction.swift",
        "Block/Actions/UpdateChainTipAction.swift",
        "Block/Actions/UpdateSubtreeRootsAction.swift",
        "Block/Actions/ValidateServerAction.swift",
        "Block/CompactBlockProcessor.swift",
        "Block/DatabaseStorage/ConnectorProvider.swift",
        "Block/DatabaseStorage/DatabaseStorageError.swift",
        "Block/DatabaseStorage/SimpleConnectionProvider.swift",
        "Block/Download/BlockDownloader.swift",
        "Block/Download/BlockDownloaderService.swift",
        "Block/Enhance/BlockEnhancer.swift",
        "Block/FetchUnspentTxOutputs/UTXOFetcher.swift",
        "Block/FilesystemStorage/FSCompactBlockRepository.swift",
        "Block/SaplingParameters/SaplingParametersHandler.swift",
        "Block/Scan/BlockScanner.swift",
        "Block/Utils/AfterSyncHooksManager.swift",
        "Block/Utils/CompactBlockProgress.swift",
        "Block/Utils/SyncControlData.swift",
        "Checkpoint/BundleCheckpointSource.swift",
        "Checkpoint/BundleCheckpointURLProvider.swift",
        "Checkpoint/Checkpoint+helpers.swift",
        "Checkpoint/Checkpoint.swift",
        "Checkpoint/CheckpointSource.swift",
        "Checkpoint/CheckpointSourceFactory.swift",
        "ClosureSynchronizer.swift",
        "CombineSynchronizer.swift",
        "Constants/Checkpoint+mainnet.swift",
        "Constants/Checkpoint+testnet.swift",
        "Constants/ZcashSDK.swift",
        "DAO/BlockDao.swift",
        "DAO/PagedTransactionDao.swift",
        "DAO/TransactionDao.swift",
        "DAO/UnspentTransactionOutputDao.swift",
        "Entity/AccountEntity.swift",
        "Entity/EncodedTransactionEntity.swift",
        "Entity/Pczt.swift",
        "Entity/SentNoteEntity.swift",
        "Entity/TransactionEntity.swift",
        "Entity/UnspentTransactionOutputEntity.swift",
        "Entity/ZcashCompactBlock.swift",
        "Error/ZcashError.swift",
        "Error/ZcashErrorCode.swift",
        "Error/ZcashErrorCodeDefinition.swift",
        "Extensions/Bool+ToData.swift",
        "Extensions/Data+ToOtherTypes.swift",
        "Extensions/Data+Zcash.swift",
        "Extensions/Data+internal.swift",
        "Extensions/Error+ZcashError.swift",
        "Extensions/HexEncode.swift",
        "Extensions/Int+ToData.swift",
        "Extensions/NumberFormatter+Zcash.swift",
        "Extensions/URL+UpdateWithAlias.swift",
        "Extensions/Undescribable.swift",
        "Extensions/Zatoshi+SQLite.swift",
        "Extensions/ZcashRust+Utils.swift",
        "Extensions/ZcashSDK+extensions.swift",
        "Initializer.swift",
        "Metrics/SDKMetrics.swift",
        "Model/FiatCurrencyResult.swift",
        "Model/Memo.swift",
        "Model/Proposal.swift",
        "Model/ScanRange.swift",
        "Model/ScanSummary.swift",
        "Model/SingleUseTransparentAddress.swift",
        "Model/TransactionDataRequest.swift",
        "Model/TxId.swift",
        "Model/WalletSummary.swift",
        "Model/WalletTypes.swift",
        "Model/Zatoshi.swift",
        "Modules/Service/GRPC/LightWalletGRPCService.swift",
        "Modules/Service/GRPC/ProtoBuf/Extensions/Protocolbuffer+Extensions.swift",
        "Modules/Service/GRPC/ProtoBuf/compact_formats.pb.swift",
        "Modules/Service/GRPC/ProtoBuf/proposal.pb.swift",
        "Modules/Service/GRPC/ProtoBuf/service.grpc.swift",
        "Modules/Service/GRPC/ProtoBuf/service.pb.swift",
        "Modules/Service/LightWalletService.swift",
        "Modules/Service/Tor/LightWalletGRPCServiceOverTor.swift",
        "Providers/LatestBlocksDataProvider.swift",
        "Providers/ResourceProvider.swift",
        "Repository/BlockRepository.swift",
        "Repository/CompactBlockRepository.swift",
        "Repository/NotesRepository.swift",
        "Repository/PaginatedTransactionRepository.swift",
        "Repository/TransactionRepository.swift",
        "Repository/TransactionRepositoryBuilder.swift",
        "Rust/ZcashKeyDerivationBackend.swift",
        "Rust/ZcashKeyDerivationBackendWelding.swift",
        "Rust/ZcashRustBackend.swift",
        "Rust/ZcashRustBackendWelding.swift",
        "Synchronizer.swift",
        "Synchronizer/ClosureSDKSynchronizer.swift",
        "Synchronizer/CombineSDKSynchronizer.swift",
        "Synchronizer/Dependencies.swift",
        "Synchronizer/SDKSynchronizer.swift",
        "Tool/DerivationTool.swift",
        "Tor/TorClient.swift",
        "Transaction/TransactionEncoder.swift",
        "Transaction/WalletTransactionEncoder.swift",
        "Utils/AsyncToClosureGateway.swift",
        "Utils/AsyncToCombineGateway.swift",
        "Utils/Clamped.swift",
        "Utils/DBActor.swift",
        "Utils/DIContainer.swift",
        "Utils/GenericActor.swift",
        "Utils/LoggingProxy.swift",
        "Utils/OSLogger.swift",
        "Utils/SDKFlags.swift",
        "Utils/SaplingParameterDownloader.swift",
        "Utils/SpecificCombineTypes.swift",
        "Utils/SyncSessionIDGenerator.swift",
        "Utils/Task+sleep.swift",
        "Utils/UsedAliasesChecker.swift",
        "Utils/ZcashFileManager.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TestUtils",
      "module_type" : "SwiftTarget",
      "name" : "TestUtils",
      "path" : "Tests/TestUtils",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/cache.db",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/darkside_caches.db",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/darkside_data.db",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/integerOverflowJSON.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/sandblasted_mainnet_block.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/sapling-output.params",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/sapling-spend.params",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/test_data.db",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/txBase64String.txt",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TestUtils/Resources/txFromAndroidSDK.txt",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ActionContext+tests.swift",
        "CompactBlockProcessorEventHandler.swift",
        "DarkSideWalletService.swift",
        "DarksideMainnetCheckpointSource.swift",
        "FakeChainBuilder.swift",
        "FakeService.swift",
        "FakeStorage.swift",
        "LoggerProxy.swift",
        "MockSessionIDGenerator.swift",
        "MockTransactionRepository.swift",
        "SDKSynchronizerSyncStatusHandler.swift",
        "Sourcery/AutoMockable.swift",
        "Sourcery/GeneratedMocks/AutoMockable.generated.swift",
        "Stubs.swift",
        "TestCoordinator.swift",
        "TestDbBuilder.swift",
        "TestVector.swift",
        "Tests+Utils.swift",
        "TestsData.swift",
        "UnspentTransactionOutputEntityMock.swift",
        "ZcashTestCase.swift",
        "proto/darkside.grpc.swift",
        "proto/darkside.pb.swift"
      ],
      "target_dependencies" : [
        "ZcashLightClientKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PerformanceTests",
      "module_type" : "SwiftTarget",
      "name" : "PerformanceTests",
      "path" : "Tests/PerformanceTests",
      "sources" : [
        "SynchronizerTests.swift"
      ],
      "target_dependencies" : [
        "ZcashLightClientKit",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OfflineTests",
      "module_type" : "SwiftTarget",
      "name" : "OfflineTests",
      "path" : "Tests/OfflineTests",
      "sources" : [
        "BirthdayTests.swift",
        "CheckpointSourceTests.swift",
        "ClosureSynchronizerOfflineTests.swift",
        "CombineSynchronizerOfflineTests.swift",
        "CompactBlockProcessorActions/ActionContextStateTests.swift",
        "CompactBlockProcessorActions/ClearAlreadyScannedBlocksActionTests.swift",
        "CompactBlockProcessorActions/ClearCacheActionTests.swift",
        "CompactBlockProcessorActions/DownloadActionTests.swift",
        "CompactBlockProcessorActions/EnhanceActionTests.swift",
        "CompactBlockProcessorActions/FetchUTXOsActionTests.swift",
        "CompactBlockProcessorActions/MigrateLegacyCacheDBActionTests.swift",
        "CompactBlockProcessorActions/ProcessSuggestedScanRangesActionTests.swift",
        "CompactBlockProcessorActions/RewindActionTests.swift",
        "CompactBlockProcessorActions/SaplingParamsActionTests.swift",
        "CompactBlockProcessorActions/ScanActionTests.swift",
        "CompactBlockProcessorActions/UpdateChainTipActionTests.swift",
        "CompactBlockProcessorActions/UpdateSubtreeRootsActionTests.swift",
        "CompactBlockProcessorActions/ValidateServerActionTests.swift",
        "CompactBlockRepositoryTests.swift",
        "DerivationToolTests/DerivationToolMainnetTests.swift",
        "DerivationToolTests/DerivationToolTestnetTests.swift",
        "FsBlockStorageTests.swift",
        "InitializerOfflineTests.swift",
        "MemoTests.swift",
        "NullBytesTests.swift",
        "PagedTransactionRepositoryTests.swift",
        "RawTransactionTests.swift",
        "RecipientTests.swift",
        "SynchronizerOfflineTests.swift",
        "TransactionRepositoryTests.swift",
        "TxIdTests.swift",
        "UndescribableTests.swift",
        "UnifiedTypecodesTests.swift",
        "WalletTests.swift",
        "ZatoshiTests.swift",
        "ZcashRustBackendTests.swift",
        "ZcashTransactionStateTests.swift",
        "Zip302MemoTests.swift",
        "Zip325Tests.swift"
      ],
      "target_dependencies" : [
        "ZcashLightClientKit",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetworkTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkTests",
      "path" : "Tests/NetworkTests",
      "sources" : [
        "BlockStreamingTest.swift",
        "CompactBlockProcessorTests.swift",
        "CompactBlockReorgTests.swift",
        "DownloadTests.swift",
        "LightWalletServiceTests.swift",
        "TorClientTests.swift"
      ],
      "target_dependencies" : [
        "ZcashLightClientKit",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DarksideTests",
      "module_type" : "SwiftTarget",
      "name" : "DarksideTests",
      "path" : "Tests/DarksideTests",
      "sources" : [
        "AdvancedReOrgTests.swift",
        "BalanceTests.swift",
        "BlockDownloaderTests.swift",
        "DarksideSanityCheckTests.swift",
        "PaymentURIFulfillmentTests.swift",
        "PendingTransactionUpdatesTest.swift",
        "ReOrgTests.swift",
        "RewindRescanTests.swift",
        "ShieldFundsTests.swift",
        "SynchronizerDarksideTests.swift",
        "SynchronizerTests.swift",
        "TransactionEnhancementTests.swift",
        "Z2TReceiveTests.swift"
      ],
      "target_dependencies" : [
        "ZcashLightClientKit",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AliasDarksideTests",
      "module_type" : "SwiftTarget",
      "name" : "AliasDarksideTests",
      "path" : "Tests/AliasDarksideTests",
      "sources" : [
        "SDKSynchronizerAliasDarksideTests.swift"
      ],
      "target_dependencies" : [
        "ZcashLightClientKit",
        "TestUtils"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/Electric-Coin-Company/zcash-light-client-ffi
[1/10087] Fetching sqlite.swift
[1212/61460] Fetching sqlite.swift, grpc-swift
[61461/65163] Fetching sqlite.swift, grpc-swift, zcash-light-client-ffi
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (3.87s)
Fetched https://github.com/grpc/grpc-swift.git from cache (3.92s)
[624/3703] Fetching zcash-light-client-ffi
Fetched https://github.com/Electric-Coin-Company/zcash-light-client-ffi from cache (163.99s)
Computing version for https://github.com/Electric-Coin-Company/zcash-light-client-ffi
Computed https://github.com/Electric-Coin-Company/zcash-light-client-ffi at 0.19.1 (174.71s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.4 (9.15s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/204] Fetching swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (4.46s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.4 (9.41s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.0 (8.48s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-collections.git
[1/5676] Fetching swift-log
[5677/24001] Fetching swift-log, swift-collections
[6410/39289] Fetching swift-log, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git from cache (0.65s)
[7150/33613] Fetching swift-collections, swift-nio-ssl
Fetching https://github.com/apple/swift-nio-transport-services.git
[33614/36422] Fetching swift-collections, swift-nio-ssl, swift-nio-transport-services
Fetched https://github.com/apple/swift-collections.git from cache (4.62s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-protobuf.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (4.77s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.48s)
[1/11718] Fetching swift-nio-http2
[5275/18054] Fetching swift-nio-http2, swift-nio-extras
[18055/19874] Fetching swift-nio-http2, swift-nio-extras, swift-atomics
[19875/100475] Fetching swift-nio-http2, swift-nio-extras, swift-atomics, swift-nio
[29548/141964] Fetching swift-nio-http2, swift-nio-extras, swift-atomics, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio-http2.git from cache (6.86s)
[90076/130246] Fetching swift-nio-extras, swift-atomics, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-atomics.git from cache (18.21s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (18.21s)
Fetched https://github.com/apple/swift-protobuf.git from cache (18.28s)
Fetched https://github.com/apple/swift-nio.git from cache (19.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (29.82s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (0.60s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.69s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (0.84s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.0 (0.85s)
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/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/2568] Fetching swift-service-lifecycle
[207/4231] Fetching swift-service-lifecycle, swift-asn1
[1256/5435] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers
[4127/11476] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-algorithms
[4248/17265] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-algorithms, swift-async-algorithms
[4390/24291] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-algorithms, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.45s)
[21060/23087] Fetching swift-service-lifecycle, swift-asn1, swift-algorithms, swift-async-algorithms, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.45s)
[18622/20519] Fetching swift-asn1, swift-algorithms, swift-async-algorithms, swift-certificates
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-asn1.git from cache (0.58s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.59s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.62s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.65s)
[1/943] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.32s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.41s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.7.0 (1.69s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (0.60s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (0.77s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.87s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.69s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.61s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.67s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.88s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.94s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.0 (0.76s)
Fetching https://github.com/apple/swift-crypto.git
[1/17465] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.94s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.91.0 (3.41s)
Fetching https://github.com/apple/swift-system.git
[1/5181] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.98s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.74s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (2.38s)
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.91.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.31.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.1
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.27.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/Electric-Coin-Company/zcash-light-client-ffi
Working copy of https://github.com/Electric-Coin-Company/zcash-light-client-ffi resolved at 0.19.1
Creating working copy for https://github.com/apple/swift-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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.7.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.3
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
Creating working copy for https://github.com/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-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.33.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.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
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:264:42: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
262 |     }
263 |
264 |     let workDirectory = PathLike(context.pluginWorkDirectory)
    |                                          |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
    |                                          `- note: use 'pluginWorkDirectoryURL' instead
265 |
266 |     return try self.createBuildCommands(
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:287:18: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
285 |
286 |   init(_ path: String) {
287 |     self.value = Path(path)
    |                  `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
288 |   }
289 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:291:26: warning: 'path' is deprecated: renamed to 'url'
289 |
290 |   init(_ element: FileList.Element) {
291 |     self.value = element.path
    |                          |- warning: 'path' is deprecated: renamed to 'url'
    |                          `- note: use 'url' instead
292 |   }
293 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:295:26: warning: 'path' is deprecated: renamed to 'url'
293 |
294 |   init(_ element: PluginContext.Tool) {
295 |     self.value = element.path
    |                          |- warning: 'path' is deprecated: renamed to 'url'
    |                          `- note: use 'url' instead
296 |   }
297 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:303:23: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
301 |
302 |   var lastComponent: String {
303 |     return self.value.lastComponent
    |                       `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
304 |   }
305 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:308:29: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
306 |   func removingLastComponent() -> Self {
307 |     var copy = self
308 |     copy.value = self.value.removingLastComponent()
    |                             `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
309 |     return copy
310 |   }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:314:29: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
312 |   func appending(_ path: String) -> Self {
313 |     var copy = self
314 |     copy.value = self.value.appending(path)
    |                             `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
315 |     return copy
316 |   }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:327:17: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
325 |     outputFiles: [PathLike]
326 |   ) -> PackagePlugin.Command {
327 |     return Self.buildCommand(
    |                 `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
328 |       displayName: displayName,
329 |       executable: executable.value,
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:339:35: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
337 | extension URL {
338 |   init(_ pathLike: PathLike) {
339 |     self = URL(fileURLWithPath: "\(pathLike.value)")
    |                                   `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
340 |   }
341 | }
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/454] Copying sandblasted_mainnet_block.json
[2/454] Copying integerOverflowJSON.json
[2/454] Write sources
[2/454] Copying cache.db
[2/454] Write sources
[2/454] Copying txFromAndroidSDK.txt
[2/454] Copying txBase64String.txt
[2/454] Copying darkside_caches.db
[2/454] Write sources
[11/454] Copying PrivacyInfo.xcprivacy
[20/454] Write sources
[32/454] Copying darkside_data.db
[32/454] Copying sapling-output.params
[34/454] Copying test_data.db
[35/454] Copying sapling-spend.params
[36/454] Compiling CNIOWindows shim.c
[37/454] Compiling CNIOWindows WSAStartup.c
[38/454] Compiling _AtomicsShims.c
[39/454] Compiling CNIOPosix event_loop_id.c
[40/454] Compiling CNIOOpenBSD shim.c
[41/454] Compiling CNIOWASI CNIOWASI.c
[42/454] Compiling CNIOLinux shim.c
[43/454] Compiling CNIOLinux liburing_shims.c
[44/454] Compiling CNIODarwin shim.c
[45/454] Copying checkpoints
[46/454] Compiling CNIOLLHTTP c_nio_http.c
[47/454] Compiling fiat_p256_adx_mul.S
[48/454] Compiling fiat_p256_adx_sqr.S
[49/454] Compiling fiat_curve25519_adx_mul.S
[50/454] Compiling fiat_curve25519_adx_square.S
[51/454] Compiling CNIOLLHTTP c_nio_api.c
[52/454] Write swift-version-24593BA9C3E375BF.txt
[53/454] Compiling CNIOBoringSSLShims shims.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>
      |          ^~~~~~~~~~~
1 error generated.
[54/458] 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.
[54/458] 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>
      |          ^~~~~~~~~~~
[54/458] Compiling tls13_enc.cc
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_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>
      |          ^~~~~~~~~~~
[54/458] Compiling tls13_client.cc
[54/458] Compiling CNIOLLHTTP c_nio_llhttp.c
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>
      |          ^~~~~~~~~~~
[54/458] Compiling tls13_server.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[54/458] Compiling tls_record.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'sqlite.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/PrivacyInfo.xcprivacy
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:264:42: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
262 |     }
263 |
264 |     let workDirectory = PathLike(context.pluginWorkDirectory)
    |                                          |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
    |                                          `- note: use 'pluginWorkDirectoryURL' instead
265 |
266 |     return try self.createBuildCommands(
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:287:18: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
285 |
286 |   init(_ path: String) {
287 |     self.value = Path(path)
    |                  `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
288 |   }
289 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:291:26: warning: 'path' is deprecated: renamed to 'url'
289 |
290 |   init(_ element: FileList.Element) {
291 |     self.value = element.path
    |                          |- warning: 'path' is deprecated: renamed to 'url'
    |                          `- note: use 'url' instead
292 |   }
293 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:295:26: warning: 'path' is deprecated: renamed to 'url'
293 |
294 |   init(_ element: PluginContext.Tool) {
295 |     self.value = element.path
    |                          |- warning: 'path' is deprecated: renamed to 'url'
    |                          `- note: use 'url' instead
296 |   }
297 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:303:23: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
301 |
302 |   var lastComponent: String {
303 |     return self.value.lastComponent
    |                       `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
304 |   }
305 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:308:29: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
306 |   func removingLastComponent() -> Self {
307 |     var copy = self
308 |     copy.value = self.value.removingLastComponent()
    |                             `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
309 |     return copy
310 |   }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:314:29: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
312 |   func appending(_ path: String) -> Self {
313 |     var copy = self
314 |     copy.value = self.value.appending(path)
    |                             `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
315 |     return copy
316 |   }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:327:17: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
325 |     outputFiles: [PathLike]
326 |   ) -> PackagePlugin.Command {
327 |     return Self.buildCommand(
    |                 `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
328 |       displayName: displayName,
329 |       executable: executable.value,
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:339:35: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
337 | extension URL {
338 |   init(_ pathLike: PathLike) {
339 |     self = URL(fileURLWithPath: "\(pathLike.value)")
    |                                   `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`.
340 |   }
341 | }
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/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 tls13_both.cc
[2/403] Compiling c-atomics.c
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/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/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
[2/403] Compiling c-nioatomics.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>
      |          ^~~~~~~~~~~
[2/403] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm