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 DBThreadSafe, reference main (ae2b25), with Swift 5.10 for macOS (SPM) on 15 Dec 2025 13:54:56 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dodobrands/DBThreadSafe-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dodobrands/DBThreadSafe-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ae2b258 Bump actions/upload-artifact from 5 to 6 (#22)
Cloned https://github.com/dodobrands/DBThreadSafe-ios.git
Revision (git rev-parse @):
ae2b258f00f1a88fe2f3ebc09ba7c05bb4389ffc
SUCCESS checkout https://github.com/dodobrands/DBThreadSafe-ios.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/dodobrands/DBThreadSafe-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/6] Compiling DBThreadSafe ThreadSafe.swift
[4/6] Emitting module DBThreadSafe
/Users/admin/builder/spi-builder-workspace/Sources/DBThreadSafe/DBThreadSafeContainer.swift:4:37: warning: stored property 'value' of 'Sendable'-conforming generic class 'DBThreadSafeContainer' is mutable
    nonisolated(unsafe) private var value: T
                                    ^
/Users/admin/builder/spi-builder-workspace/Sources/DBThreadSafe/Lock.swift:4:37: warning: stored property 'lock' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<pthread_rwlock_t>' (aka 'UnsafeMutablePointer<_opaque_pthread_rwlock_t>')
    nonisolated(unsafe) private let lock = UnsafeMutablePointer<pthread_rwlock_t>.allocate(capacity: 1)
                                    ^
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
@frozen public struct UnsafeMutablePointer<Pointee> : _Pointer {
                      ^
[5/6] Compiling DBThreadSafe DBThreadSafeContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/DBThreadSafe/DBThreadSafeContainer.swift:4:37: warning: stored property 'value' of 'Sendable'-conforming generic class 'DBThreadSafeContainer' is mutable
    nonisolated(unsafe) private var value: T
                                    ^
[6/6] Compiling DBThreadSafe Lock.swift
/Users/admin/builder/spi-builder-workspace/Sources/DBThreadSafe/Lock.swift:4:37: warning: stored property 'lock' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<pthread_rwlock_t>' (aka 'UnsafeMutablePointer<_opaque_pthread_rwlock_t>')
    nonisolated(unsafe) private let lock = UnsafeMutablePointer<pthread_rwlock_t>.allocate(capacity: 1)
                                    ^
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
@frozen public struct UnsafeMutablePointer<Pointee> : _Pointer {
                      ^
Build complete! (4.72s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DBThreadSafe",
  "name" : "DBThreadSafe",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DBThreadSafe",
      "targets" : [
        "DBThreadSafe"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DBThreadSafeTests",
      "module_type" : "SwiftTarget",
      "name" : "DBThreadSafeTests",
      "path" : "Tests/DBThreadSafeTests",
      "sources" : [
        "DBThreadSafeContainerTests.swift",
        "ThreadSafeTests.swift"
      ],
      "target_dependencies" : [
        "DBThreadSafe"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DBThreadSafe",
      "module_type" : "SwiftTarget",
      "name" : "DBThreadSafe",
      "path" : "Sources/DBThreadSafe",
      "product_memberships" : [
        "DBThreadSafe"
      ],
      "sources" : [
        "DBThreadSafeContainer.swift",
        "Lock.swift",
        "ThreadSafe.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.