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 main (db4cee), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 18:27:56 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FabrizioBrancati/Queuer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at db4ceec Merge pull request #42 from FabrizioBrancati/dependabot/swift/github.com/apple/swift-docc-plugin-1.4.3
Cloned https://github.com/FabrizioBrancati/Queuer.git
Revision (git rev-parse @):
db4ceec955b20842a210c8b8d5bb306822bfb81c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/FabrizioBrancati/Queuer.git at main
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.09s)
Computing version for https://github.com/apple/swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.10s)
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.07s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.66s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
========================================
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.91s)
Creating working copy for https://github.com/FabrizioBrancati/Queuer.git
Working copy of https://github.com/FabrizioBrancati/Queuer.git resolved at main (db4ceec)
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 Semaphore.swift
[7/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)
[8/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 |
[9/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`.
[10/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)?
Build complete! (13.46s)
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/main
Repository:               FabrizioBrancati/Queuer
Swift version used:       6.1
        .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.3.0")
Target:                   Queuer
Extracting symbol information for 'Queuer'...
Finished extracting symbol information for 'Queuer'. (2.59s)
Building documentation for 'Queuer'...
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)
Finished building documentation for 'Queuer' (0.15s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/fabriziobrancati/queuer/main
Building for debugging...
[0/8] Write sources
[0/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Emitting module SymbolKit
[12/57] Compiling SymbolKit Mixin+Equals.swift
[13/57] Compiling SymbolKit Mixin+Hash.swift
[14/57] Compiling SymbolKit Mixin.swift
[15/57] Compiling SymbolKit LineList.swift
[16/57] Compiling SymbolKit Position.swift
[17/57] Compiling SymbolKit GenericConstraint.swift
[18/57] Compiling SymbolKit GenericParameter.swift
[19/57] Compiling SymbolKit Generics.swift
[20/57] Compiling SymbolKit Namespace.swift
[21/57] Compiling SymbolKit Relationship.swift
[22/57] Compiling SymbolKit RelationshipKind.swift
[23/57] Compiling SymbolKit SourceOrigin.swift
[24/57] Compiling SymbolKit GenericConstraints.swift
[25/57] Compiling SymbolKit Swift.swift
[26/57] Compiling SymbolKit SourceRange.swift
[27/57] Compiling SymbolKit Metadata.swift
[28/57] Compiling SymbolKit Module.swift
[29/57] Compiling SymbolKit OperatingSystem.swift
[30/57] Compiling SymbolKit Platform.swift
[31/57] Compiling SymbolKit Identifier.swift
[32/57] Compiling SymbolKit KindIdentifier.swift
[33/57] Compiling SymbolKit Location.swift
[34/57] Compiling SymbolKit Mutability.swift
[35/57] Compiling SymbolKit SemanticVersion.swift
[36/57] Compiling SymbolKit AccessControl.swift
[37/57] Compiling SymbolKit Availability.swift
[38/57] Compiling SymbolKit AvailabilityItem.swift
[39/57] Compiling SymbolKit Domain.swift
[40/57] Compiling SymbolKit Names.swift
[41/57] Compiling SymbolKit SPI.swift
[42/57] Compiling SymbolKit Snippet.swift
[43/57] Compiling SymbolKit Extension.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] Emitting module Snippets
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.02s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/7] Compiling Queuer Scheduler.swift
[3/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)?
[4/7] Compiling Queuer Queuer.swift
[5/7] Compiling Queuer Semaphore.swift
[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 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()
Build of target: 'Queuer' complete! (0.56s)
     160
2	/Users/admin/builder/spi-builder-workspace/.docs/fabriziobrancati/queuer/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/fabriziobrancati/queuer/main
File count: 160
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-fabriziobrancati-queuer-main-6745141b.zip to s3://spi-docs-inbox/prod-fabriziobrancati-queuer-main-6745141b.zip
Copying... [15%]
Copying... [30%]
Copying... [45%]
Copying... [60%]
Copying... [74%]
Copying... [89%]
Copying... [100%]
Done.