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 master (cdc4af), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 20:50:34 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bitwit/swift-package-directory
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at cdc4af4 Update README.md
Cloned https://github.com/bitwit/swift-package-directory.git
Revision (git rev-parse @):
cdc4af47a55d992cfed378d88fac6d3416f2b332
SUCCESS checkout https://github.com/bitwit/swift-package-directory.git at master
========================================
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
[1/8] Write SPDCorePlayground-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-1EA4D86E10B52AF.txt
[6/25] Compiling PromiseKit race.swift
[7/26] Compiling PromiseKit after.swift
[8/26] Compiling PromiseKit firstly.swift
[9/26] Compiling PromiseKit hang.swift
[10/26] Compiling PromiseKit Async.swift
[11/26] Compiling PromiseKit Box.swift
[12/26] Compiling PromiseKit Resolver.swift
[13/26] Compiling PromiseKit Thenable.swift
[14/26] Compiling PromiseKit Catchable.swift
[15/26] Compiling PromiseKit Combine.swift
[16/26] Compiling PromiseKit Error.swift
[17/26] Compiling PromiseKit Guarantee.swift
[18/26] Compiling PromiseKit LogEvent.swift
[19/26] Compiling PromiseKit Promise.swift
[20/26] Emitting module PromiseKit
[21/26] Compiling PromiseKit Configuration.swift
[22/26] Compiling PromiseKit CustomStringConvertible.swift
[23/26] Compiling PromiseKit when.swift
[24/36] Compiling SPDCore GitHub.swift
[25/36] Compiling SPDCore PackageManager.swift
[26/36] Compiling SPDCore PackageCrawler.swift
[27/36] 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 | }
[28/36] Compiling SPDCore DataStructures.swift
[29/36] 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 |
[30/36] Compiling SPDCore WhiskWrap.swift
[31/36] Compiling SPDCore Package.swift
[32/36] 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
[33/36] 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
[34/38] Compiling SPDCorePlayground main.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPDCorePlayground/main.swift:58:15: warning: expression implicitly coerced from 'AnyOutput<[Package]>?' to 'Any'
56 | //    let task = packageCrawler.execute()
57 |     whiskWrap(task, outputType: AnyOutput<[Package]>.self) { o, e in
58 |         print(o, e)
   |               |- warning: expression implicitly coerced from 'AnyOutput<[Package]>?' to 'Any'
   |               |- note: provide a default value to avoid this warning
   |               |- note: force-unwrap the value to avoid this warning
   |               `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
59 |     }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/SPDCorePlayground/main.swift:58:18: warning: expression implicitly coerced from '(any Error)?' to 'Any'
56 | //    let task = packageCrawler.execute()
57 |     whiskWrap(task, outputType: AnyOutput<[Package]>.self) { o, e in
58 |         print(o, e)
   |                  |- warning: expression implicitly coerced from '(any Error)?' to 'Any'
   |                  |- note: provide a default value to avoid this warning
   |                  |- note: force-unwrap the value to avoid this warning
   |                  `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
59 |     }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/SPDCorePlayground/main.swift:36:9: warning: initialization of immutable value 'startTime' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
34 | func main () {
35 |
36 |     let startTime = Date()
   |         `- warning: initialization of immutable value 'startTime' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
37 |     print("starting SPDCore playground")
38 |     let cloudant = Cloudant(baseUrl: urlString)
/Users/admin/builder/spi-builder-workspace/Sources/SPDCorePlayground/main.swift:42:9: warning: initialization of immutable value 'packageCrawler' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
40 |     let github = GitHub(username: githubUsername, accessToken: githubAccessToken)
41 |     let packageManager = PackageManager(cloudant: cloudant, github: github)
42 |     let packageCrawler = PackageCrawler(packageManager: packageManager)
   |         `- warning: initialization of immutable value 'packageCrawler' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
43 | //
44 | //    github.getRateLimit()
[35/38] Emitting module SPDCorePlayground
[35/38] Write Objects.LinkFileList
[36/38] Linking SPDCorePlayground
[37/38] Applying SPDCorePlayground
Build complete! (27.69s)
Fetching https://github.com/mxcl/PromiseKit.git
[1/17186] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit.git from cache (1.63s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (3.63s)
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/WhiskWrap.swift",
        "Functions/performRequest.swift",
        "Services/Cloudant.swift",
        "Services/GitHub.swift",
        "Services/PackageCrawler.swift",
        "Services/PackageManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.