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 http-client, reference main (4e00a8), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 22:46:34 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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zunda-pixel/http-client.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/zunda-pixel/http-client
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4e00a84 use swift instead of swiftlang (#6)
Cloned https://github.com/zunda-pixel/http-client.git
Revision (git rev-parse @):
4e00a84fed15cdb290f015e7cbe547508f533918
SUCCESS checkout https://github.com/zunda-pixel/http-client.git at main
Fetching https://github.com/apple/swift-http-types
[1/671] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.84s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.0 (3.54s)
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.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": "http-client",
      "name": "http-client",
      "url": "https://github.com/zunda-pixel/http-client.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/http-client",
      "dependencies": [
        {
          "identity": "swift-http-types",
          "name": "swift-http-types",
          "url": "https://github.com/apple/swift-http-types",
          "version": "1.3.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-http-types",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/zunda-pixel/http-client.git
[1/106] Fetching http-client
Fetched https://github.com/zunda-pixel/http-client.git from cache (0.63s)
Fetching https://github.com/apple/swift-http-types from cache
Fetched https://github.com/apple/swift-http-types from cache (0.44s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.1 (0.53s)
Creating working copy for https://github.com/zunda-pixel/http-client.git
Working copy of https://github.com/zunda-pixel/http-client.git resolved at main (4e00a84)
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.3.1
warning: '.resolve-product-dependencies': dependency 'http-client' is not used by any target
Found 1 product dependencies
  - swift-http-types
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/zunda-pixel/http-client.git
{
  "dependencies" : [
    {
      "identity" : "swift-http-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-http-types"
    }
  ],
  "manifest_display_name" : "http-client",
  "name" : "http-client",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "HTTPClient",
      "targets" : [
        "HTTPClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HTTPClient",
      "module_type" : "SwiftTarget",
      "name" : "HTTPClient",
      "path" : "Sources/HTTPClient",
      "product_dependencies" : [
        "HTTPTypes",
        "HTTPTypesFoundation"
      ],
      "product_memberships" : [
        "HTTPClient"
      ],
      "sources" : [
        "HTTPClient.swift",
        "URLSesssion++.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/12] Compiling HTTPTypes ISOLatin1String.swift
[6/12] Compiling HTTPTypes HTTPRequest.swift
[7/12] Compiling HTTPTypes HTTPResponse.swift
[8/12] Compiling HTTPTypes HTTPParsedFields.swift
[9/12] Compiling HTTPTypes HTTPFieldName.swift
[10/12] Compiling HTTPTypes HTTPField.swift
[11/12] Emitting module HTTPTypes
[12/12] Compiling HTTPTypes HTTPFields.swift
[13/18] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[14/18] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[15/18] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[16/18] Emitting module HTTPTypesFoundation
[17/18] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[18/18] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[19/21] Emitting module HTTPClient
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClient/URLSesssion++.swift:2:8: warning: file 'URLSesssion++.swift' is part of module 'HTTPClient'; ignoring import
 1 | import Foundation
 2 | import HTTPClient
   |        `- warning: file 'URLSesssion++.swift' is part of module 'HTTPClient'; ignoring import
 3 | import HTTPTypes
 4 | import HTTPTypesFoundation
[20/21] Compiling HTTPClient URLSesssion++.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClient/URLSesssion++.swift:2:8: warning: file 'URLSesssion++.swift' is part of module 'HTTPClient'; ignoring import
 1 | import Foundation
 2 | import HTTPClient
   |        `- warning: file 'URLSesssion++.swift' is part of module 'HTTPClient'; ignoring import
 3 | import HTTPTypes
 4 | import HTTPTypesFoundation
[21/21] Compiling HTTPClient HTTPClient.swift
Build complete! (11.30s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-http-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-http-types"
    }
  ],
  "manifest_display_name" : "http-client",
  "name" : "http-client",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "HTTPClient",
      "targets" : [
        "HTTPClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HTTPClient",
      "module_type" : "SwiftTarget",
      "name" : "HTTPClient",
      "path" : "Sources/HTTPClient",
      "product_dependencies" : [
        "HTTPTypes",
        "HTTPTypesFoundation"
      ],
      "product_memberships" : [
        "HTTPClient"
      ],
      "sources" : [
        "HTTPClient.swift",
        "URLSesssion++.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.