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 Queuer, reference 3.0.1 (8bf0b4), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 18:28:11 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FabrizioBrancati/Queuer.git
Reference: 3.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FabrizioBrancati/Queuer
 * tag               3.0.1      -> FETCH_HEAD
HEAD is now at 8bf0b4c Merge branch 'main' into develop
Cloned https://github.com/FabrizioBrancati/Queuer.git
Revision (git rev-parse @):
8bf0b4cae3893f970e733025646d07fe8a39fb15
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/FabrizioBrancati/Queuer.git at 3.0.1
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
[227/5426] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (1.20s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.20s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (2.17s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.63s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.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": "queuer",
      "name": "Queuer",
      "url": "https://github.com/FabrizioBrancati/Queuer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Queuer",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/FabrizioBrancati/Queuer.git
[1/3154] Fetching queuer
Fetched https://github.com/FabrizioBrancati/Queuer.git from cache (0.92s)
Creating working copy for https://github.com/FabrizioBrancati/Queuer.git
Working copy of https://github.com/FabrizioBrancati/Queuer.git resolved at 3.0.1 (8bf0b4c)
warning: '.resolve-product-dependencies': dependency 'queuer' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/FabrizioBrancati/Queuer.git
https://github.com/FabrizioBrancati/Queuer.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Queuer",
  "name" : "Queuer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Queuer",
      "targets" : [
        "Queuer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "QueuerTests",
      "module_type" : "SwiftTarget",
      "name" : "QueuerTests",
      "path" : "Tests/QueuerTests",
      "sources" : [
        "ConcurrentOperationTests.swift",
        "GroupOperationTests.swift",
        "QueuerTests.swift",
        "SchedulerTests.swift",
        "SemaphoreTests.swift"
      ],
      "target_dependencies" : [
        "Queuer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Queuer",
      "module_type" : "SwiftTarget",
      "name" : "Queuer",
      "path" : "Sources/Queuer",
      "product_memberships" : [
        "Queuer"
      ],
      "sources" : [
        "ConcurrentOperation.swift",
        "GroupOperation.swift",
        "Queuer.swift",
        "Scheduler.swift",
        "Semaphore.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/10] Compiling Queuer Scheduler.swift
[6/10] Compiling Queuer Queuer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Queuer/Queuer.swift:32:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Queuer' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | /// Queuer class.
 30 | public class Queuer {
    |              `- note: class 'Queuer' does not conform to the 'Sendable' protocol
 31 |     /// Shared Queuer.
 32 |     public static let shared = Queuer(name: "Queuer")
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Queuer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 |     /// Queuer `OperationQueue`.
/Users/admin/builder/spi-builder-workspace/Sources/Queuer/Queuer.swift:128:28: warning: passing non-sendable parameter 'operation' to function expecting a @Sendable closure
125 |     ///
126 |     /// - Parameter block: Block to be executed.
127 |     func addOperation(_ operation: @escaping () -> Void) {
    |                         `- note: parameter 'operation' is implicitly non-sendable
128 |         queue.addOperation(operation)
    |                            `- warning: passing non-sendable parameter 'operation' to function expecting a @Sendable closure
129 |     }
130 |
/Users/admin/builder/spi-builder-workspace/Sources/Queuer/Queuer.swift:182:57: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
179 |     ///
180 |     /// - Parameter completionHandler: Completion handler to be executed as last `Operation`.
181 |     func addCompletionHandler(_ completionHandler: @escaping () -> Void) {
    |                                 `- note: parameter 'completionHandler' is implicitly non-sendable
182 |         let completionOperation = BlockOperation(block: completionHandler)
    |                                                         `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
183 |         if let lastOperation = operations.last {
184 |             completionOperation.addDependency(lastOperation)
[7/10] Compiling Queuer ConcurrentOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Queuer/ConcurrentOperation.swift:31:12: warning: class 'ConcurrentOperation' must restate inherited '@unchecked Sendable' conformance
 29 | /// It allows asynchronous tasks, has a pause and resume states,
 30 | /// can be easily added to a queue and can be created with a block.
 31 | open class ConcurrentOperation: Operation {
    |            `- warning: class 'ConcurrentOperation' must restate inherited '@unchecked Sendable' conformance
 32 |     /// `Operation`'s execution block.
 33 |     public var executionBlock: ((_ operation: ConcurrentOperation) -> Void)?
[8/10] Emitting module Queuer
/Users/admin/builder/spi-builder-workspace/Sources/Queuer/ConcurrentOperation.swift:31:12: warning: class 'ConcurrentOperation' must restate inherited '@unchecked Sendable' conformance
 29 | /// It allows asynchronous tasks, has a pause and resume states,
 30 | /// can be easily added to a queue and can be created with a block.
 31 | open class ConcurrentOperation: Operation {
    |            `- warning: class 'ConcurrentOperation' must restate inherited '@unchecked Sendable' conformance
 32 |     /// `Operation`'s execution block.
 33 |     public var executionBlock: ((_ operation: ConcurrentOperation) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Queuer/GroupOperation.swift:30:12: warning: class 'GroupOperation' must restate inherited '@unchecked Sendable' conformance
28 |
29 | /// It allows the creation of group `Operation`s by using it's `operations` array of `ConcurrentOperation`.
30 | open class GroupOperation: ConcurrentOperation {
   |            `- warning: class 'GroupOperation' must restate inherited '@unchecked Sendable' conformance
31 |     /// Private `OperationQueue` instance.
32 |     private let queue = OperationQueue()
/Users/admin/builder/spi-builder-workspace/Sources/Queuer/Queuer.swift:32:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Queuer' may have shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | /// Queuer class.
 30 | public class Queuer {
    |              `- note: class 'Queuer' does not conform to the 'Sendable' protocol
 31 |     /// Shared Queuer.
 32 |     public static let shared = Queuer(name: "Queuer")
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Queuer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 |     /// Queuer `OperationQueue`.
[9/10] Compiling Queuer GroupOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Queuer/GroupOperation.swift:30:12: warning: class 'GroupOperation' must restate inherited '@unchecked Sendable' conformance
28 |
29 | /// It allows the creation of group `Operation`s by using it's `operations` array of `ConcurrentOperation`.
30 | open class GroupOperation: ConcurrentOperation {
   |            `- warning: class 'GroupOperation' must restate inherited '@unchecked Sendable' conformance
31 |     /// Private `OperationQueue` instance.
32 |     private let queue = OperationQueue()
/Users/admin/builder/spi-builder-workspace/Sources/Queuer/GroupOperation.swift:57:30: warning: assigning non-sendable parameter 'completionHandler' to a @Sendable closure
51 |     ///     - operations: Array of ConcurrentOperation to be executed.
52 |     ///     - completionHandler: Block that will be executed once all operations are over.
53 |     public init(_ operations: [ConcurrentOperation], completionHandler: (() -> Void)? = nil) {
   |                                                      `- note: parameter 'completionHandler' is implicitly non-sendable
54 |         super.init()
55 |
56 |         self.operations = operations
57 |         self.completionBlock = completionHandler
   |                              `- warning: assigning non-sendable parameter 'completionHandler' to a @Sendable closure
58 |     }
59 |
[10/10] Compiling Queuer Semaphore.swift
Build complete! (13.35s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Queuer",
  "name" : "Queuer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Queuer",
      "targets" : [
        "Queuer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "QueuerTests",
      "module_type" : "SwiftTarget",
      "name" : "QueuerTests",
      "path" : "Tests/QueuerTests",
      "sources" : [
        "ConcurrentOperationTests.swift",
        "GroupOperationTests.swift",
        "QueuerTests.swift",
        "SchedulerTests.swift",
        "SemaphoreTests.swift"
      ],
      "target_dependencies" : [
        "Queuer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Queuer",
      "module_type" : "SwiftTarget",
      "name" : "Queuer",
      "path" : "Sources/Queuer",
      "product_memberships" : [
        "Queuer"
      ],
      "sources" : [
        "ConcurrentOperation.swift",
        "GroupOperation.swift",
        "Queuer.swift",
        "Scheduler.swift",
        "Semaphore.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/fabriziobrancati/queuer/3.0.1
Repository:               FabrizioBrancati/Queuer
Swift version used:       6.1
        .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.3.0")
Target:                   Queuer
Generating documentation for 'Queuer'...
Converting documentation...
warning: Parameter 'block' not found in instance method declaration
   --> Sources/Queuer/Queuer.swift:126:9-126:49
124 |     /// Add an `Operation` to be executed asynchronously.
125 |     ///
126 +     /// - Parameter block: Block to be executed.
    |         ╰─suggestion: Remove 'block' parameter documentation
127 |     func addOperation(_ operation: @escaping () -> Void) {
128 |         queue.addOperation(operation)
warning: Parameter 'operation' is missing documentation
   --> Sources/Queuer/Queuer.swift:126:49-126:49
124 |     /// Add an `Operation` to be executed asynchronously.
125 |     ///
126 +     /// - Parameter block: Block to be executed.
    |                                                 ╰─suggestion: Document 'operation' parameter
127 |     func addOperation(_ operation: @escaping () -> Void) {
128 |         queue.addOperation(operation)
Conversion complete! (0.14s)
Generated DocC archive at '/Users/admin/builder/spi-builder-workspace/.docs/fabriziobrancati/queuer/3.0.1'
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[0/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit DeclarationFragments.swift
[8/57] Compiling SymbolKit Fragment.swift
[9/57] Compiling SymbolKit FragmentKind.swift
[10/57] Compiling SymbolKit FunctionParameter.swift
[11/57] Compiling SymbolKit FunctionSignature.swift
[12/57] Compiling SymbolKit SemanticVersion.swift
[13/57] Compiling SymbolKit AccessControl.swift
[14/57] Compiling SymbolKit Availability.swift
[15/57] Compiling SymbolKit AvailabilityItem.swift
[16/57] Compiling SymbolKit Domain.swift
[17/57] Compiling SymbolKit Mixin+Equals.swift
[18/57] Compiling SymbolKit Mixin+Hash.swift
[19/57] Compiling SymbolKit Mixin.swift
[20/57] Compiling SymbolKit LineList.swift
[21/57] Compiling SymbolKit Position.swift
[22/57] Compiling SymbolKit SourceRange.swift
[23/57] Compiling SymbolKit Metadata.swift
[24/57] Compiling SymbolKit Module.swift
[25/57] Compiling SymbolKit OperatingSystem.swift
[26/57] Compiling SymbolKit Platform.swift
[27/57] Compiling SymbolKit Names.swift
[28/57] Compiling SymbolKit SPI.swift
[29/57] Compiling SymbolKit Snippet.swift
[30/57] Compiling SymbolKit Extension.swift
[31/57] Compiling SymbolKit Relationship.swift
[32/57] Compiling SymbolKit RelationshipKind.swift
[33/57] Compiling SymbolKit SourceOrigin.swift
[34/57] Compiling SymbolKit GenericConstraints.swift
[35/57] Compiling SymbolKit Swift.swift
[36/57] Compiling SymbolKit GenericConstraint.swift
[37/57] Compiling SymbolKit GenericParameter.swift
[38/57] Compiling SymbolKit Generics.swift
[39/57] Compiling SymbolKit Namespace.swift
[40/57] Compiling SymbolKit Identifier.swift
[41/57] Compiling SymbolKit KindIdentifier.swift
[42/57] Compiling SymbolKit Location.swift
[43/57] Compiling SymbolKit Mutability.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets Snippet.swift
[53/57] Compiling Snippets SnippetParser.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.16s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/7] Compiling Queuer Semaphore.swift
[3/7] Compiling Queuer Scheduler.swift
[4/7] Compiling Queuer Queuer.swift
[5/7] Compiling Queuer GroupOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Queuer/GroupOperation.swift:30:12: warning: class 'GroupOperation' must restate inherited '@unchecked Sendable' conformance
28 |
29 | /// It allows the creation of group `Operation`s by using it's `operations` array of `ConcurrentOperation`.
30 | open class GroupOperation: ConcurrentOperation {
   |            `- warning: class 'GroupOperation' must restate inherited '@unchecked Sendable' conformance
31 |     /// Private `OperationQueue` instance.
32 |     private let queue = OperationQueue()
[6/7] Emitting module Queuer
/Users/admin/builder/spi-builder-workspace/Sources/Queuer/ConcurrentOperation.swift:31:12: warning: class 'ConcurrentOperation' must restate inherited '@unchecked Sendable' conformance
 29 | /// It allows asynchronous tasks, has a pause and resume states,
 30 | /// can be easily added to a queue and can be created with a block.
 31 | open class ConcurrentOperation: Operation {
    |            `- warning: class 'ConcurrentOperation' must restate inherited '@unchecked Sendable' conformance
 32 |     /// `Operation`'s execution block.
 33 |     public var executionBlock: ((_ operation: ConcurrentOperation) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/Queuer/GroupOperation.swift:30:12: warning: class 'GroupOperation' must restate inherited '@unchecked Sendable' conformance
28 |
29 | /// It allows the creation of group `Operation`s by using it's `operations` array of `ConcurrentOperation`.
30 | open class GroupOperation: ConcurrentOperation {
   |            `- warning: class 'GroupOperation' must restate inherited '@unchecked Sendable' conformance
31 |     /// Private `OperationQueue` instance.
32 |     private let queue = OperationQueue()
[7/7] Compiling Queuer ConcurrentOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Queuer/ConcurrentOperation.swift:31:12: warning: class 'ConcurrentOperation' must restate inherited '@unchecked Sendable' conformance
 29 | /// It allows asynchronous tasks, has a pause and resume states,
 30 | /// can be easily added to a queue and can be created with a block.
 31 | open class ConcurrentOperation: Operation {
    |            `- warning: class 'ConcurrentOperation' must restate inherited '@unchecked Sendable' conformance
 32 |     /// `Operation`'s execution block.
 33 |     public var executionBlock: ((_ operation: ConcurrentOperation) -> Void)?
Build of target: 'Queuer' complete! (0.53s)
     160
2	/Users/admin/builder/spi-builder-workspace/.docs/fabriziobrancati/queuer/3.0.1
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/fabriziobrancati/queuer/3.0.1
File count: 160
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-fabriziobrancati-queuer-3.0.1-21de4bfa.zip to s3://spi-docs-inbox/prod-fabriziobrancati-queuer-3.0.1-21de4bfa.zip
Copying... [15%]
Copying... [30%]
Copying... [45%]
Copying... [59%]
Copying... [74%]
Copying... [89%]
Copying... [100%]
Done.