Build Information
Failed to build ProvisioningProfile, reference main (c30888
), with Swift 6.0 for Linux on 1 Nov 2024 11:14:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/ChrisMash/ProvisioningProfile.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/ChrisMash/ProvisioningProfile
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c30888e Update README.md
Cloned https://github.com/ChrisMash/ProvisioningProfile.git
Revision (git rev-parse @):
c30888e1addb29d872ec779613fb715012b72312
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChrisMash/ProvisioningProfile.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/ChrisMash/ProvisioningProfile.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Emitting module ProvisioningProfile
/host/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:14:23: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Custom `DateFormatter` for generating `formattedExpiryDate`, defaults to `nil`.
13 | /// If required, ensure you set this property before accessing `profile()`.
14 | public static var dateFormatter: DateFormatter?
| |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
16 | /// If required, ensure you set this property before accessing `profile()`.
/host/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:17:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
16 | /// If required, ensure you set this property before accessing `profile()`.
17 | public static var logger: Logger?
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// The name of the provisioning profile, if successfully parsed.
/host/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:28:25: warning: static property 'cachedProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | public let formattedExpiryDate: String?
27 |
28 | internal static var cachedProfile: ProvisioningProfile?
| |- warning: static property 'cachedProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedProfile' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedProfile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | internal static var bundleToLoadFrom: Bundle?
30 |
/host/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:29:25: warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | internal static var cachedProfile: ProvisioningProfile?
29 | internal static var bundleToLoadFrom: Bundle?
| |- warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bundleToLoadFrom' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bundleToLoadFrom' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// The provisioning profile for the current app, if available.
[4/7] Compiling ProvisioningProfile FileLoader.swift
[5/7] Compiling ProvisioningProfile ProvisioningProfileParser.swift
/host/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfileParser.swift:62:21: warning: 'scanUpTo(_:into:)' is deprecated: renamed to 'scanUpToString(_:)'
60 | let scanner = Scanner(string: string)
61 | // Find the line with, e.g. <key>ExpirationDate</key>
62 | _ = scanner.scanUpTo("<key>\(key)</key>", into: nil)
| |- warning: 'scanUpTo(_:into:)' is deprecated: renamed to 'scanUpToString(_:)'
| `- note: use 'scanUpToString(_:)' instead
63 | // Scan up to the next, e.g. <date> tag (should be the next line)
64 | _ = scanner.scanUpTo("<\(type)>", into: nil)
/host/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfileParser.swift:64:21: warning: 'scanUpTo(_:into:)' is deprecated: renamed to 'scanUpToString(_:)'
62 | _ = scanner.scanUpTo("<key>\(key)</key>", into: nil)
63 | // Scan up to the next, e.g. <date> tag (should be the next line)
64 | _ = scanner.scanUpTo("<\(type)>", into: nil)
| |- warning: 'scanUpTo(_:into:)' is deprecated: renamed to 'scanUpToString(_:)'
| `- note: use 'scanUpToString(_:)' instead
65 | // Scan over the, e.g. <date> tag to get to the start of the expiry date string
66 | scanner.scanString("<\(type)>", into: nil)
/host/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfileParser.swift:66:17: warning: 'scanString(_:into:)' is deprecated: renamed to 'scanString(_:)'
64 | _ = scanner.scanUpTo("<\(type)>", into: nil)
65 | // Scan over the, e.g. <date> tag to get to the start of the expiry date string
66 | scanner.scanString("<\(type)>", into: nil)
| |- warning: 'scanString(_:into:)' is deprecated: renamed to 'scanString(_:)'
| `- note: use 'scanString(_:)' instead
67 | // Scan up to the, e.g. </date> tag and return what laid between
68 | var extractedNS: NSString?
/host/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfileParser.swift:69:46: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
67 | // Scan up to the, e.g. </date> tag and return what laid between
68 | var extractedNS: NSString?
69 | scanner.scanUpTo("</\(type)>", into: &extractedNS)
| |- error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
| `- note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
70 | guard let extracted = extractedNS as String? else {
71 | throw Error.notFound
[6/7] Compiling ProvisioningProfile ProvisioningProfile.swift
/host/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:14:23: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// Custom `DateFormatter` for generating `formattedExpiryDate`, defaults to `nil`.
13 | /// If required, ensure you set this property before accessing `profile()`.
14 | public static var dateFormatter: DateFormatter?
| |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
16 | /// If required, ensure you set this property before accessing `profile()`.
/host/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:17:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
16 | /// If required, ensure you set this property before accessing `profile()`.
17 | public static var logger: Logger?
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// The name of the provisioning profile, if successfully parsed.
/host/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:28:25: warning: static property 'cachedProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | public let formattedExpiryDate: String?
27 |
28 | internal static var cachedProfile: ProvisioningProfile?
| |- warning: static property 'cachedProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedProfile' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedProfile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | internal static var bundleToLoadFrom: Bundle?
30 |
/host/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:29:25: warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | internal static var cachedProfile: ProvisioningProfile?
29 | internal static var bundleToLoadFrom: Bundle?
| |- warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bundleToLoadFrom' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bundleToLoadFrom' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// The provisioning profile for the current app, if available.
[7/7] Compiling ProvisioningProfile Logger.swift
BUILD FAILURE 6.0 linux