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

Failed to build CLibPQ, reference develop (c7ff5b), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 08:25:34 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ZeeQL/CLibPQ.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ZeeQL/CLibPQ
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at c7ff5b5 Add a Swift 5.5 Package.swift
Cloned https://github.com/ZeeQL/CLibPQ.git
Revision (git rev-parse @):
c7ff5b556ee870a5627604e8774eaf6a3698b3b5
SUCCESS checkout https://github.com/ZeeQL/CLibPQ.git at develop
========================================
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": "clibpq",
      "name": "CLibPQ",
      "url": "https://github.com/ZeeQL/CLibPQ.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CLibPQ",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ZeeQL/CLibPQ.git
[1/45] Fetching clibpq
Fetched https://github.com/ZeeQL/CLibPQ.git from cache (0.71s)
Creating working copy for https://github.com/ZeeQL/CLibPQ.git
Working copy of https://github.com/ZeeQL/CLibPQ.git resolved at develop (c7ff5b5)
warning: '.resolve-product-dependencies': dependency 'clibpq' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ZeeQL/CLibPQ.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CLibPQ",
  "name" : "CLibPQ",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CLibPQ",
      "targets" : [
        "CLibPQ"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CLibPQ",
      "module_type" : "SystemLibraryTarget",
      "name" : "CLibPQ",
      "path" : "Sources/CLibPQ",
      "product_memberships" : [
        "CLibPQ"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 6.0 macosSpm