The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of XCEAPIClient, reference main (c542d3), with Swift 6.0 for macOS (SPM) on 6 Jan 2025 08:25:18 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/XCEssentials/APIClient.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/XCEssentials/APIClient
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c542d31 [ADD] basic SwiftPM "build & test" action workflow.
Cloned https://github.com/XCEssentials/APIClient.git
Revision (git rev-parse @):
c542d313ef1082103170329a2c8327ca91949702
SUCCESS checkout https://github.com/XCEssentials/APIClient.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": "apiclient",
      "name": "XCEAPIClient",
      "url": "https://github.com/XCEssentials/APIClient.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/APIClient",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/XCEssentials/APIClient.git
[8/800] Fetching apiclient
Fetched https://github.com/XCEssentials/APIClient.git from cache (0.86s)
Creating working copy for https://github.com/XCEssentials/APIClient.git
Working copy of https://github.com/XCEssentials/APIClient.git resolved at main (c542d31)
warning: '.resolve-product-dependencies': dependency 'apiclient' 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/XCEssentials/APIClient.git
https://github.com/XCEssentials/APIClient.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XCEAPIClient",
  "name" : "XCEAPIClient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XCEAPIClient",
      "targets" : [
        "XCEAPIClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCEAPIClientAllTests",
      "module_type" : "SwiftTarget",
      "name" : "XCEAPIClientAllTests",
      "path" : "Tests/XCEAPIClientAllTests",
      "sources" : [
        "RequestDefinitionTests.swift",
        "URLRequestFacilitatorTests.swift"
      ],
      "target_dependencies" : [
        "XCEAPIClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCEAPIClient",
      "module_type" : "SwiftTarget",
      "name" : "XCEAPIClient",
      "path" : "Sources/XCEAPIClient",
      "product_memberships" : [
        "XCEAPIClient"
      ],
      "sources" : [
        "3rdParty/Alamofire/ParameterEncoding.swift",
        "BasicURLRequestFacilitator.swift",
        "Errors.swift",
        "Helpers.swift",
        "RequestDefinition.swift",
        "URLRequestFacilitator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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-5BDAB9E9C0126B9D.txt
[3/9] Compiling XCEAPIClient RequestDefinition.swift
[4/9] Compiling XCEAPIClient Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCEAPIClient/Errors.swift:44:10: warning: associated value 'conversionJSONObjectIntoDictionaryFailed(theObject:)' of 'Sendable'-conforming enum 'PrepareRequestIssue' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
42 |     case conversionIntoDataFailed(Error)
43 |     case conversionDataIntoJSONObjectFailed(Error)
44 |     case conversionJSONObjectIntoDictionaryFailed(theObject: Any)
   |          `- warning: associated value 'conversionJSONObjectIntoDictionaryFailed(theObject:)' of 'Sendable'-conforming enum 'PrepareRequestIssue' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
45 |     case invalidRelativePath(String)
46 |     case requestEncodingFailed(RequestEncodingIssue)
[5/9] Compiling XCEAPIClient URLRequestFacilitator.swift
[6/9] Compiling XCEAPIClient Helpers.swift
[7/9] Emitting module XCEAPIClient
/Users/admin/builder/spi-builder-workspace/Sources/XCEAPIClient/Errors.swift:44:10: warning: associated value 'conversionJSONObjectIntoDictionaryFailed(theObject:)' of 'Sendable'-conforming enum 'PrepareRequestIssue' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
42 |     case conversionIntoDataFailed(Error)
43 |     case conversionDataIntoJSONObjectFailed(Error)
44 |     case conversionJSONObjectIntoDictionaryFailed(theObject: Any)
   |          `- warning: associated value 'conversionJSONObjectIntoDictionaryFailed(theObject:)' of 'Sendable'-conforming enum 'PrepareRequestIssue' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
45 |     case invalidRelativePath(String)
46 |     case requestEncodingFailed(RequestEncodingIssue)
[8/9] Compiling XCEAPIClient BasicURLRequestFacilitator.swift
[9/9] Compiling XCEAPIClient ParameterEncoding.swift
Build complete! (8.60s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XCEAPIClient",
  "name" : "XCEAPIClient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XCEAPIClient",
      "targets" : [
        "XCEAPIClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCEAPIClientAllTests",
      "module_type" : "SwiftTarget",
      "name" : "XCEAPIClientAllTests",
      "path" : "Tests/XCEAPIClientAllTests",
      "sources" : [
        "RequestDefinitionTests.swift",
        "URLRequestFacilitatorTests.swift"
      ],
      "target_dependencies" : [
        "XCEAPIClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCEAPIClient",
      "module_type" : "SwiftTarget",
      "name" : "XCEAPIClient",
      "path" : "Sources/XCEAPIClient",
      "product_memberships" : [
        "XCEAPIClient"
      ],
      "sources" : [
        "3rdParty/Alamofire/ParameterEncoding.swift",
        "BasicURLRequestFacilitator.swift",
        "Errors.swift",
        "Helpers.swift",
        "RequestDefinition.swift",
        "URLRequestFacilitator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.