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

Successful build of TrialLicense, reference 3.4.0 (bded19), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 01:34:27 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/TrialLicensing.git
Reference: 3.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CleanCocoa/TrialLicensing
 * tag               3.4.0      -> FETCH_HEAD
HEAD is now at bded194 remove Carthage dependencies since we don't have an Xcode project anymore
Cloned https://github.com/CleanCocoa/TrialLicensing.git
Revision (git rev-parse @):
bded194498fea436fbf7fa4756cc5efe26479f39
SUCCESS checkout https://github.com/CleanCocoa/TrialLicensing.git at 3.4.0
Fetching https://github.com/glebd/cocoafob
[1/1700] Fetching cocoafob
Fetched https://github.com/glebd/cocoafob from cache (0.97s)
Computing version for https://github.com/glebd/cocoafob
Computed https://github.com/glebd/cocoafob at 2.4.0 (0.55s)
Creating working copy for https://github.com/glebd/cocoafob
Working copy of https://github.com/glebd/cocoafob resolved at 2.4.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "triallicensing",
      "name": "TrialLicense",
      "url": "https://github.com/CleanCocoa/TrialLicensing.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TrialLicensing",
      "dependencies": [
        {
          "identity": "cocoafob",
          "name": "CocoaFob",
          "url": "https://github.com/glebd/cocoafob",
          "version": "2.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/cocoafob",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/CleanCocoa/TrialLicensing.git
[1/745] Fetching triallicensing
Fetched https://github.com/CleanCocoa/TrialLicensing.git from cache (0.92s)
Fetching https://github.com/glebd/cocoafob from cache
Fetched https://github.com/glebd/cocoafob from cache (0.47s)
Computing version for https://github.com/glebd/cocoafob
Computed https://github.com/glebd/cocoafob at 2.4.0 (0.03s)
Creating working copy for https://github.com/glebd/cocoafob
Working copy of https://github.com/glebd/cocoafob resolved at 2.4.0
Creating working copy for https://github.com/CleanCocoa/TrialLicensing.git
Working copy of https://github.com/CleanCocoa/TrialLicensing.git resolved at 3.4.0 (bded194)
warning: '.resolve-product-dependencies': dependency 'triallicensing' is not used by any target
Found 1 product dependencies
  - CocoaFob
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CleanCocoa/TrialLicensing.git
{
  "dependencies" : [
    {
      "identity" : "cocoafob",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/glebd/cocoafob"
    }
  ],
  "manifest_display_name" : "TrialLicense",
  "name" : "TrialLicense",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "TrialLicense",
      "targets" : [
        "TrialLicense"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Trial",
      "targets" : [
        "Trial"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TrialTests",
      "module_type" : "SwiftTarget",
      "name" : "TrialTests",
      "path" : "Tests/TrialTests",
      "sources" : [
        "Helpers.swift",
        "TrialPeriodTests.swift",
        "TrialProviderTests.swift",
        "TrialWriterTests.swift",
        "UserDefaultsTrialPeriodReaderTests.swift"
      ],
      "target_dependencies" : [
        "Trial"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TrialLicenseTests",
      "module_type" : "SwiftTarget",
      "name" : "TrialLicenseTests",
      "path" : "Tests/TrialLicenseTests",
      "sources" : [
        "GenericRegistrationStrategyTests.swift",
        "Helpers.swift",
        "LicenseInformationProviderTests.swift",
        "LicenseInformationTests.swift",
        "LicenseVerifierTests.swift",
        "LicensingSchemeTests.swift",
        "PersonalizedLicenseRegistrationStrategyTests.swift",
        "RegisterApplicationTests.swift",
        "UserDefaultsLicenseProviderTests.swift",
        "UserDefaultsLicenseWriterTests.swift"
      ],
      "target_dependencies" : [
        "TrialLicense"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TrialLicense",
      "module_type" : "SwiftTarget",
      "name" : "TrialLicense",
      "path" : "Sources/TrialLicense",
      "product_dependencies" : [
        "CocoaFob"
      ],
      "product_memberships" : [
        "TrialLicense"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AppLicensing.swift",
        "Collection+safeSubscript.swift",
        "GenericRegistrationStrategy.swift",
        "License.swift",
        "LicenseConfiguration.swift",
        "LicenseInformation.swift",
        "LicenseInformationProvider.swift",
        "LicenseVerifier.swift",
        "LicensingScheme.swift",
        "PersonalizedLicenseRegistrationStrategy.swift",
        "RegisterApplication.swift",
        "RegistrationPayload.swift",
        "Sequence+mapDictionary.swift",
        "String+replacingCharactersOfnCharacterSetWith.swift",
        "TrialRunner.swift",
        "URLComponents.swift",
        "URLQueryLicenseParser.swift",
        "UserDefaultsLicenseProvider.swift",
        "UserDefaultsLicenseWriter.swift"
      ],
      "target_dependencies" : [
        "Trial"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Trial",
      "module_type" : "SwiftTarget",
      "name" : "Trial",
      "path" : "Sources/Trial",
      "product_memberships" : [
        "TrialLicense",
        "Trial"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Trial/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "CancelableTimedBlock.swift",
        "Clock.swift",
        "Days.swift",
        "Trial.swift",
        "TrialPeriod.swift",
        "TrialProvider.swift",
        "TrialTimer.swift",
        "TrialWriter.swift",
        "UserDefaultsTrialPeriodReader.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/8] Write sources
[3/8] Copying PrivacyInfo.xcprivacy
[5/8] Write swift-version--7754E27361AE5C74.txt
[7/24] Emitting module Trial
[8/24] Compiling Trial CancelableTimedBlock.swift
/Users/admin/builder/spi-builder-workspace/Sources/Trial/CancelableTimedBlock.swift:18:47: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
 7 | typealias CancelableDispatchBlock = (_ cancel: Bool) -> Void
 8 |
 9 | func dispatch(cancelableBlock block: @escaping () -> Void, atDate date: Date) -> CancelableDispatchBlock? {
   |                               `- note: parameter 'block' is implicitly non-sendable
10 |
11 |     // Use two pointers for the same block handle to make
   :
16 |
17 |         if !cancel {
18 |             DispatchQueue.main.async(execute: block)
   |                                               `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
19 |         }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Trial/CancelableTimedBlock.swift:29:49: warning: sending 'cancelableBlock' risks causing data races; this is an error in the Swift 6 language mode
27 |     DispatchQueue.main.asyncAfter(wallDeadline: DispatchWallTime.now() + .seconds(delay)) {
28 |
29 |         guard case let .some(cancelableBlock) = cancelableBlock else { return }
   |                                                 |- warning: sending 'cancelableBlock' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'cancelableBlock' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
30 |
31 |         cancelableBlock(false)
[9/25] Compiling CocoaFob String+CocoaFob.swift
[10/25] Compiling CocoaFob LicenseVerifier.swift
[11/25] Compiling Trial UserDefaultsTrialPeriodReader.swift
[12/25] Compiling Trial TrialWriter.swift
[13/25] Compiling Trial TrialProvider.swift
[14/25] Compiling Trial Clock.swift
[15/25] Compiling Trial Trial.swift
[16/25] Compiling Trial TrialPeriod.swift
[17/25] Compiling Trial Days.swift
[18/25] Compiling Trial TrialTimer.swift
[19/25] Compiling CocoaFob CocoaFobError.swift
[20/25] Emitting module CocoaFob
[21/25] Compiling CocoaFob LicenseGenerator.swift
[22/25] Compiling CocoaFob CFUtil.swift
[22/25] Write Objects.LinkFileList
[23/25] Archiving libCocoaFob.a
[25/25] Compiling Trial resource_bundle_accessor.swift
[26/44] Compiling TrialLicense RegisterApplication.swift
[27/44] Compiling TrialLicense RegistrationPayload.swift
[28/46] Compiling TrialLicense TrialRunner.swift
[29/46] Compiling TrialLicense URLComponents.swift
[30/46] Compiling TrialLicense Sequence+mapDictionary.swift
[31/46] Compiling TrialLicense String+replacingCharactersOfnCharacterSetWith.swift
[32/46] Compiling TrialLicense LicensingScheme.swift
[33/46] Compiling TrialLicense PersonalizedLicenseRegistrationStrategy.swift
[34/46] Compiling TrialLicense LicenseInformationProvider.swift
[35/46] Compiling TrialLicense LicenseVerifier.swift
[36/46] Compiling TrialLicense URLQueryLicenseParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/License.swift:34:27: warning: static property 'licenseCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 |         public static var name = "licensee"
34 |         public static var licenseCode = "license_code"
   |                           |- warning: static property 'licenseCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'licenseCode' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'licenseCode' 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
35 |     }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/License.swift:33:27: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |         }
32 |
33 |         public static var name = "licensee"
   |                           |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'name' 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
34 |         public static var licenseCode = "license_code"
35 |     }
[37/46] Compiling TrialLicense UserDefaultsLicenseProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/License.swift:34:27: warning: static property 'licenseCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 |         public static var name = "licensee"
34 |         public static var licenseCode = "license_code"
   |                           |- warning: static property 'licenseCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'licenseCode' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'licenseCode' 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
35 |     }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/License.swift:33:27: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |         }
32 |
33 |         public static var name = "licensee"
   |                           |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'name' 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
34 |         public static var licenseCode = "license_code"
35 |     }
[38/46] Compiling TrialLicense GenericRegistrationStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/License.swift:33:27: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |         }
32 |
33 |         public static var name = "licensee"
   |                           |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'name' 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
34 |         public static var licenseCode = "license_code"
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/License.swift:34:27: warning: static property 'licenseCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 |         public static var name = "licensee"
34 |         public static var licenseCode = "license_code"
   |                           |- warning: static property 'licenseCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'licenseCode' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'licenseCode' 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
35 |     }
36 | }
[39/46] Compiling TrialLicense License.swift
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/License.swift:33:27: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |         }
32 |
33 |         public static var name = "licensee"
   |                           |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'name' 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
