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 main (42880a), with Swift 5.9 for Linux on 5 Jun 2025 03:05:02 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swhitty/swift-mutex.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/swhitty/swift-mutex
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 42880ab Xcode 16.4
Cloned https://github.com/swhitty/swift-mutex.git
Revision (git rev-parse @):
42880ab73cffcd41b76d363770cacb4fe2495217
SUCCESS checkout https://github.com/swhitty/swift-mutex.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/swhitty/swift-mutex.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:943c57f5f023c04804daf623375860c13f93d33d0cb4f0a89054871e5f11529c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/4] Compiling Mutex MutexSwift5.swift
[2/4] Compiling Mutex Mutex.swift
[3/4] Compiling Mutex AllocatedLock.swift
/host/spi-builder-workspace/Sources/AllocatedLock.swift:77:18: warning: 'AllocatedLock' is deprecated: Unused by Mutex and will be removed in future versions.
public extension AllocatedLock where State == Void {
                 ^
/host/spi-builder-workspace/Sources/AllocatedLock.swift:181:11: warning: 'AllocatedLock' is deprecated: Unused by Mutex and will be removed in future versions.
extension AllocatedLock {
          ^
[4/4] Emitting module Mutex
/host/spi-builder-workspace/Sources/AllocatedLock.swift:77:18: warning: 'AllocatedLock' is deprecated: Unused by Mutex and will be removed in future versions.
public extension AllocatedLock where State == Void {
                 ^
/host/spi-builder-workspace/Sources/AllocatedLock.swift:181:11: warning: 'AllocatedLock' is deprecated: Unused by Mutex and will be removed in future versions.
extension AllocatedLock {
          ^
Build complete! (5.14s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Mutex",
  "name" : "Mutex",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.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" : "5.9"
}
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:943c57f5f023c04804daf623375860c13f93d33d0cb4f0a89054871e5f11529c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.