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 1.0.1 (a5d287), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 10:12:25 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: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/naftaly/Threadcrumb
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at a5d2877 Updated availability, tests and readme.
Cloned https://github.com/naftaly/Threadcrumb.git
Revision (git rev-parse @):
a5d2877d31f9712837e78935be3293fb6be6e545
SUCCESS checkout https://github.com/naftaly/Threadcrumb.git at 1.0.1
========================================
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.57s)
Creating working copy for https://github.com/naftaly/Threadcrumb.git
Working copy of https://github.com/naftaly/Threadcrumb.git resolved at 1.0.1 (a5d2877)
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:473: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
471 | // MARK: - Lookup table
472 |
473 | 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
474 |     "0": THREAD_CRUMB__0,
475 |     "1": THREAD_CRUMB__1,
/Users/admin/builder/spi-builder-workspace/Sources/Threadcrumb/Threadcrumb.swift:23:30: warning: capture of 'self' with non-sendable type 'Threadcrumb?' in a '@Sendable' closure
  8 |
  9 | @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, visionOS 1.0, *)
 10 | final public class Threadcrumb {
    |                    `- note: class 'Threadcrumb' does not conform to the 'Sendable' protocol
 11 |
 12 |     /// The identifier for the thread.
    :
 21 |
 22 |         self._thread = Thread { [weak self] in
 23 |             guard let self = self else {
    |                              `- warning: capture of 'self' with non-sendable type 'Threadcrumb?' in a '@Sendable' closure
 24 |                 return
 25 |             }
[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:473: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
471 | // MARK: - Lookup table
472 |
473 | 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
474 |     "0": THREAD_CRUMB__0,
475 |     "1": THREAD_CRUMB__1,
Build complete! (5.02s)
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.