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 APIManager, reference main (c8b6b4), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 12:04:01 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 -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rauhul/api-manager.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rauhul/api-manager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c8b6b42 Migrate to swift 5.0+, remove Cocopods for SPM
Cloned https://github.com/rauhul/api-manager.git
Revision (git rev-parse @):
c8b6b426a4172cf1cd4568601cf36b6437d65ae8
SUCCESS checkout https://github.com/rauhul/api-manager.git at main
========================================
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": "api-manager",
      "name": "APIManager",
      "url": "https://github.com/rauhul/api-manager.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/api-manager",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/rauhul/api-manager.git
[1/858] Fetching api-manager
Fetched https://github.com/rauhul/api-manager.git from cache (1.03s)
Creating working copy for https://github.com/rauhul/api-manager.git
Working copy of https://github.com/rauhul/api-manager.git resolved at main (c8b6b42)
warning: '.resolve-product-dependencies': dependency 'api-manager' 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/rauhul/api-manager.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 -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--7754E27361AE5C74.txt
[3/9] Compiling APIManager APIService.swift
[4/9] Compiling APIManager APIReturnable.swift
[5/9] Compiling APIManager Dictionary.swift
[6/9] Compiling APIManager HTTP.swift
[7/9] Compiling APIManager APIAuthorization.swift
[8/9] Emitting module APIManager
/Users/admin/builder/spi-builder-workspace/Sources/APIManager/APIRequest.swift:46:12: warning: class 'APIRequest' must restate inherited '@unchecked Sendable' conformance
 44 | /// - note: `APIRequest`s should be created through a class that conforms to
 45 | /// `APIService`.
 46 | open class APIRequest<ReturnType: APIReturnable>: Operation {
    |            `- warning: class 'APIRequest' must restate inherited '@unchecked Sendable' conformance
 47 |
 48 |     // MARK: - Types & Aliases
[9/9] Compiling APIManager APIRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/APIManager/APIRequest.swift:46:12: warning: class 'APIRequest' must restate inherited '@unchecked Sendable' conformance
 44 | /// - note: `APIRequest`s should be created through a class that conforms to
 45 | /// `APIService`.
 46 | open class APIRequest<ReturnType: APIReturnable>: Operation {
    |            `- warning: class 'APIRequest' must restate inherited '@unchecked Sendable' conformance
 47 |
 48 |     // MARK: - Types & Aliases
Build complete! (7.10s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "APIManager",
  "name" : "APIManager",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "APIManager",
      "targets" : [
        "APIManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "APIManagerTests",
      "module_type" : "SwiftTarget",
      "name" : "APIManagerTests",
      "path" : "Tests/APIManagerTests",
      "sources" : [
        "APIManagerTests.swift",
        "Data.swift",
        "JSON.swift",
        "TestService.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "APIManager"
      ],
      "type" : "test"
    },
    {
      "c99name" : "APIManager",
      "module_type" : "SwiftTarget",
      "name" : "APIManager",
      "path" : "Sources/APIManager",
      "product_memberships" : [
        "APIManager"
      ],
      "sources" : [
        "APIAuthorization.swift",
        "APIRequest.swift",
        "APIReturnable.swift",
        "APIService.swift",
        "Dictionary.swift",
        "HTTP.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.