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 Swiftfall, reference master (6ba077), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 08:23:46 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 -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bmbowdish/swiftfall.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bmbowdish/swiftfall
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6ba0779 Update README for getCards function in Set
Cloned https://github.com/bmbowdish/swiftfall.git
Revision (git rev-parse @):
6ba0779a4c8562f4af84cca0c56ab6ecf8421c17
SUCCESS checkout https://github.com/bmbowdish/swiftfall.git at master
========================================
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": "swiftfall",
      "name": "Swiftfall",
      "url": "https://github.com/bmbowdish/swiftfall.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftfall",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/bmbowdish/swiftfall.git
[7/665] Fetching swiftfall
Fetched https://github.com/bmbowdish/swiftfall.git from cache (0.89s)
Creating working copy for https://github.com/bmbowdish/swiftfall.git
Working copy of https://github.com/bmbowdish/swiftfall.git resolved at master (6ba0779)
warning: '.resolve-product-dependencies': dependency 'swiftfall' 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/bmbowdish/swiftfall.git
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 -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/4] Compiling Swiftfall Swiftfall.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftfall/Swiftfall.swift:558:15: warning: expression implicitly coerced from 'URL?' to 'Any'
556 |
557 |         let url = URL(string: call)
558 |         print(url)
    |               |- warning: expression implicitly coerced from 'URL?' 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
559 |         let task = URLSession.shared.dataTask(with: url!) {(data, response, error) in
560 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftfall/Swiftfall.swift:573:21: warning: capture of 'completion' with non-sendable type '(Swiftfall.Result<ResultType>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
571 |                     // Decode JSON file starting from Response struct.
572 |                     let decoded:ResultType = try decoder.decode(ResultType.self, from: content)
573 |                     completion(.success(decoded))
    |                     |- warning: capture of 'completion' with non-sendable type '(Swiftfall.Result<ResultType>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
574 |                 } else {
575 |                     let decoded:ScryfallError = try decoder.decode(ScryfallError.self, from: content)
[4/4] Emitting module Swiftfall
Build complete! (6.73s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Swiftfall",
  "name" : "Swiftfall",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Swiftfall",
      "targets" : [
        "Swiftfall"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Tests",
      "module_type" : "SwiftTarget",
      "name" : "Tests",
      "path" : "Tests",
      "sources" : [
        "LinuxMain.swift",
        "Tests.swift"
      ],
      "target_dependencies" : [
        "Swiftfall"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Swiftfall",
      "module_type" : "SwiftTarget",
      "name" : "Swiftfall",
      "path" : "Sources/Swiftfall",
      "product_memberships" : [
        "Swiftfall"
      ],
      "sources" : [
        "Swiftfall.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.