This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 Alfred with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/Alfred.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/Alfred
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at eadbfe0 Merge pull request #12 from Yerkenabildin/fix-modifiers
Cloned https://github.com/kiliankoe/Alfred.git
Revision (git rev-parse @):
eadbfe0b23cbd2f067643546bf49199595729d8b
SUCCESS checkout https://github.com/kiliankoe/Alfred.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/kiliankoe/Alfred.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/9] Compiling Alfred ModifierAction.swift
[4/9] Compiling Alfred Item.swift
[5/9] Compiling Alfred Response.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alfred/Response.swift:23:16: warning: static property 'encoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 |     }
22 |
23 |     static var encoder: JSONEncoder = {
   |                |- warning: static property 'encoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'encoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |         let encoder = JSONEncoder()
25 |         encoder.outputFormatting = [.prettyPrinted, .sortedKeys]
[6/9] Compiling Alfred Icon.swift
[7/9] Emitting module Alfred
/Users/admin/builder/spi-builder-workspace/Sources/Alfred/Response.swift:23:16: warning: static property 'encoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 |     }
22 |
23 |     static var encoder: JSONEncoder = {
   |                |- warning: static property 'encoder' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'encoder' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'encoder' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |         let encoder = JSONEncoder()
25 |         encoder.outputFormatting = [.prettyPrinted, .sortedKeys]
[8/9] Compiling Alfred Argument.swift
[9/9] Compiling Alfred Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Alfred/Environment.swift:183:29: warning: 'substring(with:)' is deprecated: Please use String slicing subscript.
181 |                 let startIdx = rgba.index(rgba.startIndex, offsetBy: result.range.location)
182 |                 let endIdx = rgba.index(startIdx, offsetBy: result.range.length)
183 |                 return rgba.substring(with: startIdx..<endIdx)
    |                             `- warning: 'substring(with:)' is deprecated: Please use String slicing subscript.
184 |             }
185 |             .compactMap { Double($0).map({ CGFloat($0) }) }
Build complete! (24.15s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Alfred",
  "name" : "Alfred",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "Alfred",
      "targets" : [
        "Alfred"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AlfredTests",
      "module_type" : "SwiftTarget",
      "name" : "AlfredTests",
      "path" : "Tests/AlfredTests",
      "sources" : [
        "ArgumentTests.swift",
        "EnvironmentTests.swift",
        "Helper.swift",
        "IconTests.swift",
        "ItemTests.swift",
        "ModifierActionTests.swift",
        "ResponseTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Alfred"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Alfred",
      "module_type" : "SwiftTarget",
      "name" : "Alfred",
      "path" : "Sources/Alfred",
      "product_memberships" : [
        "Alfred"
      ],
      "sources" : [
        "Argument.swift",
        "Environment.swift",
        "Icon.swift",
        "Item.swift",
        "ModifierAction.swift",
        "Response.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.