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 Threading, reference main (35f7cb), with Swift 6.0 for macOS (SPM) on 30 Jan 2025 12:47:02 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/Threading.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NikSativa/Threading
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 35f7cb6 lil upd dependency
Cloned https://github.com/NikSativa/Threading.git
Revision (git rev-parse @):
35f7cb6649f9eb45cfff0dc7eff3d007dd5cd3dc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/Threading.git at main
Fetching https://github.com/NikSativa/SpryKit.git
[1/924] Fetching sprykit
Fetched https://github.com/NikSativa/SpryKit.git from cache (0.89s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 3.0.2 (0.46s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/apple/swift-syntax.git
[1/1257] Fetching cwlpreconditiontesting
[1258/69406] Fetching cwlpreconditiontesting, swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.75s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (3.75s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (3.25s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.53s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.81s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.53s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/NikSativa/SpryKit.git
Working copy of https://github.com/NikSativa/SpryKit.git resolved at 3.0.2
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.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": "threading",
      "name": "Threading",
      "url": "https://github.com/NikSativa/Threading.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Threading",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/NikSativa/Threading.git
[1/420] Fetching threading
Fetched https://github.com/NikSativa/Threading.git from cache (0.77s)
Creating working copy for https://github.com/NikSativa/Threading.git
Working copy of https://github.com/NikSativa/Threading.git resolved at main (35f7cb6)
warning: '.resolve-product-dependencies': dependency 'threading' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/NikSativa/Threading.git
https://github.com/NikSativa/Threading.git
{
  "dependencies" : [
    {
      "identity" : "sprykit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.2",
            "upper_bound" : "3.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/NikSativa/SpryKit.git"
    }
  ],
  "manifest_display_name" : "Threading",
  "name" : "Threading",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Threading",
      "targets" : [
        "Threading"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ThreadingTests",
      "module_type" : "SwiftTarget",
      "name" : "ThreadingTests",
      "path" : "Tests",
      "product_dependencies" : [
        "SpryKit"
      ],
      "sources" : [
        "DelayedQueueTests.swift",
        "DispatchTime_QueueTests.swift",
        "IsolatedMainTests.swift",
        "QueueTests.swift",
        "TestHelpers/DelayedQueue+TestHelper.swift",
        "TestHelpers/FakeQueueable.swift",
        "TestHelpers/Queue+TestHelper.swift"
      ],
      "target_dependencies" : [
        "Threading"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Threading",
      "module_type" : "SwiftTarget",
      "name" : "Threading",
      "path" : "Source",
      "product_memberships" : [
        "Threading"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Source/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AnyLock.swift",
        "AnyMutex.swift",
        "Atomic.swift",
        "DelayedQueue.swift",
        "DispatchTime+Queue.swift",
        "IsolatedMain.swift",
        "Locking.swift",
        "Mutexes/Barrier.swift",
        "Mutexes/NSLock.swift",
        "Mutexes/NSRecursiveLock.swift",
        "Mutexes/OSAllocatedUnfairLock.swift",
        "Mutexes/PThread.swift",
        "Mutexes/Semaphore.swift",
        "Mutexes/Unfair.swift",
        "Mutexing.swift",
        "Queue+Queueable.swift",
        "Queue.swift",
        "Queueable.swift",
        "UnSendable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/22] Compiling Threading Locking.swift
[5/22] Compiling Threading Barrier.swift
[6/22] Compiling Threading Mutexing.swift
[7/22] Compiling Threading Queue+Queueable.swift
[8/24] Compiling Threading NSLock.swift
[9/24] Compiling Threading NSRecursiveLock.swift
[10/24] Compiling Threading Semaphore.swift
[11/24] Compiling Threading Unfair.swift
[12/24] Compiling Threading OSAllocatedUnfairLock.swift
[13/24] Compiling Threading PThread.swift
[14/24] Compiling Threading Queue.swift
[15/24] Compiling Threading Queueable.swift
[16/24] Compiling Threading Atomic.swift
[17/24] Compiling Threading DelayedQueue.swift
[18/24] Emitting module Threading
[19/24] Compiling Threading AnyLock.swift
[20/24] Compiling Threading AnyMutex.swift
[21/24] Compiling Threading DispatchTime+Queue.swift
[22/24] Compiling Threading IsolatedMain.swift
[23/24] Compiling Threading UnSendable.swift
[24/24] Compiling Threading resource_bundle_accessor.swift
Build complete! (13.44s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "sprykit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.2",
            "upper_bound" : "3.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/NikSativa/SpryKit.git"
    }
  ],
  "manifest_display_name" : "Threading",
  "name" : "Threading",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Threading",
      "targets" : [
        "Threading"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ThreadingTests",
      "module_type" : "SwiftTarget",
      "name" : "ThreadingTests",
      "path" : "Tests",
      "product_dependencies" : [
        "SpryKit"
      ],
      "sources" : [
        "DelayedQueueTests.swift",
        "DispatchTime_QueueTests.swift",
        "IsolatedMainTests.swift",
        "QueueTests.swift",
        "TestHelpers/DelayedQueue+TestHelper.swift",
        "TestHelpers/FakeQueueable.swift",
        "TestHelpers/Queue+TestHelper.swift"
      ],
      "target_dependencies" : [
        "Threading"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Threading",
      "module_type" : "SwiftTarget",
      "name" : "Threading",
      "path" : "Source",
      "product_memberships" : [
        "Threading"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Source/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AnyLock.swift",
        "AnyMutex.swift",
        "Atomic.swift",
        "DelayedQueue.swift",
        "DispatchTime+Queue.swift",
        "IsolatedMain.swift",
        "Locking.swift",
        "Mutexes/Barrier.swift",
        "Mutexes/NSLock.swift",
        "Mutexes/NSRecursiveLock.swift",
        "Mutexes/OSAllocatedUnfairLock.swift",
        "Mutexes/PThread.swift",
        "Mutexes/Semaphore.swift",
        "Mutexes/Unfair.swift",
        "Mutexing.swift",
        "Queue+Queueable.swift",
        "Queue.swift",
        "Queueable.swift",
        "UnSendable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/niksativa/threading/main
Repository:               NikSativa/Threading
Swift version used:       6.0
Target:                   Threading
Extracting symbol information for 'Threading'...
Finished extracting symbol information for 'Threading'. (3.00s)
Building documentation for 'Threading'...
Finished building documentation for 'Threading' (0.41s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/niksativa/threading/main
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/NikSativa/SpryKit.git
Updating https://github.com/apple/swift-syntax.git
Updated https://github.com/NikSativa/SpryKit.git (0.51s)
[1/2048] Fetching swift-docc-plugin
Updated https://github.com/apple/swift-syntax.git (1.16s)
Updating https://github.com/mattgallagher/CwlCatchException.git
Updating https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (2.04s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 3.0.2 (0.44s)
Updated https://github.com/mattgallagher/CwlCatchException.git (0.47s)
Updated https://github.com/mattgallagher/CwlPreconditionTesting.git (0.47s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.64s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.54s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.56s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.62s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3270] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.24s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.56s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Emitting module Snippets
[8/53] Compiling Snippets SnippetParser.swift
[9/53] Emitting module SymbolKit
[10/57] Compiling SymbolKit Mixin+Equals.swift
[11/57] Compiling SymbolKit Mixin+Hash.swift
[12/57] Compiling SymbolKit Mixin.swift
[13/57] Compiling SymbolKit LineList.swift
[14/57] Compiling SymbolKit Position.swift
[15/57] Compiling SymbolKit Symbol.swift
[16/57] Compiling SymbolKit SymbolKind.swift
[17/57] Compiling SymbolKit SymbolGraph.swift
[18/57] Compiling SymbolKit GraphCollector.swift
[19/57] Compiling SymbolKit SourceRange.swift
[20/57] Compiling SymbolKit Metadata.swift
[21/57] Compiling SymbolKit Module.swift
[22/57] Compiling SymbolKit OperatingSystem.swift
[23/57] Compiling SymbolKit Platform.swift
[24/57] Compiling SymbolKit Names.swift
[25/57] Compiling SymbolKit SPI.swift
[26/57] Compiling SymbolKit Snippet.swift
[27/57] Compiling SymbolKit Extension.swift
[28/57] Compiling SymbolKit GenericConstraint.swift
[29/57] Compiling SymbolKit GenericParameter.swift
[30/57] Compiling SymbolKit Generics.swift
[31/57] Compiling SymbolKit Namespace.swift
[32/57] Compiling SymbolKit Relationship.swift
[33/57] Compiling SymbolKit RelationshipKind.swift
[34/57] Compiling SymbolKit SourceOrigin.swift
[35/57] Compiling SymbolKit GenericConstraints.swift
[36/57] Compiling SymbolKit Swift.swift
[37/57] Compiling SymbolKit Identifier.swift
[38/57] Compiling SymbolKit KindIdentifier.swift
[39/57] Compiling SymbolKit Location.swift
[40/57] Compiling SymbolKit Mutability.swift
[41/57] Compiling SymbolKit DeclarationFragments.swift
[42/57] Compiling SymbolKit Fragment.swift
[43/57] Compiling SymbolKit FragmentKind.swift
[44/57] Compiling SymbolKit FunctionParameter.swift
[45/57] Compiling SymbolKit FunctionSignature.swift
[46/57] Compiling SymbolKit SemanticVersion.swift
[47/57] Compiling SymbolKit AccessControl.swift
[48/57] Compiling SymbolKit Availability.swift
[49/57] Compiling SymbolKit AvailabilityItem.swift
[50/57] Compiling SymbolKit Domain.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.97s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/20] Compiling Threading NSLock.swift
[3/20] Compiling Threading NSRecursiveLock.swift
[4/20] Emitting module Threading
[5/20] Compiling Threading Locking.swift
[6/20] Compiling Threading Barrier.swift
[7/20] Compiling Threading Atomic.swift
[8/20] Compiling Threading DelayedQueue.swift
[9/20] Compiling Threading Mutexing.swift
[10/20] Compiling Threading Queue+Queueable.swift
[11/20] Compiling Threading OSAllocatedUnfairLock.swift
[12/20] Compiling Threading PThread.swift
[13/20] Compiling Threading AnyLock.swift
[14/20] Compiling Threading AnyMutex.swift
[15/20] Compiling Threading DispatchTime+Queue.swift
[16/20] Compiling Threading IsolatedMain.swift
[17/20] Compiling Threading Queue.swift
[18/20] Compiling Threading Queueable.swift
[19/20] Compiling Threading Semaphore.swift
[20/20] Compiling Threading Unfair.swift
[21/22] Compiling Threading UnSendable.swift
[22/22] Compiling Threading resource_bundle_accessor.swift
Build of target: 'Threading' complete! (0.90s)
     370
3	/Users/admin/builder/spi-builder-workspace/.docs/niksativa/threading/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/niksativa/threading/main
File count: 370
Doc size:   3.0MB
Preparing doc bundle ...
Uploading prod-niksativa-threading-main-3c35dd74.zip to s3://spi-docs-inbox/prod-niksativa-threading-main-3c35dd74.zip
Copying... [20%]
Copying... [30%]
Copying... [40%]
Copying... [50%]
Copying... [60%]
Copying... [70%]
Copying... [80%]
Copying... [90%]
Copying... [100%]
Copying... [100%]
Done.