34 |         public static var licenseCode = "license_code"
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/License.swift:34:27: warning: static property 'licenseCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 |         public static var name = "licensee"
34 |         public static var licenseCode = "license_code"
   |                           |- warning: static property 'licenseCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'licenseCode' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'licenseCode' 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
35 |     }
36 | }
[40/46] Compiling TrialLicense LicenseConfiguration.swift
[41/46] Compiling TrialLicense LicenseInformation.swift
[42/46] Emitting module TrialLicense
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/AppLicensing.swift:18:36: warning: static property 'sharedInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 | public class AppLicensing {
 17 |
 18 |     public static private(set) var sharedInstance: AppLicensing?
    |                                    |- warning: static property 'sharedInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                    |- note: convert 'sharedInstance' to a 'let' constant to make 'Sendable' shared state immutable
    |                                    |- note: annotate 'sharedInstance' 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
 19 |
 20 |     /// - returns: `nil` if the `AppLicensing` module wasn't set up prior to accessing the value, or the up-to date information otherwise.
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/License.swift:33:27: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |         }
32 |
33 |         public static var name = "licensee"
   |                           |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'name' 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
34 |         public static var licenseCode = "license_code"
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/License.swift:34:27: warning: static property 'licenseCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 |         public static var name = "licensee"
34 |         public static var licenseCode = "license_code"
   |                           |- warning: static property 'licenseCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'licenseCode' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'licenseCode' 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
