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 swift-package-directory, reference 0.1.0 (546715), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 20:50:56 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bitwit/swift-package-directory.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bitwit/swift-package-directory
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 5467153 add crawlGithub action
Cloned https://github.com/bitwit/swift-package-directory.git
Revision (git rev-parse @):
54671535d371ed5ecead5dea42804da9b9f6b065
SUCCESS checkout https://github.com/bitwit/swift-package-directory.git at 0.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bitwit/swift-package-directory.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Write sources
[2/8] Write SPDCorePlayground-entitlement.plist
[3/8] Write sources
[4/8] Write swift-version-1EA4D86E10B52AF.txt
[6/25] Compiling PromiseKit Resolver.swift
[7/25] Compiling PromiseKit Thenable.swift
[8/25] Compiling PromiseKit race.swift
[9/25] Compiling PromiseKit hang.swift
[10/25] Compiling PromiseKit Catchable.swift
[11/25] Compiling PromiseKit Combine.swift
[12/25] Compiling PromiseKit Async.swift
[13/25] Compiling PromiseKit Box.swift
[14/25] Emitting module PromiseKit
[15/25] Compiling PromiseKit Error.swift
[16/25] Compiling PromiseKit Guarantee.swift
[17/25] Compiling PromiseKit LogEvent.swift
[18/25] Compiling PromiseKit Promise.swift
[19/25] Compiling PromiseKit Configuration.swift
[20/25] Compiling PromiseKit CustomStringConvertible.swift
[21/25] Compiling PromiseKit after.swift
[22/25] Compiling PromiseKit firstly.swift
[23/26] Compiling PromiseKit when.swift
[24/35] Compiling SPDCore PackageManager.swift
[25/35] Compiling SPDCore PackageCrawler.swift
[26/35] Compiling SPDCore Cloudant.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPDCore/Services/Cloudant.swift:10:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
  8 |
  9 | struct PopularSearch: Codable {
 10 |     let limit: Int = 10
    |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'limit' case to silence this warning
    |         `- note: make the property mutable instead
 11 |     let sort = [["stargazers_count": "desc"]]
 12 |     let selector = ["stargazers_count": ["$gte": 100]]
/Users/admin/builder/spi-builder-workspace/Sources/SPDCore/Services/Cloudant.swift:11:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
  9 | struct PopularSearch: Codable {
 10 |     let limit: Int = 10
 11 |     let sort = [["stargazers_count": "desc"]]
    |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'sort' case to silence this warning
    |         `- note: make the property mutable instead
 12 |     let selector = ["stargazers_count": ["$gte": 100]]
 13 |     let use_index: String
/Users/admin/builder/spi-builder-workspace/Sources/SPDCore/Services/Cloudant.swift:12:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 10 |     let limit: Int = 10
 11 |     let sort = [["stargazers_count": "desc"]]
 12 |     let selector = ["stargazers_count": ["$gte": 100]]
    |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'selector' case to silence this warning
    |         `- note: make the property mutable instead
 13 |     let use_index: String
 14 | }
[27/35] Compiling SPDCore performRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPDCore/Functions/performRequest.swift:21:21: warning: capture of non-sendable type 'T.Type' in an isolated closure
19 |
20 |                 if let err = error {
21 |                     resolver.reject(err)
   |                     `- warning: capture of non-sendable type 'T.Type' in an isolated closure
22 |                     return
23 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SPDCore/Functions/performRequest.swift:17:26: warning: capture of non-sendable type 'T.Type' in an isolated closure
15 |         callCount[host, default: 0] += 1
16 |
17 |         return Promise { resolver in
   |                          `- warning: capture of non-sendable type 'T.Type' in an isolated closure
18 |             let task = URLSession.shared.dataTask(with: request) { (data, response, error) in
19 |
[28/35] Emitting module SPDCore
/Users/admin/builder/spi-builder-workspace/Sources/SPDCore/Functions/URLRequest+Curl.swift:12:5: warning: 'public' modifier is redundant for property declared in a public extension
10 |     /// Returns a cURL command for a request
11 |     /// - return A String object that contains cURL command or "" if an URL is not properly initalized.
12 |     public var cURL: String {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
13 |
14 |         guard
[29/35] Compiling SPDCore URLRequest+Curl.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPDCore/Functions/URLRequest+Curl.swift:12:5: warning: 'public' modifier is redundant for property declared in a public extension
10 |     /// Returns a cURL command for a request
11 |     /// - return A String object that contains cURL command or "" if an URL is not properly initalized.
12 |     public var cURL: String {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
13 |
14 |         guard
[30/35] Compiling SPDCore DataStructures.swift
[31/35] Compiling SPDCore Package.swift
[32/35] Compiling SPDCore GitHub.swift
[33/37] Compiling SPDCorePlayground main.swift
[34/37] Emitting module SPDCorePlayground
[34/37] Write Objects.LinkFileList
[35/37] Linking SPDCorePlayground
[36/37] Applying SPDCorePlayground
Build complete! (27.29s)
Fetching https://github.com/mxcl/PromiseKit.git
[1/17186] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit.git from cache (1.73s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (3.70s)
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.22.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "promisekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.3.1",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/PromiseKit.git"
    }
  ],
  "manifest_display_name" : "swift-package-directory",
  "name" : "swift-package-directory",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SPDCore",
      "targets" : [
        "SPDCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SPDCorePlayground",
      "targets" : [
        "SPDCorePlayground"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SPDCorePlayground",
      "module_type" : "SwiftTarget",
      "name" : "SPDCorePlayground",
      "path" : "Sources/SPDCorePlayground",
      "product_memberships" : [
        "SPDCorePlayground"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SPDCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SPDCore",
      "module_type" : "SwiftTarget",
      "name" : "SPDCore",
      "path" : "Sources/SPDCore",
      "product_dependencies" : [
        "PromiseKit"
      ],
      "product_memberships" : [
        "SPDCore",
        "SPDCorePlayground"
      ],
      "sources" : [
        "Data Structures/DataStructures.swift",
        "Data Structures/Package.swift",
        "Functions/URLRequest+Curl.swift",
        "Functions/performRequest.swift",
        "Services/Cloudant.swift",
        "Services/GitHub.swift",
        "Services/PackageCrawler.swift",
        "Services/PackageManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.