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 NotarizeProcess, reference master (aee304), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 04:36:55 UTC.

Swift 6 data race errors: 6

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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/phimage/NotarizeProcess.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/phimage/NotarizeProcess
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at aee3040 Add github metadata: workflow and funding
Cloned https://github.com/phimage/NotarizeProcess.git
Revision (git rev-parse @):
aee3040eb46b53aff64598a02a6c3557b07dc610
SUCCESS checkout https://github.com/phimage/NotarizeProcess.git at master
Fetching https://github.com/phimage/NotarizationInfo
[1/85] Fetching notarizationinfo
Fetched https://github.com/phimage/NotarizationInfo from cache (0.59s)
Fetching https://github.com/phimage/NotarizationAuditLog
[1/32] Fetching notarizationauditlog
Fetched https://github.com/phimage/NotarizationAuditLog from cache (0.60s)
Creating working copy for https://github.com/phimage/NotarizationAuditLog
Working copy of https://github.com/phimage/NotarizationAuditLog resolved at HEAD (daa6a29)
Creating working copy for https://github.com/phimage/NotarizationInfo
Working copy of https://github.com/phimage/NotarizationInfo resolved at HEAD (0622445)
========================================
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": "notarizeprocess",
      "name": "NotarizeProcess",
      "url": "https://github.com/phimage/NotarizeProcess.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NotarizeProcess",
      "dependencies": [
        {
          "identity": "notarizationinfo",
          "name": "NotarizationInfo",
          "url": "https://github.com/phimage/NotarizationInfo",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NotarizationInfo",
          "dependencies": [
          ]
        },
        {
          "identity": "notarizationauditlog",
          "name": "NotarizationAuditLog",
          "url": "https://github.com/phimage/NotarizationAuditLog",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NotarizationAuditLog",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/phimage/NotarizeProcess.git
[1/133] Fetching notarizeprocess
Fetched https://github.com/phimage/NotarizeProcess.git from cache (0.64s)
Fetching https://github.com/phimage/NotarizationInfo from cache
Fetched https://github.com/phimage/NotarizationInfo from cache (0.42s)
Fetching https://github.com/phimage/NotarizationAuditLog from cache
Fetched https://github.com/phimage/NotarizationAuditLog from cache (0.46s)
Creating working copy for https://github.com/phimage/NotarizationAuditLog
Working copy of https://github.com/phimage/NotarizationAuditLog resolved at HEAD (511ff36)
Creating working copy for https://github.com/phimage/NotarizeProcess.git
Working copy of https://github.com/phimage/NotarizeProcess.git resolved at master (aee3040)
Creating working copy for https://github.com/phimage/NotarizationInfo
Working copy of https://github.com/phimage/NotarizationInfo resolved at HEAD (86e4288)
warning: '.resolve-product-dependencies': dependency 'notarizeprocess' is not used by any target
Found 2 product dependencies
  - NotarizationInfo
  - NotarizationAuditLog
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/phimage/NotarizeProcess.git
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/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/13] Emitting module NotarizationAuditLog
[6/13] Compiling NotarizationAuditLog NotarizationAuditLog.swift
[7/13] Emitting module NotarizationInfo
[8/13] Compiling NotarizationInfo NotarizationUpload.swift
[9/13] Compiling NotarizationInfo NotarizationResponse.swift
[10/13] Compiling NotarizationInfo NotarizationStatus.swift
[11/13] Compiling NotarizationInfo NotarizationError.swift
[12/13] Compiling NotarizationInfo NotarizationInfo.swift
[13/13] Compiling NotarizationInfo NotarizationHistory.swift
[14/21] Compiling NotarizeProcess WaitMethod.swift
[15/21] Compiling NotarizeProcess NotarizeProcessAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:19:23: warning: static property 'notarize' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
17 |     }
18 |
19 |     public static let notarize = NotarizeProcessAction(rawValue: 1 << 0)
   |                       |- warning: static property 'notarize' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'notarize' 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
