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 Light 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/dreymonde/light.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dreymonde/light
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6c3557b rename to HTTPProxy
Cloned https://github.com/dreymonde/light.git
Revision (git rev-parse @):
6c3557b2618ac629160aa21bac85e6f44857c208
SUCCESS checkout https://github.com/dreymonde/light.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/dreymonde/light.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/17] Compiling Shallows WriteOnlyStorage.swift
[5/18] Compiling Shallows Storage.swift
[6/18] Compiling Shallows SyncStorage.swift
[7/18] Compiling Shallows Zip.swift
[8/18] Compiling Shallows ShallowsResult.swift
[9/18] Compiling Shallows Shallows.swift
[10/18] Compiling Shallows Filename.swift
[11/18] Compiling Shallows MemoryStorage.swift
[12/18] Compiling Shallows NSCacheStorage.swift
[13/18] Compiling Shallows ReadOnlyStorage.swift
[14/18] Compiling Shallows Async.swift
[15/18] Compiling Shallows Composition.swift
[16/18] Emitting module Shallows
[17/18] Compiling Shallows DiskExtensions.swift
[18/18] Compiling Shallows DiskStorage.swift
[19/23] Compiling Light WebAPI.swift
[20/23] Compiling Light WebAPIProtocol.swift
[21/23] Compiling Light Light.swift
[22/23] Compiling Light URLSession+WebAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Light/URLSession+WebAPI.swift:11:1: warning: extension declares a conformance of imported type 'URLSession' to imported protocols 'ReadOnlyStorageProtocol', 'ReadableStorageProtocol', 'StorageDesign'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
  9 | import Shallows
 10 |
 11 | extension URLSession : ReadOnlyStorageProtocol {
    | |- warning: extension declares a conformance of imported type 'URLSession' to imported protocols 'ReadOnlyStorageProtocol', 'ReadableStorageProtocol', 'StorageDesign'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 12 |
 13 |     public typealias Request = WebAPI.Request
/Users/admin/builder/spi-builder-workspace/Sources/Light/URLSession+WebAPI.swift:41:64: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
 39 |         switch request {
 40 |         case .url(let url):
 41 |             task = self.dataTask(with: url, completionHandler: completionHandler)
    |                                                                `- warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
 42 |         case .urlRequest(let request):
 43 |             task = self.dataTask(with: request, completionHandler: completionHandler)
/Users/admin/builder/spi-builder-workspace/Sources/Light/URLSession+WebAPI.swift:43:68: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
 41 |             task = self.dataTask(with: url, completionHandler: completionHandler)
 42 |         case .urlRequest(let request):
 43 |             task = self.dataTask(with: request, completionHandler: completionHandler)
    |                                                                    `- warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
 44 |         }
 45 |         task.resume()
[23/23] Emitting module Light
/Users/admin/builder/spi-builder-workspace/Sources/Light/URLSession+WebAPI.swift:11:1: warning: extension declares a conformance of imported type 'URLSession' to imported protocols 'ReadOnlyStorageProtocol', 'ReadableStorageProtocol', 'StorageDesign'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
  9 | import Shallows
 10 |
 11 | extension URLSession : ReadOnlyStorageProtocol {
    | |- warning: extension declares a conformance of imported type 'URLSession' to imported protocols 'ReadOnlyStorageProtocol', 'ReadableStorageProtocol', 'StorageDesign'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 12 |
 13 |     public typealias Request = WebAPI.Request
Build complete! (23.93s)
Fetching https://github.com/dreymonde/Shallows.git
[11/1076] Fetching shallows
Fetched https://github.com/dreymonde/Shallows.git from cache (0.87s)
Computing version for https://github.com/dreymonde/Shallows.git
Computed https://github.com/dreymonde/Shallows.git at 0.13.4 (0.73s)
Creating working copy for https://github.com/dreymonde/Shallows.git
Working copy of https://github.com/dreymonde/Shallows.git resolved at 0.13.4
Build complete.
{
  "dependencies" : [
    {
      "identity" : "shallows",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.11.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dreymonde/Shallows.git"
    }
  ],
  "manifest_display_name" : "Light",
  "name" : "Light",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Light",
      "targets" : [
        "Light"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LightTests",
      "module_type" : "SwiftTarget",
      "name" : "LightTests",
      "path" : "Tests/LightTests",
      "sources" : [
        "LightTests.swift"
      ],
      "target_dependencies" : [
        "Light"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Light",
      "module_type" : "SwiftTarget",
      "name" : "Light",
      "path" : "Sources/Light",
      "product_dependencies" : [
        "Shallows"
      ],
      "product_memberships" : [
        "Light"
      ],
      "sources" : [
        "Light.swift",
        "URLSession+WebAPI.swift",
        "WebAPI.swift",
        "WebAPIProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.