The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ProvisioningProfile, reference v1.0.2 (a54afd), with Swift 6.1 for Android on 30 May 2025 11:22:37 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChrisMash/ProvisioningProfile.git
Reference: v1.0.2
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
 * tag               v1.0.2     -> FETCH_HEAD
HEAD is now at a54afd5 Fixed failure to Stringify profile on loading
Cloned https://github.com/ChrisMash/ProvisioningProfile.git
Revision (git rev-parse @):
a54afd5a8f1445da50109d498fba91fe4259ac3e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChrisMash/ProvisioningProfile.git at v1.0.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ChrisMash/ProvisioningProfile.git
https://github.com/ChrisMash/ProvisioningProfile.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ProvisioningProfile",
  "name" : "ProvisioningProfile",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "ProvisioningProfile",
      "targets" : [
        "ProvisioningProfile"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ProvisioningProfileTests",
      "module_type" : "SwiftTarget",
      "name" : "ProvisioningProfileTests",
      "path" : "Tests/ProvisioningProfileTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/embedded.mobileprovision",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/embedded.provisionprofile",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/invaliddate.mobileprovision",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/missingdate.mobileprovision",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/test.txt",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "FileLoaderTests.swift",
        "ProvisioningProfileParserTests.swift",
        "ProvisioningProfileTests.swift",
        "TestLogger.swift",
        "TestUtils.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ProvisioningProfile"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProvisioningProfile",
      "module_type" : "SwiftTarget",
      "name" : "ProvisioningProfile",
      "path" : "Sources/ProvisioningProfile",
      "product_memberships" : [
        "ProvisioningProfile"
      ],
      "sources" : [
        "FileLoader.swift",
        "Logger.swift",
        "ProvisioningProfile.swift",
        "ProvisioningProfileParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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
[4/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: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'cachedProfile' part of global actor 'MainActor'
    |                         `- 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: add '@MainActor' to make static property 'bundleToLoadFrom' part of global actor 'MainActor'
    |                         `- 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.
[5/7] Compiling ProvisioningProfile FileLoader.swift
[6/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: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'cachedProfile' part of global actor 'MainActor'
    |                         `- 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: add '@MainActor' to make static property 'bundleToLoadFrom' part of global actor 'MainActor'
    |                         `- 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling ProvisioningProfile Logger.swift
[3/6] Emitting module ProvisioningProfile
[4/6] Compiling ProvisioningProfile FileLoader.swift
[5/6] 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/6] Compiling ProvisioningProfile ProvisioningProfile.swift
BUILD FAILURE 6.1 android