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 SwiftFM, reference main (59125a), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 12:47:04 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/starsite/SwiftFM.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/starsite/SwiftFM
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 59125ab test commit for gitbook
Cloned https://github.com/starsite/SwiftFM.git
Revision (git rev-parse @):
59125abe0f40fa57d1c298e87699225321562db4
SUCCESS checkout https://github.com/starsite/SwiftFM.git at main
========================================
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": "swiftfm",
      "name": "SwiftFM",
      "url": "https://github.com/starsite/SwiftFM.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftFM",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/starsite/SwiftFM.git
[1/618] Fetching swiftfm
Fetched https://github.com/starsite/SwiftFM.git from cache (0.82s)
Creating working copy for https://github.com/starsite/SwiftFM.git
Working copy of https://github.com/starsite/SwiftFM.git resolved at main (59125ab)
warning: '.resolve-product-dependencies': dependency 'swiftfm' 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/starsite/SwiftFM.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/14] Compiling SwiftFM StringExtension.swift
[4/15] Compiling SwiftFM FMResult.swift
[5/15] Compiling SwiftFM DataExtension.swift
[6/15] Compiling SwiftFM FMSession.swift
[7/15] Compiling SwiftFM FMRecord.swift
[8/15] Compiling SwiftFM FMLayoutMetaData.swift
[9/15] Compiling SwiftFM FMLayouts.swift
[10/15] Emitting module SwiftFM
[11/15] Compiling SwiftFM FMBool.swift
[12/15] Compiling SwiftFM FMDatabases.swift
[13/15] Compiling SwiftFM FMProduct.swift
[14/15] Compiling SwiftFM FMScripts.swift
[15/15] Compiling SwiftFM SwiftFM.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFM/SwiftFM.swift:246:17: warning: capture of 'completion' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 244 |
 245 |                 print("🔥 deleted token » \(token)")
 246 |                 completion(true)
     |                 |- warning: capture of 'completion' with non-sendable type '(Bool) -> Void' 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'
 247 |
 248 |             default:
Build complete! (20.55s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftFM",
  "name" : "SwiftFM",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftFM",
      "targets" : [
        "SwiftFM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftFMTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftFMTests",
      "path" : "Tests/SwiftFMTests",
      "sources" : [
        "SwiftFMTests.swift"
      ],
      "target_dependencies" : [
        "SwiftFM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftFM",
      "module_type" : "SwiftTarget",
      "name" : "SwiftFM",
      "path" : "Sources/SwiftFM",
      "product_memberships" : [
        "SwiftFM"
      ],
      "sources" : [
        "Codable Types/FMBool.swift",
        "Codable Types/FMDatabases.swift",
        "Codable Types/FMLayoutMetaData.swift",
        "Codable Types/FMLayouts.swift",
        "Codable Types/FMProduct.swift",
        "Codable Types/FMRecord.swift",
        "Codable Types/FMResult.swift",
        "Codable Types/FMScripts.swift",
        "Codable Types/FMSession.swift",
        "Extensions/DataExtension.swift",
        "Extensions/StringExtension.swift",
        "SwiftFM.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.