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 DataOperation, reference 1.1.0 (bcafb9), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 04:03:14 UTC.

Swift 6 data race errors: 0

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mobelux/DataOperation.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Mobelux/DataOperation
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at bcafb92 convert to spm
Cloned https://github.com/Mobelux/DataOperation.git
Revision (git rev-parse @):
bcafb921c95579aff519f59bf9ec524e45e0695c
SUCCESS checkout https://github.com/Mobelux/DataOperation.git at 1.1.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": "dataoperation",
      "name": "DataOperation",
      "url": "https://github.com/Mobelux/DataOperation.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DataOperation",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Mobelux/DataOperation.git
[1/146] Fetching dataoperation
Fetched https://github.com/Mobelux/DataOperation.git from cache (0.67s)
Creating working copy for https://github.com/Mobelux/DataOperation.git
Working copy of https://github.com/Mobelux/DataOperation.git resolved at 1.1.0 (bcafb92)
warning: '.resolve-product-dependencies': dependency 'dataoperation' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Mobelux/DataOperation.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/7] Compiling DataOperation Operation+Utils.swift
[4/7] Emitting module DataOperation
/Users/admin/builder/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:23:20: warning: class 'DataOperation' must restate inherited '@unchecked Sendable' conformance
21 | }
22 |
23 | public final class DataOperation: Operation {
   |                    `- warning: class 'DataOperation' must restate inherited '@unchecked Sendable' conformance
24 |     private let request: Request
25 |     private let session: Session
[5/7] Compiling DataOperation Request.swift
[6/7] Compiling DataOperation Session.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataOperation/Session.swift:26:59: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
19 |
20 | extension URLSession: Session {
21 |     public func task(with request: Request, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask? {
   |                                             `- note: parameter 'completionHandler' is implicitly non-sendable
22 |         guard let request = request as? URLRequest else {
23 |             return nil
24 |         }
25 |
26 |         return dataTask(with: request, completionHandler: completionHandler)
   |                                                           `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
27 |     }
28 | }
[7/7] Compiling DataOperation DataOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataOperation/DataOperation.swift:23:20: warning: class 'DataOperation' must restate inherited '@unchecked Sendable' conformance
21 | }
22 |
23 | public final class DataOperation: Operation {
   |                    `- warning: class 'DataOperation' must restate inherited '@unchecked Sendable' conformance
24 |     private let request: Request
25 |     private let session: Session
Build complete! (7.19s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DataOperation",
  "name" : "DataOperation",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DataOperation",
      "targets" : [
        "DataOperation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DataOperationTests",
      "module_type" : "SwiftTarget",
      "name" : "DataOperationTests",
      "path" : "Tests/DataOperationTests",
      "sources" : [
        "DataOperationTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DataOperation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataOperation",
      "module_type" : "SwiftTarget",
      "name" : "DataOperation",
      "path" : "Sources/DataOperation",
      "product_memberships" : [
        "DataOperation"
      ],
      "sources" : [
        "DataOperation.swift",
        "Operation+Utils.swift",
        "Request.swift",
        "Session.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.