The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CDB, reference main (118e3f), with Swift 6.1 for macOS (SPM) on 26 Jul 2026 00:18:26 UTC.

Swift 6 data race errors: 1

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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aisk/swift-cdb.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aisk/swift-cdb
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 118e3f5 📝 Complete binary API documentation
Cloned https://github.com/aisk/swift-cdb.git
Revision (git rev-parse @):
118e3f568099682e052fe5004df0aec36f3ecc4a
SUCCESS checkout https://github.com/aisk/swift-cdb.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/aisk/swift-cdb.git
https://github.com/aisk/swift-cdb.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CDB",
  "name" : "CDB",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CDB",
      "targets" : [
        "CDB"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "cdbc",
      "module_type" : "ClangTarget",
      "name" : "cdbc",
      "path" : "Sources/cdbc",
      "product_memberships" : [
        "CDB"
      ],
      "sources" : [
        "source/cdb.c",
        "source/host.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CDBTests",
      "module_type" : "SwiftTarget",
      "name" : "CDBTests",
      "path" : "Tests/CDBTests",
      "sources" : [
        "CDBTests.swift"
      ],
      "target_dependencies" : [
        "CDB"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CDB",
      "module_type" : "SwiftTarget",
      "name" : "CDB",
      "path" : "Sources/CDB",
      "product_memberships" : [
        "CDB"
      ],
      "sources" : [
        "cdb.swift"
      ],
      "target_dependencies" : [
        "cdbc"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-2F0A5646E1D333AE.txt
[2/4] Compiling cdb.c
[3/4] Compiling host.c
[5/6] Emitting module CDB
/Users/admin/builder/spi-builder-workspace/Sources/CDB/cdb.swift:34:10: warning: associated value 'wrongMode(operation:required:)' of 'Sendable'-conforming enum 'CDBError' has non-sendable type 'CDB.AccessMode'; this is an error in the Swift 6 language mode
 32 |     case invalidUTF8(context: String)
 33 |     case operationInProgress(operation: String)
 34 |     case wrongMode(operation: String, required: CDB.AccessMode)
    |          `- warning: associated value 'wrongMode(operation:required:)' of 'Sendable'-conforming enum 'CDBError' has non-sendable type 'CDB.AccessMode'; this is an error in the Swift 6 language mode
 35 |     case native(operation: String, code: Int)
 36 |
    :
 59 | /// used concurrently.
 60 | public final class CDB {
 61 |     public enum AccessMode: Int32 {
    |                 `- note: consider making enum 'AccessMode' conform to the 'Sendable' protocol
 62 |         case read = 0
 63 |         case write = 1
[6/6] Compiling CDB cdb.swift
/Users/admin/builder/spi-builder-workspace/Sources/CDB/cdb.swift:34:10: warning: associated value 'wrongMode(operation:required:)' of 'Sendable'-conforming enum 'CDBError' has non-sendable type 'CDB.AccessMode'; this is an error in the Swift 6 language mode
 32 |     case invalidUTF8(context: String)
 33 |     case operationInProgress(operation: String)
 34 |     case wrongMode(operation: String, required: CDB.AccessMode)
    |          `- warning: associated value 'wrongMode(operation:required:)' of 'Sendable'-conforming enum 'CDBError' has non-sendable type 'CDB.AccessMode'; this is an error in the Swift 6 language mode
 35 |     case native(operation: String, code: Int)
 36 |
    :
 59 | /// used concurrently.
 60 | public final class CDB {
 61 |     public enum AccessMode: Int32 {
    |                 `- note: consider making enum 'AccessMode' conform to the 'Sendable' protocol
 62 |         case read = 0
 63 |         case write = 1
Build complete! (4.71s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CDB",
  "name" : "CDB",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CDB",
      "targets" : [
        "CDB"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "cdbc",
      "module_type" : "ClangTarget",
      "name" : "cdbc",
      "path" : "Sources/cdbc",
      "product_memberships" : [
        "CDB"
      ],
      "sources" : [
        "source/cdb.c",
        "source/host.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CDBTests",
      "module_type" : "SwiftTarget",
      "name" : "CDBTests",
      "path" : "Tests/CDBTests",
      "sources" : [
        "CDBTests.swift"
      ],
      "target_dependencies" : [
        "CDB"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CDB",
      "module_type" : "SwiftTarget",
      "name" : "CDB",
      "path" : "Sources/CDB",
      "product_memberships" : [
        "CDB"
      ],
      "sources" : [
        "cdb.swift"
      ],
      "target_dependencies" : [
        "cdbc"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.