This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mobelux/DataOperation.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Mobelux/DataOperation
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f09d288 Update README.md
Cloned https://github.com/Mobelux/DataOperation.git
Revision (git rev-parse @):
f09d28852af68f1e79f28bf5aef579e7d346ec66
SUCCESS checkout https://github.com/Mobelux/DataOperation.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Mobelux/DataOperation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/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 | }
[4/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
[5/7] Compiling DataOperation Operation+Utils.swift
[6/7] Compiling DataOperation Request.swift
[7/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
Build complete! (17.74s)
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"
      ],
      "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" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.