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 Builder 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/Builder.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hainayanda/Builder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 83589c8 Update README.md
Cloned https://github.com/hainayanda/Builder.git
Revision (git rev-parse @):
83589c82653587f93949612ae1bd359c47370d4c
SUCCESS checkout https://github.com/hainayanda/Builder.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/hainayanda/Builder.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 Builder Protocols.swift
[4/7] Compiling Builder PropertyAssigner.swift
[5/7] Emitting module Builder
/Users/admin/builder/spi-builder-workspace/Builder/Classes/BuilderConfig.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'BuilderConfig' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public class BuilderConfig {
   |              `- note: class 'BuilderConfig' does not conform to the 'Sendable' protocol
18 |     public static let shared: BuilderConfig = .init()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'BuilderConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' 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
19 |
20 |     public var errorHandling: BuilderConfigErrorHandler = .debugPrintOnAssigningLet
[6/7] Compiling Builder BuilderConfig.swift
/Users/admin/builder/spi-builder-workspace/Builder/Classes/BuilderConfig.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'BuilderConfig' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public class BuilderConfig {
   |              `- note: class 'BuilderConfig' does not conform to the 'Sendable' protocol
18 |     public static let shared: BuilderConfig = .init()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'BuilderConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' 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
19 |
20 |     public var errorHandling: BuilderConfigErrorHandler = .debugPrintOnAssigningLet
[7/7] Compiling Builder Builder.swift
Build complete! (17.74s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Builder",
  "name" : "Builder",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "Builder",
      "targets" : [
        "Builder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Builder",
      "module_type" : "SwiftTarget",
      "name" : "Builder",
      "path" : "Builder/Classes",
      "product_memberships" : [
        "Builder"
      ],
      "sources" : [
        "Builder.swift",
        "BuilderConfig.swift",
        "PropertyAssigner.swift",
        "Protocols.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.