The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Eumorphic, reference trunk (bf244f), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 05:40:57 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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
========================================
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": "eumorphic",
      "name": "Eumorphic",
      "url": "https://github.com/ollieatkinson/Eumorphic.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Eumorphic",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ollieatkinson/Eumorphic.git
[3/128] Fetching eumorphic
Fetched https://github.com/ollieatkinson/Eumorphic.git from cache (0.63s)
Creating working copy for https://github.com/ollieatkinson/Eumorphic.git
Working copy of https://github.com/ollieatkinson/Eumorphic.git resolved at trunk (bf244f4)
warning: '.resolve-product-dependencies': dependency 'eumorphic' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ollieatkinson/Eumorphic.git
https://github.com/ollieatkinson/Eumorphic.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/7] Compiling Eumorphic Utilities.swift
[4/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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'null' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public var wrapped: Any {
[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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'null' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public var wrapped: Any {
[6/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])
[7/7] Compiling Eumorphic Path.swift
Build complete! (4.11s)
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.