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 Lift, reference master (783204), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 17:35:00 UTC.

Swift 6 data race errors: 1

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/iZettle/Lift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iZettle/Lift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7832047 Merge pull request #43 from iZettle/bump-xcode-versions
Cloned https://github.com/iZettle/Lift.git
Revision (git rev-parse @):
7832047b61eb53b40f7dad003bdc331ec98f2523
SUCCESS checkout https://github.com/iZettle/Lift.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": "lift",
      "name": "Lift",
      "url": "https://github.com/iZettle/Lift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Lift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/iZettle/Lift.git
[1/772] Fetching lift
Fetched https://github.com/iZettle/Lift.git from cache (1.70s)
Creating working copy for https://github.com/iZettle/Lift.git
Working copy of https://github.com/iZettle/Lift.git resolved at master (7832047)
warning: '.resolve-product-dependencies': dependency 'lift' 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/iZettle/Lift.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/13] Compiling Lift JarElement+Primitives.swift
[4/14] Compiling Lift Jar+Expressible.swift
[5/14] Compiling Lift Jar+Dictionary.swift
[6/14] Compiling Lift Jar+Object.swift
[7/14] Compiling Lift JarElement.swift
[8/14] Compiling Lift LiftError.swift
/Users/admin/builder/spi-builder-workspace/Lift/LiftError.swift:21:21: warning: stored property '_context' of 'Sendable'-conforming struct 'LiftError' has non-sendable type '() -> String'; this is an error in the Swift 6 language mode
19 |     /// The context jar. Helpful for debugging.
20 |     public var context: String { return _context() }
21 |     fileprivate let _context: () -> String
   |                     |- warning: stored property '_context' of 'Sendable'-conforming struct 'LiftError' has non-sendable type '() -> String'; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 |
23 |     /// The description of the error
[9/14] Emitting module Lift
/Users/admin/builder/spi-builder-workspace/Lift/LiftError.swift:21:21: warning: stored property '_context' of 'Sendable'-conforming struct 'LiftError' has non-sendable type '() -> String'; this is an error in the Swift 6 language mode
19 |     /// The context jar. Helpful for debugging.
20 |     public var context: String { return _context() }
21 |     fileprivate let _context: () -> String
   |                     |- warning: stored property '_context' of 'Sendable'-conforming struct 'LiftError' has non-sendable type '() -> String'; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 |
23 |     /// The description of the error
[10/14] Compiling Lift Jar+Additions.swift
[11/14] Compiling Lift Jar+Array.swift
[12/14] Compiling Lift Jar.swift
[13/14] Compiling Lift Jar+Context.swift
[14/14] Compiling Lift ValueForKey.swift
Build complete! (17.79s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Lift",
  "name" : "Lift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Lift",
      "targets" : [
        "Lift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LiftTests",
      "module_type" : "SwiftTarget",
      "name" : "LiftTests",
      "path" : "Tests/LiftTests",
      "sources" : [
        "IntegerTests.swift",
        "JarTests.swift"
      ],
      "target_dependencies" : [
        "Lift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Lift",
      "module_type" : "SwiftTarget",
      "name" : "Lift",
      "path" : "Lift",
      "product_memberships" : [
        "Lift"
      ],
      "sources" : [
        "Jar+Additions.swift",
        "Jar+Array.swift",
        "Jar+Context.swift",
        "Jar+Dictionary.swift",
        "Jar+Expressible.swift",
        "Jar+Object.swift",
        "Jar.swift",
        "JarElement+Primitives.swift",
        "JarElement.swift",
        "LiftError.swift",
        "ValueForKey.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.