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 FastSpringStore, reference main (01c515), with Swift 6.0 for Linux on 4 Nov 2024 23:46:23 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.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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/FastSpringStore.git
Reference: main
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/CleanCocoa/FastSpringStore
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 01c5151 add Privacy Manifest files
Cloned https://github.com/CleanCocoa/FastSpringStore.git
Revision (git rev-parse @):
01c515110fb69d3662bb1a5d736b69483dea612d
SUCCESS checkout https://github.com/CleanCocoa/FastSpringStore.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CleanCocoa/FastSpringStore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/CleanCocoa/TrialLicensing.git
[8/745] Fetching triallicensing
Fetched https://github.com/CleanCocoa/TrialLicensing.git from cache (0.35s)
Computing version for https://github.com/CleanCocoa/TrialLicensing.git
Computed https://github.com/CleanCocoa/TrialLicensing.git at 3.4.0 (3.19s)
Fetching https://github.com/glebd/cocoafob
[1/1700] Fetching cocoafob
Fetched https://github.com/glebd/cocoafob from cache (0.38s)
Computing version for https://github.com/glebd/cocoafob
Computed https://github.com/glebd/cocoafob at 2.4.0 (0.90s)
Creating working copy for https://github.com/CleanCocoa/TrialLicensing.git
Working copy of https://github.com/CleanCocoa/TrialLicensing.git resolved at 3.4.0
Creating working copy for https://github.com/glebd/cocoafob
Working copy of https://github.com/glebd/cocoafob resolved at 2.4.0
[1397/1998034] Downloading https://github.com/DivineDominion/FsprgEmbeddedStoreMac/releases/download/2.0.0/FsprgEmbeddedStore.xcframework.zip
Downloading binary artifact https://github.com/DivineDominion/FsprgEmbeddedStoreMac/releases/download/2.0.0/FsprgEmbeddedStore.xcframework.zip
Downloaded https://github.com/DivineDominion/FsprgEmbeddedStoreMac/releases/download/2.0.0/FsprgEmbeddedStore.xcframework.zip (0.64s)
Building for debugging...
[0/14] Write sources
[2/14] Copying PrivacyInfo.xcprivacy
[4/14] Write sources
[5/14] Copying PrivacyInfo.xcprivacy
[7/14] Copying FastSpringStoreWindowController.xib
[8/14] Write sources
[10/14] Write swift-version-24593BA9C3E375BF.txt
[12/39] Compiling FastSpringStore NSLayoutConstraint+prioritized.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
 1 | import Cocoa
   |        `- error: no such module 'Cocoa'
 2 | import WebKit
 3 |
[13/40] Compiling FastSpringStore NSView+constrainToSuperviewBounds.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
 1 | import Cocoa
   |        `- error: no such module 'Cocoa'
 2 | import WebKit
 3 |
[14/40] Compiling FastSpringStore FastSpringStoreViewController.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
 1 | import Cocoa
   |        `- error: no such module 'Cocoa'
 2 | import WebKit
 3 |
[15/40] Compiling FastSpringStore FastSpringStoreWindowController.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
 1 | import Cocoa
   |        `- error: no such module 'Cocoa'
 2 | import WebKit
 3 |
[16/40] Compiling Trial TrialTimer.swift
[17/41] Compiling FastSpringStore FastSpringStoreJavaScriptBridge.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
 1 | import Cocoa
   |        `- error: no such module 'Cocoa'
 2 | import WebKit
 3 |
[18/41] Compiling FastSpringStore resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
 1 | import Cocoa
   |        `- error: no such module 'Cocoa'
 2 | import WebKit
 3 |
[19/41] Compiling FastSpringStore FastSpringStore.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
 1 | import Cocoa
   |        `- error: no such module 'Cocoa'
 2 | import WebKit
 3 |
[20/41] Compiling FastSpringStore DynamicAppearanceWebView.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
 1 | import Cocoa
   |        `- error: no such module 'Cocoa'
 2 | import WebKit
 3 |
[21/41] Compiling FastSpringStore FastSpringPurchase.swift
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
 1 | import Cocoa
   |        `- error: no such module 'Cocoa'
 2 | import WebKit
 3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/41] Emitting module FastSpringStore
/host/spi-builder-workspace/Sources/FastSpringStore/DynamicAppearanceWebView.swift:1:8: error: no such module 'Cocoa'
 1 | import Cocoa
   |        `- error: no such module 'Cocoa'
 2 | import WebKit
 3 |
[23/41] Compiling Trial TrialPeriod.swift
[24/41] Emitting module Trial
[27/41] Compiling CocoaFob CocoaFobError.swift
[28/41] Compiling Trial TrialProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/41] Emitting module CocoaFob
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:75: error: cannot find type 'CFError' in scope
 9 | import Foundation
10 |
11 | func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
   |                                                                           `- error: cannot find type 'CFError' in scope
12 |   var cferr: Unmanaged<CFError>? = nil
13 |   if !cfBlock(&cferr).boolValue {
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:11:90: error: cannot find type 'DarwinBoolean' in scope
 9 | import Foundation
10 |
11 | func cfTry(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> DarwinBoolean) throws {
   |                                                                                          `- error: cannot find type 'DarwinBoolean' in scope
