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 Mutex, reference 0.0.6 (177015), with Swift 6.1 for macOS (SPM) on 3 Jun 2025 06:40:24 UTC.

Swift 6 data race errors: 0

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swhitty/swift-mutex.git
Reference: 0.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swhitty/swift-mutex
 * tag               0.0.6      -> FETCH_HEAD
HEAD is now at 1770152 Swift 6.1.2 musl
Cloned https://github.com/swhitty/swift-mutex.git
Revision (git rev-parse @):
1770152df756b54c28ef1787df1e957d93cc62d5
SUCCESS checkout https://github.com/swhitty/swift-mutex.git at 0.0.6
========================================
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": "swift-mutex",
      "name": "Mutex",
      "url": "https://github.com/swhitty/swift-mutex.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-mutex",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/swhitty/swift-mutex.git
[1/280] Fetching swift-mutex
Fetched https://github.com/swhitty/swift-mutex.git from cache (0.66s)
Creating working copy for https://github.com/swhitty/swift-mutex.git
Working copy of https://github.com/swhitty/swift-mutex.git resolved at 0.0.6 (1770152)
warning: '.resolve-product-dependencies': dependency 'swift-mutex' 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/swhitty/swift-mutex.git
https://github.com/swhitty/swift-mutex.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Mutex",
  "name" : "Mutex",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Mutex",
      "targets" : [
        "Mutex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MutexTests",
      "module_type" : "SwiftTarget",
      "name" : "MutexTests",
      "path" : "Tests",
      "sources" : [
        "AllocatedLock+Unsafe.swift",
        "AllocatedLockTests.swift",
        "AllocatedLockXCTests.swift",
        "MutexTests.swift",
        "MutexXCTests.swift"
      ],
      "target_dependencies" : [
        "Mutex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Mutex",
      "module_type" : "SwiftTarget",
      "name" : "Mutex",
      "path" : "Sources",
      "product_memberships" : [
        "Mutex"
      ],
      "sources" : [
        "AllocatedLock.swift",
        "Mutex.swift",
        "MutexSwift5.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/6] Compiling Mutex MutexSwift5.swift
[4/6] Compiling Mutex Mutex.swift
[5/6] Emitting module Mutex
/Users/admin/builder/spi-builder-workspace/Sources/AllocatedLock.swift:77:18: warning: 'AllocatedLock' is deprecated: Unused by Mutex and will be removed in future versions.
 75 | }
 76 |
 77 | public extension AllocatedLock where State == Void {
    |                  `- warning: 'AllocatedLock' is deprecated: Unused by Mutex and will be removed in future versions.
 78 |
 79 |     init() {
/Users/admin/builder/spi-builder-workspace/Sources/AllocatedLock.swift:135:11: warning: 'AllocatedLock' is deprecated: Unused by Mutex and will be removed in future versions.
133 | import func os.os_unfair_lock_trylock
134 |
135 | extension AllocatedLock {
    |           `- warning: 'AllocatedLock' is deprecated: Unused by Mutex and will be removed in future versions.
136 |     @usableFromInline
137 |     final class Storage {
[6/6] Compiling Mutex AllocatedLock.swift
/Users/admin/builder/spi-builder-workspace/Sources/AllocatedLock.swift:77:18: warning: 'AllocatedLock' is deprecated: Unused by Mutex and will be removed in future versions.
 75 | }
 76 |
 77 | public extension AllocatedLock where State == Void {
    |                  `- warning: 'AllocatedLock' is deprecated: Unused by Mutex and will be removed in future versions.
 78 |
 79 |     init() {
/Users/admin/builder/spi-builder-workspace/Sources/AllocatedLock.swift:135:11: warning: 'AllocatedLock' is deprecated: Unused by Mutex and will be removed in future versions.
133 | import func os.os_unfair_lock_trylock
134 |
135 | extension AllocatedLock {
    |           `- warning: 'AllocatedLock' is deprecated: Unused by Mutex and will be removed in future versions.
136 |     @usableFromInline
137 |     final class Storage {
Build complete! (2.67s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Mutex",
  "name" : "Mutex",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Mutex",
      "targets" : [
        "Mutex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MutexTests",
      "module_type" : "SwiftTarget",
      "name" : "MutexTests",
      "path" : "Tests",
      "sources" : [
        "AllocatedLock+Unsafe.swift",
        "AllocatedLockTests.swift",
        "AllocatedLockXCTests.swift",
        "MutexTests.swift",
        "MutexXCTests.swift"
      ],
      "target_dependencies" : [
        "Mutex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Mutex",
      "module_type" : "SwiftTarget",
      "name" : "Mutex",
      "path" : "Sources",
      "product_memberships" : [
        "Mutex"
      ],
      "sources" : [
        "AllocatedLock.swift",
        "Mutex.swift",
        "MutexSwift5.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.