Build Information
Failed to build TPInAppReceipt with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
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 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 master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/tikhop/TPInAppReceipt.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/tikhop/ASN1Swift
[1/577] Fetching asn1swift
Fetched https://github.com/tikhop/ASN1Swift from cache (0.20s)
Computing version for https://github.com/tikhop/ASN1Swift
Computed https://github.com/tikhop/ASN1Swift at 1.2.6 (0.39s)
Creating working copy for https://github.com/tikhop/ASN1Swift
Working copy of https://github.com/tikhop/ASN1Swift resolved at 1.2.6
Building for debugging...
[0/8] Write sources
[1/8] Copying StoreKitTestCertificate.cer
[2/8] Copying PrivacyInfo.xcprivacy
[2/8] Copying AppleIncRootCertificate.cer
[5/8] Write sources
[5/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] 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/24] Compiling ASN1Swift resource_bundle_accessor.swift
[11/24] Compiling ASN1Swift ASN1Types.swift
[12/24] Compiling ASN1Swift DecodingError+Extensions.swift
[13/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
[14/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
[15/24] Compiling ASN1Swift ASN1Coder.swift
[16/24] Compiling ASN1Swift ASN1Decoder+Extras.swift
[17/24] Compiling ASN1Swift ASN1Decoder+Utils.swift
[18/24] Compiling ASN1Swift ASN1Decoder.swift
[19/24] Compiling ASN1Swift ASN1Serialization.swift
[20/24] Compiling ASN1Swift ASN1Templates.swift
[21/24] Compiling ASN1Swift ASN1Decoder+KeyedDecodingContainer.swift
[22/24] Compiling ASN1Swift ASN1Decoder+SingleValueContainer.swift
[23/24] Compiling ASN1Swift ASN1Decoder+Unboxing.swift
[24/24] Compiling ASN1Swift ASN1Decoder+UnkeyedDecodingContainer.swift
BUILD FAILURE 6.0 linux