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

Swift 6 data race errors: 2

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/ollieatkinson/Eumorphic.git
Reference: trunk
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ollieatkinson/Eumorphic
 * branch            trunk      -> FETCH_HEAD
 * [new branch]      trunk      -> origin/trunk
HEAD is now at bf244f4 remove label for typed subscript return
Cloned https://github.com/ollieatkinson/Eumorphic.git
Revision (git rev-parse @):
bf244f4369d872fccbcef27da8fedb5a7a91f7aa
SUCCESS checkout https://github.com/ollieatkinson/Eumorphic.git at trunk
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/ollieatkinson/Eumorphic.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 Eumorphic Path.swift
[4/7] Compiling Eumorphic Eumorphic.swift
/Users/admin/builder/spi-builder-workspace/Sources/Eumorphic/Eumorphic.swift:69:14: warning: type '(String, Path)' is not optional, value can never be nil; this is an error in the Swift 6 language mode
 67 |         guard let (head, remaining) = path.first else { return }
 68 |         switch (head.stringValue, remaining) {
 69 |         case nil: return
    |              `- warning: type '(String, Path)' is not optional, value can never be nil; this is an error in the Swift 6 language mode
 70 |         case let (key, remaining):
 71 |             self[key] = try _set(value, at: remaining, on: self[key] as Any)
/Users/admin/builder/spi-builder-workspace/Sources/Eumorphic/Eumorphic.swift:90:14: warning: type '(Int, Path)' is not optional, value can never be nil; this is an error in the Swift 6 language mode
 88 |         padded(to: idx, with: Optional<Any>.none as Any)
 89 |         switch (idx, remaining) {
 90 |         case nil: return
    |              `- warning: type '(Int, Path)' is not optional, value can never be nil; this is an error in the Swift 6 language mode
 91 |         case let (idx, remaining):
 92 |             self[idx] = try _set(value, at: remaining, on: self[idx])
[5/7] Compiling Eumorphic AnyValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Eumorphic/AnyValue.swift:12:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct AnyValue: Eumorphic {
11 |
12 |     public static var empty: AnyValue = .null
   |                       |- warning: static property 'empty' 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 'empty' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'empty' 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
13 |     public static var null: AnyValue = .init(nil)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Eumorphic/AnyValue.swift:13:23: warning: static property 'null' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     public static var empty: AnyValue = .null
13 |     public static var null: AnyValue = .init(nil)
   |                       |- warning: static property 'null' 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 'null' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'null' 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
14 |
15 |     public var wrapped: Any {
[6/7] Compiling Eumorphic Utilities.swift
[7/7] Emitting module Eumorphic
/Users/admin/builder/spi-builder-workspace/Sources/Eumorphic/AnyValue.swift:12:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct AnyValue: Eumorphic {
11 |
12 |     public static var empty: AnyValue = .null
   |                       |- warning: static property 'empty' 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 'empty' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'empty' 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
13 |     public static var null: AnyValue = .init(nil)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Eumorphic/AnyValue.swift:13:23: warning: static property 'null' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     public static var empty: AnyValue = .null
13 |     public static var null: AnyValue = .init(nil)
   |                       |- warning: static property 'null' 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 'null' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'null' 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
14 |
15 |     public var wrapped: Any {
Build complete! (16.87s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Eumorphic",
  "name" : "Eumorphic",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Eumorphic",
      "targets" : [
        "Eumorphic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EumorphicTests",
      "module_type" : "SwiftTarget",
      "name" : "EumorphicTests",
      "path" : "Tests/EumorphicTests",
      "sources" : [
        "EumorphicTests.swift"
      ],
      "target_dependencies" : [
        "Eumorphic"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Eumorphic",
      "module_type" : "SwiftTarget",
      "name" : "Eumorphic",
      "path" : "Sources/Eumorphic",
      "product_memberships" : [
        "Eumorphic"
      ],
      "sources" : [
        "AnyValue.swift",
        "Eumorphic.swift",
        "Path.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.