35 |     }
36 | }
[43/46] Compiling TrialLicense AppLicensing.swift
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/AppLicensing.swift:18:36: warning: static property 'sharedInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 | public class AppLicensing {
 17 |
 18 |     public static private(set) var sharedInstance: AppLicensing?
    |                                    |- warning: static property 'sharedInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                    |- note: convert 'sharedInstance' to a 'let' constant to make 'Sendable' shared state immutable
    |                                    |- note: annotate 'sharedInstance' 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
 19 |
 20 |     /// - returns: `nil` if the `AppLicensing` module wasn't set up prior to accessing the value, or the up-to date information otherwise.
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/AppLicensing.swift:367:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
365 |         DispatchQueue.main.async {
366 |
367 |             self.licenseChangeBlock(licenseInformation)
    |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
368 |         }
369 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/AppLicensing.swift:367:37: warning: sending 'licenseInformation' risks causing data races; this is an error in the Swift 6 language mode
365 |         DispatchQueue.main.async {
366 |
367 |             self.licenseChangeBlock(licenseInformation)
    |                                     |- warning: sending 'licenseInformation' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: task-isolated 'licenseInformation' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
368 |         }
369 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/AppLicensing.swift:375:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
373 |         DispatchQueue.main.async {
374 |
375 |             self.invalidLicenseInformationBlock(payload)
    |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
376 |         }
377 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/AppLicensing.swift:375:49: warning: sending 'payload' risks causing data races; this is an error in the Swift 6 language mode
373 |         DispatchQueue.main.async {
374 |
375 |             self.invalidLicenseInformationBlock(payload)
    |                                                 |- warning: sending 'payload' risks causing data races; this is an error in the Swift 6 language mode
    |                                                 `- note: task-isolated 'payload' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
376 |         }
377 |     }
[44/46] Compiling TrialLicense Collection+safeSubscript.swift
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/AppLicensing.swift:18:36: warning: static property 'sharedInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 | public class AppLicensing {
 17 |
 18 |     public static private(set) var sharedInstance: AppLicensing?
    |                                    |- warning: static property 'sharedInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                    |- note: convert 'sharedInstance' to a 'let' constant to make 'Sendable' shared state immutable
    |                                    |- note: annotate 'sharedInstance' 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
 19 |
 20 |     /// - returns: `nil` if the `AppLicensing` module wasn't set up prior to accessing the value, or the up-to date information otherwise.
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/AppLicensing.swift:367:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
365 |         DispatchQueue.main.async {
366 |
367 |             self.licenseChangeBlock(licenseInformation)
    |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
368 |         }
369 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/AppLicensing.swift:367:37: warning: sending 'licenseInformation' risks causing data races; this is an error in the Swift 6 language mode
365 |         DispatchQueue.main.async {
366 |
367 |             self.licenseChangeBlock(licenseInformation)
    |                                     |- warning: sending 'licenseInformation' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: task-isolated 'licenseInformation' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
368 |         }
369 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/AppLicensing.swift:375:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
373 |         DispatchQueue.main.async {
374 |
375 |             self.invalidLicenseInformationBlock(payload)
    |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
376 |         }
377 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/AppLicensing.swift:375:49: warning: sending 'payload' risks causing data races; this is an error in the Swift 6 language mode
373 |         DispatchQueue.main.async {
374 |
375 |             self.invalidLicenseInformationBlock(payload)
    |                                                 |- warning: sending 'payload' risks causing data races; this is an error in the Swift 6 language mode
    |                                                 `- note: task-isolated 'payload' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
376 |         }
377 |     }
[45/46] Compiling TrialLicense UserDefaultsLicenseWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/License.swift:33:27: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |         }
32 |
33 |         public static var name = "licensee"
   |                           |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'name' 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