20 |     public static let wait = NotarizeProcessAction(rawValue: 1 << 1)
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:20:23: warning: static property 'wait' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
18 |
19 |     public static let notarize = NotarizeProcessAction(rawValue: 1 << 0)
20 |     public static let wait = NotarizeProcessAction(rawValue: 1 << 1)
   |                       |- warning: static property 'wait' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'wait' 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
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:21:23: warning: static property 'staple' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
19 |     public static let notarize = NotarizeProcessAction(rawValue: 1 << 0)
20 |     public static let wait = NotarizeProcessAction(rawValue: 1 << 1)
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
   |                       |- warning: static property 'staple' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'staple' 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
22 |
23 |     public static let all: NotarizeProcessAction = [ .notarize, .wait, .staple]
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:23:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
22 |
23 |     public static let all: NotarizeProcessAction = [ .notarize, .wait, .staple]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' 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
24 | }
25 |
[16/21] Compiling NotarizeProcess Processable.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/Processable.swift:30:16: warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | struct XcRun: Processable {
30 |     static var launchPath = "/usr/bin/xcrun"
   |                |- warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'launchPath' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'launchPath' 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
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/Processable.swift:34:16: warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | struct Ditto: Processable {
34 |     static var launchPath = "/usr/bin/ditto"
   |                |- warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'launchPath' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'launchPath' 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 |
[17/21] Compiling NotarizeProcess NotarizeProcessError.swift
[18/21] Compiling NotarizeProcess NotarizationInfo+AuditLog.swift
[19/21] Emitting module NotarizeProcess
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:19:23: warning: static property 'notarize' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
17 |     }
18 |
19 |     public static let notarize = NotarizeProcessAction(rawValue: 1 << 0)
   |                       |- warning: static property 'notarize' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'notarize' 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
20 |     public static let wait = NotarizeProcessAction(rawValue: 1 << 1)
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:20:23: warning: static property 'wait' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
18 |
19 |     public static let notarize = NotarizeProcessAction(rawValue: 1 << 0)
20 |     public static let wait = NotarizeProcessAction(rawValue: 1 << 1)
   |                       |- warning: static property 'wait' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'wait' 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
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:21:23: warning: static property 'staple' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
19 |     public static let notarize = NotarizeProcessAction(rawValue: 1 << 0)
20 |     public static let wait = NotarizeProcessAction(rawValue: 1 << 1)
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
   |                       |- warning: static property 'staple' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'staple' 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
22 |
23 |     public static let all: NotarizeProcessAction = [ .notarize, .wait, .staple]
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:23:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
22 |
23 |     public static let all: NotarizeProcessAction = [ .notarize, .wait, .staple]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' 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
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/Processable.swift:30:16: warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | struct XcRun: Processable {
30 |     static var launchPath = "/usr/bin/xcrun"
   |                |- warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'launchPath' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'launchPath' 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
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/Processable.swift:34:16: warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | struct Ditto: Processable {
34 |     static var launchPath = "/usr/bin/ditto"
   |                |- warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'launchPath' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'launchPath' 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 |
[20/21] Compiling NotarizeProcess NotarizePlatform.swift
[21/21] Compiling NotarizeProcess NotarizeProcess.swift
Build complete! (8.92s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "notarizationinfo",
      "requirement" : {
        "revision" : [
          "HEAD"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/phimage/NotarizationInfo"
    },
    {
      "identity" : "notarizationauditlog",
      "requirement" : {
        "revision" : [
          "HEAD"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/phimage/NotarizationAuditLog"
    }
  ],
  "manifest_display_name" : "NotarizeProcess",
  "name" : "NotarizeProcess",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "NotarizeProcess",
      "targets" : [
        "NotarizeProcess"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NotarizeProcessTests",
      "module_type" : "SwiftTarget",
      "name" : "NotarizeProcessTests",
      "path" : "Tests/NotarizeProcessTests",
      "sources" : [
        "NotarizeProcessTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "NotarizeProcess"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NotarizeProcess",
      "module_type" : "SwiftTarget",
      "name" : "NotarizeProcess",
      "path" : "Sources/NotarizeProcess",
      "product_dependencies" : [
        "NotarizationInfo",
        "NotarizationAuditLog"
      ],
      "product_memberships" : [
        "NotarizeProcess"
      ],
      "sources" : [
        "NotarizationInfo+AuditLog.swift",
        "NotarizePlatform.swift",
        "NotarizeProcess.swift",
        "NotarizeProcessAction.swift",
        "NotarizeProcessError.swift",
        "Processable.swift",
        "WaitMethod.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.