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 Threadcrumb, reference main (e13df2), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 10:12:34 UTC.

Swift 6 data race errors: 1

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/naftaly/Threadcrumb.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/naftaly/Threadcrumb
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e13df26 Update Threadcrumb.swift
Cloned https://github.com/naftaly/Threadcrumb.git
Revision (git rev-parse @):
e13df268a4b884ef2e40abc95d0f5486143b7771
SUCCESS checkout https://github.com/naftaly/Threadcrumb.git at main
========================================
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": "threadcrumb",
      "name": "Threadcrumb",
      "url": "https://github.com/naftaly/Threadcrumb.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Threadcrumb",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/naftaly/Threadcrumb.git
[1/46] Fetching threadcrumb
Fetched https://github.com/naftaly/Threadcrumb.git from cache (0.58s)
Creating working copy for https://github.com/naftaly/Threadcrumb.git
Working copy of https://github.com/naftaly/Threadcrumb.git resolved at main (e13df26)
warning: '.resolve-product-dependencies': dependency 'threadcrumb' 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/naftaly/Threadcrumb.git
https://github.com/naftaly/Threadcrumb.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Threadcrumb",
  "name" : "Threadcrumb",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Threadcrumb",
      "targets" : [
        "Threadcrumb"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ThreadcrumbTests",
      "module_type" : "SwiftTarget",
      "name" : "ThreadcrumbTests",
      "path" : "Tests/ThreadcrumbTests",
      "sources" : [
        "ThreadcrumbTests.swift"
      ],
      "target_dependencies" : [
        "Threadcrumb"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Threadcrumb",
      "module_type" : "SwiftTarget",
      "name" : "Threadcrumb",
      "path" : "Sources/Threadcrumb",
      "product_memberships" : [
        "Threadcrumb"
      ],
      "sources" : [
        "Threadcrumb.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/4] Compiling Threadcrumb Threadcrumb.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Threadcrumb/Threadcrumb.swift:483:13: warning: let '_lookupTable' is not concurrency-safe because non-'Sendable' type '[String : (inout [String]) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
481 | // MARK: - Lookup table
482 |
483 | private let _lookupTable: [String: (inout [String])->()] = [
    |             |- warning: let '_lookupTable' is not concurrency-safe because non-'Sendable' type '[String : (inout [String]) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_lookupTable' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
484 |     "0": THREAD_CRUMB__0,
485 |     "1": THREAD_CRUMB__1,
/Users/admin/builder/spi-builder-workspace/Sources/Threadcrumb/Threadcrumb.swift:24:30: warning: capture of 'self' with non-sendable type 'Threadcrumb?' in a '@Sendable' closure
  9 |
 10 | @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, visionOS 1.0, *)
 11 | final public class Threadcrumb {
    |                    `- note: class 'Threadcrumb' does not conform to the 'Sendable' protocol
 12 |
 13 |     /// The identifier for the thread.
    :
 22 |
 23 |         self._thread = Thread { [weak self] in
 24 |             guard let self = self else {
    |                              `- warning: capture of 'self' with non-sendable type 'Threadcrumb?' in a '@Sendable' closure
 25 |                 return
 26 |             }
[4/4] Emitting module Threadcrumb
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Threadcrumb/Threadcrumb.swift:483:13: warning: let '_lookupTable' is not concurrency-safe because non-'Sendable' type '[String : (inout [String]) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
481 | // MARK: - Lookup table
482 |
483 | private let _lookupTable: [String: (inout [String])->()] = [
    |             |- warning: let '_lookupTable' is not concurrency-safe because non-'Sendable' type '[String : (inout [String]) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make let '_lookupTable' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
484 |     "0": THREAD_CRUMB__0,
485 |     "1": THREAD_CRUMB__1,
Build complete! (4.87s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Threadcrumb",
  "name" : "Threadcrumb",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Threadcrumb",
      "targets" : [
        "Threadcrumb"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ThreadcrumbTests",
      "module_type" : "SwiftTarget",
      "name" : "ThreadcrumbTests",
      "path" : "Tests/ThreadcrumbTests",
      "sources" : [
        "ThreadcrumbTests.swift"
      ],
      "target_dependencies" : [
        "Threadcrumb"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Threadcrumb",
      "module_type" : "SwiftTarget",
      "name" : "Threadcrumb",
      "path" : "Sources/Threadcrumb",
      "product_memberships" : [
        "Threadcrumb"
      ],
      "sources" : [
        "Threadcrumb.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.