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 Mutex, reference main (c7c477), with Swift 6.0 for Linux on 18 Apr 2025 04:23:43 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.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 c7c4773 Merge pull request #4 from swhitty/swift-6.1
Cloned https://github.com/swhitty/swift-mutex.git
Revision (git rev-parse @):
c7c4773090f8e8fc3998289b64a10d88845516b4
SUCCESS checkout https://github.com/swhitty/swift-mutex.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swhitty/swift-mutex.git
https://github.com/swhitty/swift-mutex.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
    },
    {
      "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"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling Mutex AllocatedLock.swift
[4/5] Compiling Mutex Mutex.swift
[5/5] Emitting module Mutex
Build complete! (5.32s)
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"
    },
    {
      "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"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.