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 DownloadManager, reference 0.1.0 (1f6c3e), with Swift 6.1 for macOS (SPM) on 12 Sep 2025 11:30:11 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shapedbyiris/download-manager.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shapedbyiris/download-manager
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 1f6c3eb notification name &  non nil destinationURL
Cloned https://github.com/shapedbyiris/download-manager.git
Revision (git rev-parse @):
1f6c3ebbc361311e5abae53947ac5ade7542a575
SUCCESS checkout https://github.com/shapedbyiris/download-manager.git at 0.1.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": "download-manager",
      "name": "DownloadManager",
      "url": "https://github.com/shapedbyiris/download-manager.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/download-manager",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/shapedbyiris/download-manager.git
[1/42] Fetching download-manager
Fetched https://github.com/shapedbyiris/download-manager.git from cache (0.67s)
Creating working copy for https://github.com/shapedbyiris/download-manager.git
Working copy of https://github.com/shapedbyiris/download-manager.git resolved at 0.1.0 (1f6c3eb)
warning: '.resolve-product-dependencies': dependency 'download-manager' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/shapedbyiris/download-manager.git
https://github.com/shapedbyiris/download-manager.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DownloadManager",
  "name" : "DownloadManager",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "DownloadManager",
      "targets" : [
        "DownloadManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DownloadManager",
      "module_type" : "SwiftTarget",
      "name" : "DownloadManager",
      "path" : "Sources/DownloadManager",
      "product_memberships" : [
        "DownloadManager"
      ],
      "sources" : [
        "DownloadManager.swift",
        "DownloadManagerBackingStore.swift",
        "FileSystem.swift",
        "Logging.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/7] Compiling DownloadManager FileSystem.swift
[4/7] Compiling DownloadManager DownloadManagerBackingStore.swift
[5/7] Emitting module DownloadManager
/Users/admin/builder/spi-builder-workspace/Sources/DownloadManager/DownloadManager.swift:60:16: warning: stored property 'configuration' of 'Sendable'-conforming class 'DownloadManager' is mutable; this is an error in the Swift 6 language mode
 58 |     public static let shared = DownloadManager()
 59 |
 60 |     public var configuration = DownloadManagerConfig()
    |                `- warning: stored property 'configuration' of 'Sendable'-conforming class 'DownloadManager' is mutable; this is an error in the Swift 6 language mode
 61 |
 62 |     private lazy var session: URLSession = {
[6/7] Compiling DownloadManager DownloadManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/DownloadManager/DownloadManager.swift:60:16: warning: stored property 'configuration' of 'Sendable'-conforming class 'DownloadManager' is mutable; this is an error in the Swift 6 language mode
 58 |     public static let shared = DownloadManager()
 59 |
 60 |     public var configuration = DownloadManagerConfig()
    |                `- warning: stored property 'configuration' of 'Sendable'-conforming class 'DownloadManager' is mutable; this is an error in the Swift 6 language mode
 61 |
 62 |     private lazy var session: URLSession = {
/Users/admin/builder/spi-builder-workspace/Sources/DownloadManager/DownloadManager.swift:163:21: warning: capture of 'download' with non-sendable type 'DownloadItem' in a '@Sendable' closure
 22 | }
 23 |
 24 | public class DownloadItem: Codable {
    |              `- note: class 'DownloadItem' does not conform to the 'Sendable' protocol
 25 |     let remoteURL: URL
 26 |     let destinationURL: URL
    :
161 |
162 |                     os_log(verbosity: self.configuration.logVerbosity, type: .error, format: "Download error: %@", args: error.localizedDescription)
163 |                     download.completionBlock?(error, nil)
    |                     `- warning: capture of 'download' with non-sendable type 'DownloadItem' in a '@Sendable' closure
164 |                 }
165 |
[7/7] Compiling DownloadManager Logging.swift
Build complete! (4.21s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DownloadManager",
  "name" : "DownloadManager",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "DownloadManager",
      "targets" : [
        "DownloadManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DownloadManager",
      "module_type" : "SwiftTarget",
      "name" : "DownloadManager",
      "path" : "Sources/DownloadManager",
      "product_memberships" : [
        "DownloadManager"
      ],
      "sources" : [
        "DownloadManager.swift",
        "DownloadManagerBackingStore.swift",
        "FileSystem.swift",
        "Logging.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.