The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-concurrency-primitives, reference main (d7c711), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 02:21:55 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Genaro-Chris/swift-concurrency-primitives.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Genaro-Chris/swift-concurrency-primitives
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d7c711d V0.1.0
Cloned https://github.com/Genaro-Chris/swift-concurrency-primitives.git
Revision (git rev-parse @):
d7c711d397f144ac4e15726b8f1775cc314d42d7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Genaro-Chris/swift-concurrency-primitives.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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-concurrency-primitives",
      "name": "swift-concurrency-primitives",
      "url": "https://github.com/Genaro-Chris/swift-concurrency-primitives.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-concurrency-primitives",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Genaro-Chris/swift-concurrency-primitives.git
[1/808] Fetching swift-concurrency-primitives
Fetched https://github.com/Genaro-Chris/swift-concurrency-primitives.git from cache (0.86s)
Creating working copy for https://github.com/Genaro-Chris/swift-concurrency-primitives.git
Working copy of https://github.com/Genaro-Chris/swift-concurrency-primitives.git resolved at main (d7c711d)
warning: '.resolve-product-dependencies': dependency 'swift-concurrency-primitives' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Genaro-Chris/swift-concurrency-primitives.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/30] Compiling Primitives Locked.swift
[4/30] Compiling Primitives Mutex.swift
[5/30] Compiling Primitives Once.swift
[6/30] Compiling Primitives ConditionLock.swift
[7/30] Compiling Primitives Latch.swift
[8/30] Compiling Primitives Lock.swift
[9/30] Compiling Primitives Buffers.swift
[10/30] Compiling Primitives Channel.swift
[11/30] Compiling Primitives Condition.swift
[12/33] Compiling Primitives ThreadPool.swift
[13/33] Compiling Primitives TimeDuration.swift
[14/33] Compiling Primitives Timespec.swift
[15/33] Compiling Primitives OnceState.swift
[16/33] Compiling Primitives OneShotChannel.swift
[17/33] Compiling Primitives Operators.swift
[18/33] Compiling Primitives Queue.swift
[19/33] Compiling Primitives Semaphore.swift
[20/33] Compiling Primitives SingleElementStorage.swift
[21/33] Compiling Primitives UnboundedChannel.swift
[22/33] Compiling Primitives UnbufferedChannel.swift
[23/33] Compiling Primitives WaitGroup.swift
[24/33] Emitting module Primitives
[25/33] Compiling Primitives Storage.swift
[26/33] Compiling Primitives TaskChannel.swift
[27/33] Compiling Primitives ThreadParker.swift
[28/33] Compiling Primitives ArrayStorage.swift
[29/33] Compiling Primitives Barrier.swift
[30/33] Compiling Primitives BoundedChannel.swift
[31/33] Compiling Primitives WaitType.swift
[32/33] Compiling Primitives WorkerPool.swift
[33/33] Compiling Primitives WorkerThread.swift
Build complete! (4.20s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-concurrency-primitives",
  "name" : "swift-concurrency-primitives",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "Primitives",
      "targets" : [
        "Primitives"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Primitives_Tests",
      "module_type" : "SwiftTarget",
      "name" : "Primitives-Tests",
      "path" : "Tests/PrimitivesTests",
      "sources" : [
        "ChannelTests.swift",
        "PrimitivesTests.swift",
        "SynchronizationTests.swift",
        "ThreadPoolTests.swift"
      ],
      "target_dependencies" : [
        "Primitives"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Primitives",
      "module_type" : "SwiftTarget",
      "name" : "Primitives",
      "path" : "Sources/Primitives",
      "product_memberships" : [
        "Primitives"
      ],
      "sources" : [
        "ArrayStorage.swift",
        "Barrier.swift",
        "BoundedChannel.swift",
        "Buffers.swift",
        "Channel.swift",
        "Condition.swift",
        "ConditionLock.swift",
        "Latch.swift",
        "Lock.swift",
        "Locked.swift",
        "Mutex.swift",
        "Once.swift",
        "OnceState.swift",
        "OneShotChannel.swift",
        "Operators.swift",
        "Queue.swift",
        "Semaphore.swift",
        "SingleElementStorage.swift",
        "Storage.swift",
        "TaskChannel.swift",
        "ThreadParker.swift",
        "ThreadPool.swift",
        "TimeDuration.swift",
        "Timespec.swift",
        "UnboundedChannel.swift",
        "UnbufferedChannel.swift",
        "WaitGroup.swift",
        "WaitType.swift",
        "WorkerPool.swift",
        "WorkerThread.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/genaro-chris/swift-concurrency-primitives/main
Repository:               Genaro-Chris/swift-concurrency-primitives
Swift version used:       6.3
Target:                   Primitives
Extracting symbol information for 'Primitives'...
Finished extracting symbol information for 'Primitives'. (28.18s)
Building documentation for 'Primitives'...
warning: Parameter 'using' not found in instance method declaration
  --> ../Locked.swift:90:9-90:91
88 |     /// This function will block the current thread until it acquires the lock.
89 |     /// Upon acquiring the lock, only this thread can access or update the value stored in this type.
90 +     /// - Parameter using: a closure that updates or changes the value stored in this type
   |         ╰─suggestion: Remove 'using' parameter documentation
91 |     /// - Returns: value returned from the closure passed as argument
92 |     ///
warning: Parameter 'mutateWith' is missing documentation
  --> ../Locked.swift:90:91-90:91
88 |     /// This function will block the current thread until it acquires the lock.
89 |     /// Upon acquiring the lock, only this thread can access or update the value stored in this type.
90 +     /// - Parameter using: a closure that updates or changes the value stored in this type
   |                                                                                           ╰─suggestion: Document 'mutateWith' parameter
91 |     /// - Returns: value returned from the closure passed as argument
92 |     ///
warning: 'Dispatch' doesn't exist at '/Primitives/Primitives'
  --> Primitives.md:11:48-11:56
9  | Most of the constructs shouldn't be used in async context because they block a thread's execution flow thereby violating the swift's runtime contract: forward progress of thread execution.
10 |
11 + This package serves as an alternative to the ``Dispatch`` module of the swift language with a few more concurrency constructs.
12 |
13 | ## Topics
warning: 'unpark' doesn't exist at '/Primitives/ThreadParker/park()'
  --> ../ThreadParker.swift:28:45-28:51
26 |     }
27 |
28 +     /// Parks the caller thread until the ``unpark`` method is called
29 |     public func park() {
30 |         stageLock.interactWhileLocked { stage, conditionLock in
warning: External name 'for' used to document parameter
  --> ../ThreadParker.swift:55:13-55:16
53 |     /// Parks the caller thread until the specified time duration passes
54 |     /// - Parameters:
55 +     ///   - for: The time duration to park for
   |             ╰─suggestion: Replace 'for' with 'timeout'
56 |     public func park(for timeout: TimeDuration) {
57 |         stageLock.interactWhileLocked { stage, conditionLock in
warning: 'done' doesn't exist at '/Primitives/WaitGroup/waitForAll()'
  --> ../WaitGroup.swift:63:90-63:94
61 |     ///
62 |     /// This method blocks the current thread execution only if one or more
63 +     /// calls to the `enter` method until the same number of calls as been made to the ``done`` method
64 |     public func waitForAll() {
65 |         indexLock.interactWhileLocked { index, conditionLock in
Finished building documentation for 'Primitives' (0.47s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/genaro-chris/swift-concurrency-primitives/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2271] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.07s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (1.82s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.05s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.89s)
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.6
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
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--6988338F2F200930.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit GenericConstraint.swift
[8/57] Compiling SymbolKit GenericParameter.swift
[9/57] Compiling SymbolKit Generics.swift
[10/57] Compiling SymbolKit Namespace.swift
[11/57] Compiling SymbolKit SemanticVersion.swift
[12/57] Compiling SymbolKit AccessControl.swift
[13/57] Compiling SymbolKit Availability.swift
[14/57] Compiling SymbolKit AvailabilityItem.swift
[15/57] Compiling SymbolKit Domain.swift
[16/57] Compiling SymbolKit Names.swift
[17/57] Compiling SymbolKit SPI.swift
[18/57] Compiling SymbolKit Snippet.swift
[19/57] Compiling SymbolKit Extension.swift
[20/57] Compiling Snippets Snippet.swift
[21/57] Compiling Snippets SnippetParser.swift
[22/57] Emitting module Snippets
[23/57] Compiling SymbolKit SourceRange.swift
[24/57] Compiling SymbolKit Metadata.swift
[25/57] Compiling SymbolKit Module.swift
[26/57] Compiling SymbolKit OperatingSystem.swift
[27/57] Compiling SymbolKit Platform.swift
[28/57] Compiling SymbolKit DeclarationFragments.swift
[29/57] Compiling SymbolKit Fragment.swift
[30/57] Compiling SymbolKit FragmentKind.swift
[31/57] Compiling SymbolKit FunctionParameter.swift
[32/57] Compiling SymbolKit FunctionSignature.swift
[33/57] Compiling SymbolKit Identifier.swift
[34/57] Compiling SymbolKit KindIdentifier.swift
[35/57] Compiling SymbolKit Location.swift
[36/57] Compiling SymbolKit Mutability.swift
[37/57] Compiling SymbolKit Relationship.swift
[38/57] Compiling SymbolKit RelationshipKind.swift
[39/57] Compiling SymbolKit SourceOrigin.swift
[40/57] Compiling SymbolKit GenericConstraints.swift
[41/57] Compiling SymbolKit Swift.swift
[42/57] Compiling SymbolKit Mixin+Equals.swift
[43/57] Compiling SymbolKit Mixin+Hash.swift
[44/57] Compiling SymbolKit Mixin.swift
[45/57] Compiling SymbolKit LineList.swift
[46/57] Compiling SymbolKit Position.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.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 SnippetBuildCommand.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.35s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
Build of target: 'Primitives' complete! (0.24s)
     492
4	/Users/admin/builder/spi-builder-workspace/.docs/genaro-chris/swift-concurrency-primitives/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/genaro-chris/swift-concurrency-primitives/main
File count: 492
Doc size:   4.0MB
Preparing doc bundle ...
Uploading prod-genaro-chris-swift-concurrency-primitives-main-e3d7b486.zip to s3://spi-docs-inbox/prod-genaro-chris-swift-concurrency-primitives-main-e3d7b486.zip
Copying... [15%]
Copying... [23%]
Copying... [30%]
Copying... [45%]
Copying... [53%]
Copying... [61%]
Copying... [76%]
Copying... [83%]
Copying... [91%]
Copying... [100%]
Done.