The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build TPInAppReceipt, reference 3.4.1 (e13505), with Swift 6.1 for Linux on 28 Apr 2025 14:07:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tikhop/TPInAppReceipt.git
Reference: 3.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/tikhop/TPInAppReceipt
 * tag               3.4.1      -> FETCH_HEAD
HEAD is now at e135055 Merge pull request #122 from tikhop/develop
Cloned https://github.com/tikhop/TPInAppReceipt.git
Revision (git rev-parse @):
e135055eaeba5a52874b7f9b290f42890cbe981f
SUCCESS checkout https://github.com/tikhop/TPInAppReceipt.git at 3.4.1
========================================
Build
========================================
Selected platform:         linux
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-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/tikhop/ASN1Swift
[1/577] Fetching asn1swift
Fetched https://github.com/tikhop/ASN1Swift from cache (0.21s)
Computing version for https://github.com/tikhop/ASN1Swift
Computed https://github.com/tikhop/ASN1Swift at 1.2.7 (0.62s)
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] Write sources
[0/8] Copying AppleIncRootCertificate.cer
[2/8] Copying StoreKitTestCertificate.cer
[4/8] Copying PrivacyInfo.xcprivacy
[7/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/23] Compiling ASN1Swift ASN1Coder.swift
[10/23] Compiling ASN1Swift ASN1Decoder+Extras.swift
[11/23] 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
[12/24] 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
[13/24] 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
[14/24] Compiling ASN1Swift ASN1Types.swift
[15/24] Compiling ASN1Swift DecodingError+Extensions.swift
[16/24] Compiling ASN1Swift ASN1Decoder+Unboxing.swift
[17/24] Compiling ASN1Swift ASN1Decoder+UnkeyedDecodingContainer.swift
[18/24] Compiling ASN1Swift ASN1Serialization.swift
[19/24] Compiling ASN1Swift ASN1Templates.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-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/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
[10/17] Compiling ASN1Swift ASN1Coder.swift
[11/17] Compiling ASN1Swift ASN1Decoder+Extras.swift
[12/17] Compiling ASN1Swift ASN1Decoder+Utils.swift
[13/17] Compiling ASN1Swift ASN1Decoder.swift
[14/17] Compiling ASN1Swift ASN1Decoder+KeyedDecodingContainer.swift
[15/17] Compiling ASN1Swift ASN1Decoder+SingleValueContainer.swift
[16/17] Compiling ASN1Swift ASN1Decoder+Unboxing.swift
[17/17] Compiling ASN1Swift ASN1Decoder+UnkeyedDecodingContainer.swift
BUILD FAILURE 6.1 linux