The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TPInAppReceipt, reference 4.0.2 (3ec500), with Swift 6.1 for Wasm on 6 Feb 2026 19:06:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/tikhop/TPInAppReceipt.git
Reference: 4.0.2
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/tikhop/TPInAppReceipt
 * tag               4.0.2      -> FETCH_HEAD
HEAD is now at 3ec5000 chore: Prepare for release 4.0.2 (#142)
Cloned https://github.com/tikhop/TPInAppReceipt.git
Revision (git rev-parse @):
3ec500058c3cb62d0e736bf83c22b93b60279bd0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/tikhop/TPInAppReceipt.git at 4.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tikhop/TPInAppReceipt.git
https://github.com/tikhop/TPInAppReceipt.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-asn1",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-asn1"
    },
    {
      "identity" : "swift-certificates",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.15.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-certificates.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "async-http-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.24.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/async-http-client.git"
    }
  ],
  "manifest_display_name" : "TPInAppReceipt",
  "name" : "TPInAppReceipt",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.2"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "TPInAppReceipt",
      "targets" : [
        "TPInAppReceipt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TPInAppReceiptTests",
      "module_type" : "SwiftTarget",
      "name" : "TPInAppReceiptTests",
      "path" : "Tests",
      "product_dependencies" : [
        "SwiftASN1",
        "X509",
        "Crypto"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/Assets",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AppReceiptTests.swift",
        "Blocking/AppReceiptBlockingTests.swift",
        "Core/InAppPurchaseTests.swift",
        "Decoding/AppReceiptDecoderTests.swift",
        "Decoding/SwiftASN1DecoderTests.swift",
        "Extras/IntroOfferEligibilityTests.swift",
        "Extras/PurchaseQueryTests.swift",
        "Mocks.swift",
        "TestingUtility.swift",
        "Validation/ReceiptValidatorTests.swift",
        "Validation/VerifierBuilderTests.swift",
        "Validation/Verifiers/ChainVerifierTests.swift",
        "Validation/Verifiers/ErrorPathTests.swift",
        "Validation/Verifiers/HashVerifierTests.swift",
        "Validation/Verifiers/MetaVerifierTests.swift",
        "Validation/Verifiers/SignatureVerifierTests.swift"
      ],
      "target_dependencies" : [
        "TPInAppReceipt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TPInAppReceipt",
      "module_type" : "SwiftTarget",
      "name" : "TPInAppReceipt",
      "path" : "Sources",
      "product_dependencies" : [
        "SwiftASN1",
        "X509",
        "Crypto",
        "AsyncHTTPClient"
      ],
      "product_memberships" : [
        "TPInAppReceipt"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/AppleIncRootCertificate.cer",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/StoreKitTestCertificate.cer",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AppReceipt.swift",
        "Blocking/AppReceipt+Blocking.swift",
        "Core/AppReceiptField.swift",
        "Core/InAppPurchase.swift",
        "Core/PCKS7/AlgorithmIdentifier.swift",
        "Core/PCKS7/Attribute.swift",
        "Core/PCKS7/ContentInfo.swift",
        "Core/PCKS7/EncapsulatedContentInfo.swift",
        "Core/PCKS7/IssuerAndSerialNumber.swift",
        "Core/PCKS7/SignedData.swift",
        "Core/PCKS7/SignerIdentifier.swift",
        "Core/PCKS7/SignerInfo.swift",
        "Core/PCKS7/Time.swift",
        "Core/PCKS7/Version.swift",
        "Core/ReceiptPayload.swift",
        "Decoder/AppReceiptDecoder.swift",
        "Decoder/Engine/PCKS7+SwiftASN1/AlgorithmIdentifier+SwiftASN1.swift",
        "Decoder/Engine/PCKS7+SwiftASN1/Attribute+SwiftASN1.swift",
        "Decoder/Engine/PCKS7+SwiftASN1/ContentInfo+SwiftASN1.swift",
        "Decoder/Engine/PCKS7+SwiftASN1/EncapsulatedContentInfo+SwiftASN1.swift",
        "Decoder/Engine/PCKS7+SwiftASN1/InAppPurchase+SwiftASN1.swift",
        "Decoder/Engine/PCKS7+SwiftASN1/InAppReceiptPayload+SwiftASN1.swift",
        "Decoder/Engine/PCKS7+SwiftASN1/IssuerAndSerialNumber+SwiftASN1.swift",
        "Decoder/Engine/PCKS7+SwiftASN1/SignedData+SwiftASN1.swift",
        "Decoder/Engine/PCKS7+SwiftASN1/SignerIdentifier+SwiftASN1.swift",
        "Decoder/Engine/PCKS7+SwiftASN1/SignerInfo+SwiftASN1.swift",
        "Decoder/Engine/PCKS7+SwiftASN1/Time+SwiftASN1.swift",
        "Decoder/Engine/SwiftASN1ReceiptDecoder.swift",
        "Decoding.swift",
        "Error.swift",
        "Extensions/Bundle+Extension.swift",
        "Extensions/Data+Extension.swift",
        "Extensions/Date+Extension.swift",
        "Extensions/UUID+Extension.swift",
        "Extras.swift",
        "Validation.swift",
        "Validator/Default Verifiers/Chain/ReceiptChainVerifier.swift",
        "Validator/Default Verifiers/Chain/Sec_ChainVerifier.swift",
        "Validator/Default Verifiers/Chain/X509_ChainVerifier.swift",
        "Validator/Default Verifiers/Hash/DeviceIdentifier.swift",
        "Validator/Default Verifiers/Hash/HashVerifier.swift",
        "Validator/Default Verifiers/Hash/ReceiptHashVerifier.swift",
        "Validator/Default Verifiers/Meta/MetaVerifier.swift",
        "Validator/Default Verifiers/Meta/ReceiptMetaVerifier.swift",
        "Validator/Default Verifiers/Signature/ReceiptSignatureVerifier.swift",
        "Validator/Default Verifiers/Signature/Sec_SignatureVerifier.swift",
        "Validator/Default Verifiers/Signature/X509_SignatureVerifier.swift",
        "Validator/ReceiptValidatable.swift",
        "Validator/ReceiptVerifier.swift",
        "Validator/Validator.swift",
        "Validator/VerifierBuilder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-asn1
[1/1692] Fetching swift-asn1
[1693/8789] Fetching swift-asn1, swift-certificates
[2474/26294] Fetching swift-asn1, swift-certificates, swift-crypto
[3961/41294] Fetching swift-asn1, swift-certificates, swift-crypto, async-http-client
Fetched https://github.com/apple/swift-asn1 from cache (0.63s)
[4904/39602] Fetching swift-certificates, swift-crypto, async-http-client
Fetched https://github.com/apple/swift-certificates.git from cache (1.10s)
[15676/32505] Fetching swift-crypto, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (4.18s)
Fetched https://github.com/apple/swift-crypto.git from cache (4.23s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (10.59s)
Computing version for https://github.com/apple/swift-asn1
Computed https://github.com/apple/swift-asn1 at 1.5.1 (1.14s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.1 (1.18s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.30.3 (1.05s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/5899] Fetching swift-log
[650/11547] Fetching swift-log, swift-distributed-tracing
[825/14356] Fetching swift-log, swift-distributed-tracing, swift-nio-transport-services
[1486/20793] Fetching swift-log, swift-distributed-tracing, swift-nio-transport-services, swift-nio-extras
[3457/22613] Fetching swift-log, swift-distributed-tracing, swift-nio-transport-services, swift-nio-extras, swift-atomics
[4175/28665] Fetching swift-log, swift-distributed-tracing, swift-nio-transport-services, swift-nio-extras, swift-atomics, swift-algorithms
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.46s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-log.git from cache (1.53s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.69s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.69s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.69s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.69s)
Fetching https://github.com/apple/swift-nio.git
[1/11782] Fetching swift-nio-http2
[2004/27078] Fetching swift-nio-http2, swift-nio-ssl
[9742/108977] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.45s)
[59522/97195] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.26s)
[57330/81899] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.64s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (12.38s)
Fetching https://github.com/apple/swift-service-context.git
[1/1162] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.39s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.30s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.70s)
Fetching https://github.com/apple/swift-numerics.git
[1/6403] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (1.68s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (3.26s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.96s)
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 (1.10s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.88s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (2.22s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.32.1 (1.27s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1204] Fetching swift-http-structured-headers
[98/2155] Fetching swift-http-structured-headers, swift-http-types
[966/8240] Fetching swift-http-structured-headers, swift-http-types, swift-async-algorithms
[1357/10814] Fetching swift-http-structured-headers, swift-http-types, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.62s)
[7176/9610] Fetching swift-http-types, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-types.git from cache (0.95s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.95s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.95s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.94.0 (2.89s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/5552] Fetching swift-system
[890/25030] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.34s)
Fetched https://github.com/apple/swift-collections.git from cache (2.38s)
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 (3.40s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (1.23s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.03s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.97s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.27s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.37s)
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-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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.9.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.1
Creating working copy for https://github.com/apple/swift-asn1
Working copy of https://github.com/apple/swift-asn1 resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.94.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.30.3
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.32.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
Creating working copy for https://github.com/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.1
Building for debugging...
[0/827] Write sources
[0/827] Copying StoreKitTestCertificate.cer
[0/827] Copying AppleIncRootCertificate.cer
[0/827] Write sources
[9/827] Write swift-version-24593BA9C3E375BF.txt
[10/827] Compiling _NumericsShims _NumericsShims.c
[11/829] Compiling aes.cc
[12/829] Compiling sha1.cc
[12/829] Write sources
[15/829] Compiling _CWASI _CWASI.c
[16/829] Compiling rsa_print.cc
[17/829] Compiling a_d2i_fp.cc
[18/829] Compiling a_dup.cc
[18/829] Write sources
[42/829] Compiling CXKCPShims shims.c
[43/829] Compiling _AtomicsShims.c
[44/866] Compiling a_bool.cc
[45/866] Compiling a_bitstr.cc
[47/887] Emitting module InternalCollectionsUtilities
[48/889] Compiling _NIODataStructures _TinyArray.swift
[49/889] Compiling _CertificateInternals _TinyArray.swift
[50/889] Emitting module _CertificateInternals
[51/890] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[52/890] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[53/890] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[54/890] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[55/890] Compiling InternalCollectionsUtilities Debugging.swift
[56/890] Compiling InternalCollectionsUtilities Descriptions.swift
[57/890] Compiling InternalCollectionsUtilities _SortedCollection.swift
[58/890] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[59/890] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[60/890] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[61/890] Compiling RealModule RealFunctions.swift
[62/890] Compiling _NIODataStructures PriorityQueue.swift
[63/891] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[64/891] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[65/891] Compiling InternalCollectionsUtilities UInt+reversed.swift
[66/891] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[67/891] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[68/891] Compiling InternalCollectionsUtilities Integer rank.swift
[69/891] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[70/892] Compiling RealModule Real.swift
[71/892] Compiling RealModule Float80+Real.swift
[72/892] Compiling ServiceContextModule ServiceContext.swift
[73/892] Emitting module ServiceContextModule
[74/892] Compiling ServiceContextModule ServiceContextKey.swift
[75/892] Compiling _NIOBase64 Base64.swift
[76/892] Emitting module RealModule
[77/892] Emitting module _NIOBase64
[84/896] Compiling RealModule Float16+Real.swift
[87/896] Compiling SimpleFIPS202.c
[92/896] Compiling KeccakSponge.c
[95/896] Compiling KeccakHash.c
[96/896] Compiling CNIOWindows shim.c
[98/896] Compiling RealModule RelaxedArithmetic.swift
[98/897] Compiling CNIOWindows WSAStartup.c
[99/897] Compiling CNIOWASI CNIOWASI.c
[100/897] Compiling CNIOPosix event_loop_id.c
[101/897] Compiling CNIOOpenBSD shim.c
[103/897] Compiling CNIOLinux shim.c
[104/897] Compiling CNIOLinux liburing_shims.c
[105/916] Compiling CNIOLLHTTP c_nio_http.c
[106/918] Compiling CNIOLLHTTP c_nio_api.c
[107/918] Compiling CNIOExtrasZlib empty.c
[108/918] Compiling CNIODarwin shim.c
[110/918] Compiling Instrumentation Instrument.swift
[111/918] Compiling Instrumentation NoOpInstrument.swift
[112/918] Emitting module Instrumentation
[113/918] Compiling Instrumentation Locks.swift
[114/918] Compiling Logging MetadataProvider.swift
[115/918] Compiling Logging LogHandler.swift
[116/918] Compiling Logging Logging.swift
[117/918] Compiling Instrumentation InstrumentationSystem.swift
[118/918] Compiling Logging Locks.swift
[119/918] Emitting module Logging
[120/919] Compiling DequeModule _DequeBuffer.swift
[121/919] Compiling DequeModule _DequeBufferHeader.swift
[122/919] Compiling Instrumentation MultiplexInstrument.swift
[123/919] Compiling DequeModule Deque+Collection.swift
[124/919] Compiling DequeModule Deque+Extras.swift
[125/919] Compiling DequeModule Deque._Storage.swift
[126/919] Compiling DequeModule Deque._UnsafeHandle.swift
[127/919] Compiling DequeModule Deque.swift
[130/919] Compiling DequeModule Deque+Hashable.swift
[131/919] Compiling DequeModule Deque+Testing.swift
[132/920] Compiling _NIODataStructures Heap.swift
[133/920] Emitting module _NIODataStructures
[134/921] Compiling DequeModule Deque+CustomReflectable.swift
[135/921] Compiling DequeModule Deque+Descriptions.swift
[136/921] Compiling DequeModule Deque+Equatable.swift
[137/921] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[142/923] Compiling fiat_p256_adx_mul.S
[143/923] Compiling fiat_p256_adx_sqr.S
[144/923] Compiling fiat_curve25519_adx_square.S
[146/926] Emitting module SwiftASN1
[146/931] Compiling fiat_curve25519_adx_mul.S
[149/931] Compiling CNIOBoringSSLShims shims.c
[151/931] Compiling Tracing TracingTime.swift
[152/931] Compiling Tracing InstrumentationSystem+Tracing.swift
[153/931] Compiling Tracing NoOpTracer.swift
[154/931] Compiling DequeModule _DequeSlot.swift
[155/931] Compiling DequeModule _UnsafeWrappedBuffer.swift
[156/931] Compiling SwiftASN1 DER.swift
[157/931] Compiling SwiftASN1 Errors.swift
[158/932] Emitting module Tracing
[164/932] Compiling Tracing TracerProtocol.swift
[165/932] Compiling Tracing Tracer.swift
[166/932] Compiling Tracing TracerProtocol+Legacy.swift
[167/932] Compiling DequeModule Deque+Codable.swift
[169/932] Emitting module DequeModule
[171/933] Compiling Tracing SpanProtocol.swift
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.
[172/934] Compiling tls_record.cc
[172/934] Compiling tls13_enc.cc
[172/934] Compiling tls13_server.cc
[172/934] Compiling KeccakP-1600-opt64.c
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>
      |          ^~~~~~~~~~~
[172/934] Compiling CNIOLLHTTP c_nio_llhttp.c
[172/934] Compiling tls_method.cc
[172/934] Compiling tls13_both.cc
[172/934] Compiling tls13_client.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
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.
[0/763] Compiling tls13_enc.cc
[0/763] Compiling KeccakP-1600-opt64.c
[0/763] 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>
      |          ^~~~~~~~~~~
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>
      |          ^~~~~~~~~~~
[0/763] Compiling tls13_server.cc
[0/763] 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>
      |          ^~~~~~~~~~~
[0/763] Compiling tls_method.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>
      |          ^~~~~~~~~~~
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>
      |          ^~~~~~~~~~~
[0/763] Compiling tls_record.cc
[0/763] Compiling tls13_client.cc
BUILD FAILURE 6.1 wasm