12 |   var cferr: Unmanaged<CFError>? = nil
13 |   if !cfBlock(&cferr).boolValue {
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/CFUtil.swift:22:78: error: cannot find type 'CFError' in scope
20 | }
21 |
22 | func cfTry<T>(_ err: CocoaFobError, cfBlock: (UnsafeMutablePointer<Unmanaged<CFError>?>) -> T?) throws -> T {
   |                                                                              `- error: cannot find type 'CFError' in scope
23 |   var cferr: Unmanaged<CFError>? = nil
24 |   if let result = cfBlock(&cferr) {
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:16:16: error: cannot find type 'SecKey' in scope
 14 | public struct LicenseGenerator {
 15 |
 16 |   var privKey: SecKey
    |                `- error: cannot find type 'SecKey' in scope
 17 |
 18 |   // MARK: - Initialization
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:76:88: error: cannot find type 'SecGroupTransform' in scope
 74 |   // MARK: - Utility functions
 75 |
 76 |   fileprivate func connectTransforms(_ signer: SecTransform, encoder: SecTransform) -> SecGroupTransform? {
    |                                                                                        `- error: cannot find type 'SecGroupTransform' in scope
 77 |     guard let groupTransform = getGroupTransform() else { return nil }
 78 |     return SecTransformConnectTransforms(signer, kSecTransformOutputAttributeName, encoder, kSecTransformInputAttributeName, groupTransform, nil)
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:76:48: error: cannot find type 'SecTransform' in scope
 74 |   // MARK: - Utility functions
 75 |
 76 |   fileprivate func connectTransforms(_ signer: SecTransform, encoder: SecTransform) -> SecGroupTransform? {
    |                                                `- error: cannot find type 'SecTransform' in scope
 77 |     guard let groupTransform = getGroupTransform() else { return nil }
 78 |     return SecTransformConnectTransforms(signer, kSecTransformOutputAttributeName, encoder, kSecTransformInputAttributeName, groupTransform, nil)
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:76:71: error: cannot find type 'SecTransform' in scope
 74 |   // MARK: - Utility functions
 75 |
 76 |   fileprivate func connectTransforms(_ signer: SecTransform, encoder: SecTransform) -> SecGroupTransform? {
    |                                                                       `- error: cannot find type 'SecTransform' in scope
 77 |     guard let groupTransform = getGroupTransform() else { return nil }
 78 |     return SecTransformConnectTransforms(signer, kSecTransformOutputAttributeName, encoder, kSecTransformInputAttributeName, groupTransform, nil)
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:81:43: error: cannot find type 'SecGroupTransform' in scope
 79 |   }
 80 |
 81 |   fileprivate func getGroupTransform() -> SecGroupTransform? {
    |                                           `- error: cannot find type 'SecGroupTransform' in scope
 82 |     return SecTransformCreateGroupTransform()
 83 |   }
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:89:39: error: cannot find type 'SecTransform' in scope
 87 |   }
 88 |
 89 |   func getSigner(_ nameData: Data) -> SecTransform? {
    |                                       `- error: cannot find type 'SecTransform' in scope
 90 |     do {
 91 |       let signer = try cfTry(.error) { return SecSignTransformCreate(self.privKey, $0) }
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseGenerator.swift:100:36: error: cannot find type 'SecTransform' in scope
 98 |   }
 99 |
100 |   fileprivate func getEncoder() -> SecTransform? {
    |                                    `- error: cannot find type 'SecTransform' in scope
101 |     do {
102 |       let encoder = try cfTry(.error) { return SecEncodeTransformCreate(kSecBase32Encoding, $0) }
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:16:15: error: cannot find type 'SecKey' in scope
 14 | public struct LicenseVerifier {
 15 |
 16 |   var pubKey: SecKey
    |               `- error: cannot find type 'SecKey' in scope
 17 |
 18 |   // MARK: - Initialization
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:85:60: error: cannot find type 'SecTransform' in scope
 83 |
 84 |   // MARK: - Helper functions
 85 |   fileprivate func getEncoder(_ signature: Data) throws -> SecTransform {
    |                                                            `- error: cannot find type 'SecTransform' in scope
 86 |     let encoder = try cfTry(.error) { return SecEncodeTransformCreate(kSecBase32Encoding, $0) }
 87 |     let _ = try cfTry(.error) { return SecTransformSetAttribute(encoder, kSecTransformInputAttributeName, signature as CFTypeRef, $0) }
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:91:58: error: cannot find type 'SecTransform' in scope
 89 |   }
 90 |
 91 |   fileprivate func getDecoder(_ keyData: Data) throws -> SecTransform {
    |                                                          `- error: cannot find type 'SecTransform' in scope
 92 |     let decoder = try cfTry(.error) { return SecDecodeTransformCreate(kSecBase32Encoding, $0) }
 93 |     let _ = try cfTry(.error) { return SecTransformSetAttribute(decoder, kSecTransformInputAttributeName, keyData as CFTypeRef, $0) }
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:97:96: error: cannot find type 'SecTransform' in scope
 95 |   }
 96 |
 97 |   fileprivate func getVerifier(_ publicKey: SecKey, signature: Data, nameData: Data) throws -> SecTransform {
    |                                                                                                `- error: cannot find type 'SecTransform' in scope
 98 |     let verifier = try cfTry(.error) { return SecVerifyTransformCreate(publicKey, signature as CFData?, $0) }
 99 |     let _ = try cfTry(.error) { return SecTransformSetAttribute(verifier, kSecTransformInputAttributeName, nameData as CFTypeRef, $0) }
/host/spi-builder-workspace/.build/checkouts/cocoafob/swift5/CocoaFob/LicenseVerifier.swift:97:45: error: cannot find type 'SecKey' in scope
 95 |   }
 96 |
 97 |   fileprivate func getVerifier(_ publicKey: SecKey, signature: Data, nameData: Data) throws -> SecTransform {
    |                                             `- error: cannot find type 'SecKey' in scope
 98 |     let verifier = try cfTry(.error) { return SecVerifyTransformCreate(publicKey, signature as CFData?, $0) }
 99 |     let _ = try cfTry(.error) { return SecTransformSetAttribute(verifier, kSecTransformInputAttributeName, nameData as CFTypeRef, $0) }
BUILD FAILURE 6.0 linux