34 |         public static var licenseCode = "license_code"
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/License.swift:34:27: warning: static property 'licenseCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 |         public static var name = "licensee"
34 |         public static var licenseCode = "license_code"
   |                           |- warning: static property 'licenseCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'licenseCode' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'licenseCode' 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
35 |     }
36 | }
[46/46] Compiling TrialLicense resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/License.swift:33:27: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |         }
32 |
33 |         public static var name = "licensee"
   |                           |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'name' 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
34 |         public static var licenseCode = "license_code"
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/License.swift:34:27: warning: static property 'licenseCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 |         public static var name = "licensee"
34 |         public static var licenseCode = "license_code"
   |                           |- warning: static property 'licenseCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'licenseCode' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: annotate 'licenseCode' 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
35 |     }
36 | }
Build complete! (25.09s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "cocoafob",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/glebd/cocoafob"
    }
  ],
  "manifest_display_name" : "TrialLicense",
  "name" : "TrialLicense",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "TrialLicense",
      "targets" : [
        "TrialLicense"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Trial",
      "targets" : [
        "Trial"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TrialTests",
      "module_type" : "SwiftTarget",
      "name" : "TrialTests",
      "path" : "Tests/TrialTests",
      "sources" : [
        "Helpers.swift",
        "TrialPeriodTests.swift",
        "TrialProviderTests.swift",
        "TrialWriterTests.swift",
        "UserDefaultsTrialPeriodReaderTests.swift"
      ],
      "target_dependencies" : [
        "Trial"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TrialLicenseTests",
      "module_type" : "SwiftTarget",
      "name" : "TrialLicenseTests",
      "path" : "Tests/TrialLicenseTests",
      "sources" : [
        "GenericRegistrationStrategyTests.swift",
        "Helpers.swift",
        "LicenseInformationProviderTests.swift",
        "LicenseInformationTests.swift",
        "LicenseVerifierTests.swift",
        "LicensingSchemeTests.swift",
        "PersonalizedLicenseRegistrationStrategyTests.swift",
        "RegisterApplicationTests.swift",
        "UserDefaultsLicenseProviderTests.swift",
        "UserDefaultsLicenseWriterTests.swift"
      ],
      "target_dependencies" : [
        "TrialLicense"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TrialLicense",
      "module_type" : "SwiftTarget",
      "name" : "TrialLicense",
      "path" : "Sources/TrialLicense",
      "product_dependencies" : [
        "CocoaFob"
      ],
      "product_memberships" : [
        "TrialLicense"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/TrialLicense/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AppLicensing.swift",
        "Collection+safeSubscript.swift",
        "GenericRegistrationStrategy.swift",
        "License.swift",
        "LicenseConfiguration.swift",
        "LicenseInformation.swift",
        "LicenseInformationProvider.swift",
        "LicenseVerifier.swift",
        "LicensingScheme.swift",
        "PersonalizedLicenseRegistrationStrategy.swift",
        "RegisterApplication.swift",
        "RegistrationPayload.swift",
        "Sequence+mapDictionary.swift",
        "String+replacingCharactersOfnCharacterSetWith.swift",
        "TrialRunner.swift",
        "URLComponents.swift",
        "URLQueryLicenseParser.swift",
        "UserDefaultsLicenseProvider.swift",
        "UserDefaultsLicenseWriter.swift"
      ],
      "target_dependencies" : [
        "Trial"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Trial",
      "module_type" : "SwiftTarget",
      "name" : "Trial",
      "path" : "Sources/Trial",
      "product_memberships" : [
        "TrialLicense",
        "Trial"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Trial/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "CancelableTimedBlock.swift",
        "Clock.swift",
        "Days.swift",
        "Trial.swift",
        "TrialPeriod.swift",
        "TrialProvider.swift",
        "TrialTimer.swift",
        "TrialWriter.swift",
        "UserDefaultsTrialPeriodReader.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.