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 SwiftBackports 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/shaps80/SwiftBackports.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shaps80/SwiftBackports
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b730e4c Updates docs
Cloned https://github.com/shaps80/SwiftBackports.git
Revision (git rev-parse @):
b730e4c52a846f91fb46842cdd8a3a6a23ff1799
SUCCESS checkout https://github.com/shaps80/SwiftBackports.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/shaps80/SwiftBackports.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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/26] Compiling SwiftBackports TransferRepresentationBuilder.swift
[6/26] Compiling SwiftBackports Transferable.swift
[7/26] Compiling SwiftBackports File+Representations.swift
[8/26] Compiling SwiftBackports Never+Representation.swift
[9/26] Compiling SwiftBackports Tuple+Representation.swift
[10/28] Compiling SwiftBackports URLSession+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:29:45: warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 27 |             try await withCheckedThrowingContinuation { continuation in
 28 |                 Task {
 29 |                     await sessionTask.start(wrapped.dataTask(with: request) { data, response, error in
    |                                             `- warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 30 |                         guard let data = data, let response = response else {
 31 |                             let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/Backport.swift:31:15: note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
29 | ///     }
30 | ///
31 | public struct Backport<Wrapped> {
   |               `- note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
32 |     /// The underlying content this backport represents.
33 |     public let wrapped: Wrapped
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:50:45: warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 48 |             try await withCheckedThrowingContinuation { continuation in
 49 |                 Task {
 50 |                     await sessionTask.start(wrapped.uploadTask(with: request, fromFile: fileURL) { data, response, error in
    |                                             `- warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 51 |                         guard let data = data, let response = response else {
 52 |                             let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/Backport.swift:31:15: note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
29 | ///     }
30 | ///
31 | public struct Backport<Wrapped> {
   |               `- note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
32 |     /// The underlying content this backport represents.
33 |     public let wrapped: Wrapped
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:70:45: warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 68 |             try await withCheckedThrowingContinuation { continuation in
 69 |                 Task {
 70 |                     await sessionTask.start(wrapped.uploadTask(with: request, from: bodyData) { data, response, error in
    |                                             `- warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 71 |                         guard let data = data, let response = response else {
 72 |                             let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/Backport.swift:31:15: note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
29 | ///     }
30 | ///
31 | public struct Backport<Wrapped> {
   |               `- note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
32 |     /// The underlying content this backport represents.
33 |     public let wrapped: Wrapped
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:90:45: warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 88 |             try await withCheckedThrowingContinuation { continuation in
 89 |                 Task {
 90 |                     await sessionTask.start(wrapped.downloadTask(with: request) { data, response, error in
    |                                             `- warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 91 |                         guard let data = data, let response = response else {
 92 |                             let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/Backport.swift:31:15: note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
29 | ///     }
30 | ///
31 | public struct Backport<Wrapped> {
   |               `- note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
32 |     /// The underlying content this backport represents.
33 |     public let wrapped: Wrapped
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:110:45: warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 |             try await withCheckedThrowingContinuation { continuation in
109 |                 Task {
110 |                     await sessionTask.start(wrapped.downloadTask(with: url) { data, response, error in
    |                                             `- warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 |                         guard let data = data, let response = response else {
112 |                             let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/Backport.swift:31:15: note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
29 | ///     }
30 | ///
31 | public struct Backport<Wrapped> {
   |               `- note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
32 |     /// The underlying content this backport represents.
33 |     public let wrapped: Wrapped
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:130:45: warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 |             try await withCheckedThrowingContinuation { continuation in
129 |                 Task {
130 |                     await sessionTask.start(wrapped.downloadTask(withResumeData: resumeData) { data, response, error in
    |                                             `- warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 |                         guard let data = data, let response = response else {
132 |                             let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/Backport.swift:31:15: note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
29 | ///     }
30 | ///
31 | public struct Backport<Wrapped> {
   |               `- note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
32 |     /// The underlying content this backport represents.
33 |     public let wrapped: Wrapped
[11/28] Compiling SwiftBackports CoreTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:29:45: warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 27 |             try await withCheckedThrowingContinuation { continuation in
 28 |                 Task {
 29 |                     await sessionTask.start(wrapped.dataTask(with: request) { data, response, error in
    |                                             `- warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 30 |                         guard let data = data, let response = response else {
 31 |                             let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/Backport.swift:31:15: note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
29 | ///     }
30 | ///
31 | public struct Backport<Wrapped> {
   |               `- note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
32 |     /// The underlying content this backport represents.
33 |     public let wrapped: Wrapped
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:50:45: warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 48 |             try await withCheckedThrowingContinuation { continuation in
 49 |                 Task {
 50 |                     await sessionTask.start(wrapped.uploadTask(with: request, fromFile: fileURL) { data, response, error in
    |                                             `- warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 51 |                         guard let data = data, let response = response else {
 52 |                             let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/Backport.swift:31:15: note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
29 | ///     }
30 | ///
31 | public struct Backport<Wrapped> {
   |               `- note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
32 |     /// The underlying content this backport represents.
33 |     public let wrapped: Wrapped
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:70:45: warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 68 |             try await withCheckedThrowingContinuation { continuation in
 69 |                 Task {
 70 |                     await sessionTask.start(wrapped.uploadTask(with: request, from: bodyData) { data, response, error in
    |                                             `- warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 71 |                         guard let data = data, let response = response else {
 72 |                             let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/Backport.swift:31:15: note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
29 | ///     }
30 | ///
31 | public struct Backport<Wrapped> {
   |               `- note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
32 |     /// The underlying content this backport represents.
33 |     public let wrapped: Wrapped
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:90:45: warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 88 |             try await withCheckedThrowingContinuation { continuation in
 89 |                 Task {
 90 |                     await sessionTask.start(wrapped.downloadTask(with: request) { data, response, error in
    |                                             `- warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 91 |                         guard let data = data, let response = response else {
 92 |                             let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/Backport.swift:31:15: note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
29 | ///     }
30 | ///
31 | public struct Backport<Wrapped> {
   |               `- note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
32 |     /// The underlying content this backport represents.
33 |     public let wrapped: Wrapped
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:110:45: warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 |             try await withCheckedThrowingContinuation { continuation in
109 |                 Task {
110 |                     await sessionTask.start(wrapped.downloadTask(with: url) { data, response, error in
    |                                             `- warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 |                         guard let data = data, let response = response else {
112 |                             let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/Backport.swift:31:15: note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
29 | ///     }
30 | ///
31 | public struct Backport<Wrapped> {
   |               `- note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
32 |     /// The underlying content this backport represents.
33 |     public let wrapped: Wrapped
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/URLSession/URLSession+Async.swift:130:45: warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
128 |             try await withCheckedThrowingContinuation { continuation in
129 |                 Task {
130 |                     await sessionTask.start(wrapped.downloadTask(withResumeData: resumeData) { data, response, error in
    |                                             `- warning: capture of 'self' with non-sendable type 'Backport<Wrapped>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
131 |                         guard let data = data, let response = response else {
132 |                             let error = error ?? URLError(.badServerResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBackports/Backport.swift:31:15: note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
29 | ///     }
30 | ///
31 | public struct Backport<Wrapped> {
   |               `- note: consider making generic struct 'Backport' conform to the 'Sendable' protocol
32 |     /// The underlying content this backport represents.
33 |     public let wrapped: Wrapped
[12/28] Compiling SwiftBackports String+Transferable.swift
[13/28] Compiling SwiftBackports URL+Transferable.swift
[14/28] Compiling SwiftBackports TransferableRepresentation.swift
[15/28] Compiling SwiftBackports AttributedString+Transferable.swift
[16/28] Compiling SwiftBackports _ConditionalRepresentation.swift
[17/28] Compiling SwiftBackports NSItemProvider+Transferable.swift
[18/28] Compiling SwiftBackports ReceivedTransferredFile.swift
[19/28] Compiling SwiftBackports SentTransferredFile.swift
[20/28] Compiling SwiftBackports Visibility.swift
[21/28] Compiling SwiftBackports Data+Transferable.swift
[22/28] Compiling SwiftBackports Never+Transferable.swift
[23/28] Emitting module SwiftBackports
[24/28] Compiling SwiftBackports UTTagClass.swift
[25/28] Compiling SwiftBackports UTType.swift
[26/28] Compiling SwiftBackports Backport.swift
[27/28] Compiling SwiftBackports Codable+Representation.swift
[28/28] Compiling SwiftBackports Data+Representation.swift
Build complete! (52.71s)
Fetching https://github.com/apple/swift-docc-plugin
[1/1465] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.30s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.65s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2861] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.28s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.73s)
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
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
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "SwiftBackports",
  "name" : "SwiftBackports",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftBackports",
      "targets" : [
        "SwiftBackports"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SwiftBackportsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBackportsTests",
      "path" : "Tests/SwiftBackportsTests",
      "sources" : [
        "TransferableTest.swift"
      ],
      "target_dependencies" : [
        "SwiftBackports"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBackports",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBackports",
      "path" : "Sources/SwiftBackports",
      "product_memberships" : [
        "SwiftBackports"
      ],
      "sources" : [
        "Backport.swift",
        "CoreTransferable/Representations/Codable+Representation.swift",
        "CoreTransferable/Representations/Data+Representation.swift",
        "CoreTransferable/Representations/File+Representations.swift",
        "CoreTransferable/Representations/Never+Representation.swift",
        "CoreTransferable/Representations/Tuple+Representation.swift",
        "CoreTransferable/Representations/_ConditionalRepresentation.swift",
        "CoreTransferable/Support/NSItemProvider+Transferable.swift",
        "CoreTransferable/Support/ReceivedTransferredFile.swift",
        "CoreTransferable/Support/SentTransferredFile.swift",
        "CoreTransferable/Support/Visibility.swift",
        "CoreTransferable/TransferRepresentationBuilder.swift",
        "CoreTransferable/Transferable.swift",
        "CoreTransferable/TransferableRepresentation.swift",
        "CoreTransferable/Transferables/AttributedString+Transferable.swift",
        "CoreTransferable/Transferables/Data+Transferable.swift",
        "CoreTransferable/Transferables/Never+Transferable.swift",
        "CoreTransferable/Transferables/String+Transferable.swift",
        "CoreTransferable/Transferables/URL+Transferable.swift",
        "URLSession/URLSession+Async.swift",
        "UniformTypeIdentifiers/CoreTypes.swift",
        "UniformTypeIdentifiers/UTTagClass.swift",
        "UniformTypeIdentifiers/UTType.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.