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 TPInAppReceipt, reference master (bc703d), with Swift 6.1 for Wasm on 19 Aug 2025 05:23:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tikhop/TPInAppReceipt.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at bc703db Create FUNDING.yml
Cloned https://github.com/tikhop/TPInAppReceipt.git
Revision (git rev-parse @):
bc703db3141142bfa29c13dab11956ab51785210
SUCCESS checkout https://github.com/tikhop/TPInAppReceipt.git at master
========================================
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" : "asn1swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tikhop/ASN1Swift"
    }
  ],
  "manifest_display_name" : "TPInAppReceipt",
  "name" : "TPInAppReceipt",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "6.2"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "TPInAppReceipt",
      "targets" : [
        "TPInAppReceipt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TPInAppReceipt-Objc",
      "targets" : [
        "TPInAppReceipt-Objc"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TPInAppReceiptTests",
      "module_type" : "SwiftTarget",
      "name" : "TPInAppReceiptTests",
      "path" : "Tests/TPInAppReceiptTests",
      "sources" : [
        "Device.swift",
        "PerformanceTests.swift",
        "ReceiptData.swift",
        "TPInAppReceiptTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "TPInAppReceipt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TPInAppReceipt_Objc",
      "module_type" : "SwiftTarget",
      "name" : "TPInAppReceipt-Objc",
      "path" : "Sources/Objc",
      "product_memberships" : [
        "TPInAppReceipt-Objc"
      ],
      "sources" : [
        "InAppReceipt+Objc.swift"
      ],
      "target_dependencies" : [
        "TPInAppReceipt"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TPInAppReceipt",
      "module_type" : "SwiftTarget",
      "name" : "TPInAppReceipt",
      "path" : "Sources",
      "product_dependencies" : [
        "ASN1Swift"
      ],
      "product_memberships" : [
        "TPInAppReceipt",
        "TPInAppReceipt-Objc"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/AppleIncRootCertificate.cer",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/StoreKitTestCertificate.cer",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Bundle+Extension.swift",
        "Data+Extension.swift",
        "Date+Extension.swift",
        "Extras.swift",
        "IARError.swift",
        "InAppPurchase.swift",
        "InAppReceipt+ASN1Decodable.swift",
        "InAppReceipt.swift",
        "InAppReceiptPayload.swift",
        "Initialization.swift",
        "Validation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/tikhop/ASN1Swift
[1/577] Fetching asn1swift
Fetched https://github.com/tikhop/ASN1Swift from cache (0.42s)
Computing version for https://github.com/tikhop/ASN1Swift
Computed https://github.com/tikhop/ASN1Swift at 1.2.7 (1.37s)
Creating working copy for https://github.com/tikhop/ASN1Swift
Working copy of https://github.com/tikhop/ASN1Swift resolved at 1.2.7
Building for debugging...
[0/8] Copying AppleIncRootCertificate.cer
[0/8] Write sources
[1/8] Copying PrivacyInfo.xcprivacy
[3/8] Write sources
[4/8] Copying PrivacyInfo.xcprivacy
[6/8] Copying StoreKitTestCertificate.cer
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/23] Compiling ASN1Swift ASN1Types.swift
[10/23] Compiling ASN1Swift DecodingError+Extensions.swift
[11/23] Compiling ASN1Swift Foundation+ASN1Coder.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Swift/Sources/ASN1Swift/PKCS7/PKCS7.swift:32:32: error: cannot find type 'SecKeyAlgorithm' in scope
 30 | {
 31 | 	@available(iOS 10.0, *)
 32 | 	func encryptionAlgorithm() -> SecKeyAlgorithm
    |                                `- error: cannot find type 'SecKeyAlgorithm' in scope
 33 | 	{
 34 | 		switch self
[12/23] Compiling ASN1Swift PKCS7.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Swift/Sources/ASN1Swift/PKCS7/PKCS7.swift:32:32: error: cannot find type 'SecKeyAlgorithm' in scope
 30 | {
 31 | 	@available(iOS 10.0, *)
 32 | 	func encryptionAlgorithm() -> SecKeyAlgorithm
    |                                `- error: cannot find type 'SecKeyAlgorithm' in scope
 33 | 	{
 34 | 		switch self
[13/24] Compiling ASN1Swift ASN1Serialization.swift
[14/24] Compiling ASN1Swift ASN1Templates.swift
[15/24] Compiling ASN1Swift ASN1Coder.swift
[16/24] Compiling ASN1Swift ASN1Decoder+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/24] Emitting module ASN1Swift
/host/spi-builder-workspace/.build/checkouts/ASN1Swift/Sources/ASN1Swift/PKCS7/PKCS7.swift:32:32: error: cannot find type 'SecKeyAlgorithm' in scope
 30 | {
 31 | 	@available(iOS 10.0, *)
 32 | 	func encryptionAlgorithm() -> SecKeyAlgorithm
    |                                `- error: cannot find type 'SecKeyAlgorithm' in scope
 33 | 	{
 34 | 		switch self
[18/24] Compiling ASN1Swift ASN1Decoder+Unboxing.swift
[19/24] Compiling ASN1Swift ASN1Decoder+UnkeyedDecodingContainer.swift
[20/24] Compiling ASN1Swift ASN1Decoder+Utils.swift
[21/24] Compiling ASN1Swift ASN1Decoder.swift
[22/24] Compiling ASN1Swift ASN1Decoder+KeyedDecodingContainer.swift
[23/24] Compiling ASN1Swift ASN1Decoder+SingleValueContainer.swift
[24/24] Compiling ASN1Swift resource_bundle_accessor.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling ASN1Swift Foundation+ASN1Coder.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Swift/Sources/ASN1Swift/PKCS7/PKCS7.swift:32:32: error: cannot find type 'SecKeyAlgorithm' in scope
 30 | {
 31 | 	@available(iOS 10.0, *)
 32 | 	func encryptionAlgorithm() -> SecKeyAlgorithm
    |                                `- error: cannot find type 'SecKeyAlgorithm' in scope
 33 | 	{
 34 | 		switch self
[3/16] Compiling ASN1Swift PKCS7.swift
/host/spi-builder-workspace/.build/checkouts/ASN1Swift/Sources/ASN1Swift/PKCS7/PKCS7.swift:32:32: error: cannot find type 'SecKeyAlgorithm' in scope
 30 | {
 31 | 	@available(iOS 10.0, *)
 32 | 	func encryptionAlgorithm() -> SecKeyAlgorithm
    |                                `- error: cannot find type 'SecKeyAlgorithm' in scope
 33 | 	{
 34 | 		switch self
[4/17] Compiling ASN1Swift ASN1Serialization.swift
[5/17] Compiling ASN1Swift ASN1Templates.swift
[6/17] Compiling ASN1Swift ASN1Types.swift
[7/17] Compiling ASN1Swift DecodingError+Extensions.swift
[8/17] Compiling ASN1Swift resource_bundle_accessor.swift
[9/17] Compiling ASN1Swift ASN1Decoder+Utils.swift
[10/17] Compiling ASN1Swift ASN1Decoder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/17] Compiling ASN1Swift ASN1Decoder+KeyedDecodingContainer.swift
[12/17] Compiling ASN1Swift ASN1Decoder+SingleValueContainer.swift
[13/17] Compiling ASN1Swift ASN1Decoder+Unboxing.swift
[14/17] Compiling ASN1Swift ASN1Decoder+UnkeyedDecodingContainer.swift
[15/17] Compiling ASN1Swift ASN1Coder.swift
[16/17] Compiling ASN1Swift ASN1Decoder+Extras.swift
[17/17] Emitting module ASN1Swift
/host/spi-builder-workspace/.build/checkouts/ASN1Swift/Sources/ASN1Swift/PKCS7/PKCS7.swift:32:32: error: cannot find type 'SecKeyAlgorithm' in scope
 30 | {
 31 | 	@available(iOS 10.0, *)
 32 | 	func encryptionAlgorithm() -> SecKeyAlgorithm
    |                                `- error: cannot find type 'SecKeyAlgorithm' in scope
 33 | 	{
 34 | 		switch self
BUILD FAILURE 6.1 wasm