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 SLazeKit, reference 0.3.0 (2b3a27), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 20:55:11 UTC.

Swift 6 data race errors: 0

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/shial4/SLazeKit.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shial4/SLazeKit
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 2b3a27c [3.0.0] Update to swift 5
Cloned https://github.com/shial4/SLazeKit.git
Revision (git rev-parse @):
2b3a27c65090784e4ee850959fa6857de5fee4ca
SUCCESS checkout https://github.com/shial4/SLazeKit.git at 0.3.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": "slazekit",
      "name": "SLazeKit",
      "url": "https://github.com/shial4/SLazeKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SLazeKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/shial4/SLazeKit.git
[1/382] Fetching slazekit
Fetched https://github.com/shial4/SLazeKit.git from cache (0.86s)
Creating working copy for https://github.com/shial4/SLazeKit.git
Working copy of https://github.com/shial4/SLazeKit.git resolved at 0.3.0 (2b3a27c)
warning: '.resolve-product-dependencies': dependency 'slazekit' 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/shial4/SLazeKit.git
https://github.com/shial4/SLazeKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SLazeKit",
  "name" : "SLazeKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SLazeKit",
      "targets" : [
        "SLazeKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SLazeKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SLazeKitTests",
      "path" : "Tests/SLazeKitTests",
      "sources" : [
        "SLazeKitTests.swift",
        "StringInitializableTests.swift",
        "StringPathTests.swift"
      ],
      "target_dependencies" : [
        "SLazeKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SLazeKit",
      "module_type" : "SwiftTarget",
      "name" : "SLazeKit",
      "path" : "Sources/SLazeKit",
      "product_memberships" : [
        "SLazeKit"
      ],
      "sources" : [
        "Extensions/Decodable.swift",
        "Extensions/String.swift",
        "Laze.swift",
        "Protocols/LazeConfiguration.swift",
        "Protocols/StringInitializable.swift",
        "SLazeKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/9] Compiling SLazeKit StringInitializable.swift
[4/9] Compiling SLazeKit Laze.swift
[5/9] Compiling SLazeKit LazeConfiguration.swift
[6/9] Compiling SLazeKit Decodable.swift
[7/9] Compiling SLazeKit String.swift
[8/9] Emitting module SLazeKit
[9/9] Compiling SLazeKit SLazeKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/SLazeKit/SLazeKit.swift:21:13: warning: capture of 'handler' with non-sendable type '(NetworkResponse, (any Error)?) -> Void' (aka '((data: Optional<Data>, http: Optional<HTTPURLResponse>), Optional<any Error>) -> ()') in a '@Sendable' closure
 19 |         let task = Config.urlSession.dataTask(with: req) { (data, response, error) in
 20 |             Config.handle(response as? HTTPURLResponse)
 21 |             handler((data, response as? HTTPURLResponse), error)
    |             |- warning: capture of 'handler' with non-sendable type '(NetworkResponse, (any Error)?) -> Void' (aka '((data: Optional<Data>, http: Optional<HTTPURLResponse>), Optional<any Error>) -> ()') in a '@Sendable' closure
    |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 22 |         }
 23 |         task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SLazeKit/SLazeKit.swift:39:21: warning: capture of 'handler' with non-sendable type '(NetworkResponse, T?, (any Error)?) -> Void' (aka '((data: Optional<Data>, http: Optional<HTTPURLResponse>), Optional<T>, Optional<any Error>) -> ()') in a '@Sendable' closure
 37 |                     let object = try Config.decoder.decode(T.self, from: data)
 38 |                     Config.synchronize(object)
 39 |                     handler((data, response as? HTTPURLResponse), object, nil)
    |                     |- warning: capture of 'handler' with non-sendable type '(NetworkResponse, T?, (any Error)?) -> Void' (aka '((data: Optional<Data>, http: Optional<HTTPURLResponse>), Optional<T>, Optional<any Error>) -> ()') in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 40 |                 } catch {
 41 |                     handler((data, response as? HTTPURLResponse), nil, error)
Build complete! (4.31s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SLazeKit",
  "name" : "SLazeKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SLazeKit",
      "targets" : [
        "SLazeKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SLazeKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SLazeKitTests",
      "path" : "Tests/SLazeKitTests",
      "sources" : [
        "SLazeKitTests.swift",
        "StringInitializableTests.swift",
        "StringPathTests.swift"
      ],
      "target_dependencies" : [
        "SLazeKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SLazeKit",
      "module_type" : "SwiftTarget",
      "name" : "SLazeKit",
      "path" : "Sources/SLazeKit",
      "product_memberships" : [
        "SLazeKit"
      ],
      "sources" : [
        "Extensions/Decodable.swift",
        "Extensions/String.swift",
        "Laze.swift",
        "Protocols/LazeConfiguration.swift",
        "Protocols/StringInitializable.swift",
        "SLazeKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.