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 Clavier 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/hainayanda/Clavier.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hainayanda/Clavier
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a669eec Update Clavier.podspec
Cloned https://github.com/hainayanda/Clavier.git
Revision (git rev-parse @):
a669eece7105cee029a3c11a5084169fe44879fd
SUCCESS checkout https://github.com/hainayanda/Clavier.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/hainayanda/Clavier.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/7] Compiling Clavier SafeAreaKeyboardLayoutGuide.swift
[4/7] Compiling Clavier ClavierGlobalConfig.swift
/Users/admin/builder/spi-builder-workspace/Clavier/Classes/ClavierGlobalConfig.swift:11:23: warning: static property 'useAppleKeyboardLayoutGuideIfAvailable' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public class ClavierGlobalConfig {
11 |     public static var useAppleKeyboardLayoutGuideIfAvailable: Bool = true
   |                       |- warning: static property 'useAppleKeyboardLayoutGuideIfAvailable' 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 'useAppleKeyboardLayoutGuideIfAvailable' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'useAppleKeyboardLayoutGuideIfAvailable' 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
12 | }
13 |
[5/7] Emitting module Clavier
/Users/admin/builder/spi-builder-workspace/Clavier/Classes/ClavierGlobalConfig.swift:11:23: warning: static property 'useAppleKeyboardLayoutGuideIfAvailable' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public class ClavierGlobalConfig {
11 |     public static var useAppleKeyboardLayoutGuideIfAvailable: Bool = true
   |                       |- warning: static property 'useAppleKeyboardLayoutGuideIfAvailable' 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 'useAppleKeyboardLayoutGuideIfAvailable' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'useAppleKeyboardLayoutGuideIfAvailable' 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
12 | }
13 |
[6/7] Compiling Clavier ClavierLayoutGuide.swift
[7/7] Compiling Clavier Extensions.swift
Build complete! (17.36s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Clavier",
  "name" : "Clavier",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Clavier",
      "targets" : [
        "Clavier"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Clavier",
      "module_type" : "SwiftTarget",
      "name" : "Clavier",
      "path" : "Clavier/Classes",
      "product_memberships" : [
        "Clavier"
      ],
      "sources" : [
        "ClavierGlobalConfig.swift",
        "ClavierLayoutGuide.swift",
        "Extensions.swift",
        "SafeAreaKeyboardLayoutGuide.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.