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 Turf, reference v4.0.0 (bf840e), with Swift 6.0 for macOS (SPM) on 11 Dec 2024 17:56:28 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.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mapbox/turf-swift.git
Reference: v4.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mapbox/turf-swift
 * tag               v4.0.0     -> FETCH_HEAD
HEAD is now at bf840e6 Update versions to v4.0.0 (#256)
Cloned https://github.com/mapbox/turf-swift.git
Revision (git rev-parse @):
bf840e6b9529d105687840fe2c9dcd74197d46d1
SUCCESS checkout https://github.com/mapbox/turf-swift.git at v4.0.0
[16375/17668925] Downloading https://github.com/mapbox/turf-swift/releases/download/v4.0.0/Turf.xcframework.zip
Downloading binary artifact https://github.com/mapbox/turf-swift/releases/download/v4.0.0/Turf.xcframework.zip
Downloaded https://github.com/mapbox/turf-swift/releases/download/v4.0.0/Turf.xcframework.zip (2.07s)
========================================
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": "turf-swift",
      "name": "Turf",
      "url": "https://github.com/mapbox/turf-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/turf-swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mapbox/turf-swift.git
[1/6036] Fetching turf-swift
Fetched https://github.com/mapbox/turf-swift.git from cache (1.53s)
Creating working copy for https://github.com/mapbox/turf-swift.git
Working copy of https://github.com/mapbox/turf-swift.git resolved at v4.0.0 (bf840e6)
Fetching binary artifact https://github.com/mapbox/turf-swift/releases/download/v4.0.0/Turf.xcframework.zip from cache
Fetched https://github.com/mapbox/turf-swift/releases/download/v4.0.0/Turf.xcframework.zip from cache (0.92s)
warning: '.resolve-product-dependencies': dependency 'turf-swift' 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/mapbox/turf-swift.git
https://github.com/mapbox/turf-swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Turf",
  "name" : "Turf",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Turf",
      "targets" : [
        "Turf"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Turf",
      "module_type" : "BinaryTarget",
      "name" : "Turf",
      "path" : "remote/archive/Turf.xcframework.zip",
      "product_memberships" : [
        "Turf"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.7"
}
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