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 main (84db58), with Swift 6.0 for macOS (SPM) on 20 Feb 2025 18:26:26 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mapbox/turf-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mapbox/turf-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 84db589 Merge pull request #258 from mapbox/feature/strip-binaries
Cloned https://github.com/mapbox/turf-swift.git
Revision (git rev-parse @):
84db5899af1beaa506aafcb006fd7759e7d5647d
SUCCESS checkout https://github.com/mapbox/turf-swift.git at main
[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.08s)
========================================
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/6081] Fetching turf-swift
Fetched https://github.com/mapbox/turf-swift.git from cache (1.42s)
Creating working copy for https://github.com/mapbox/turf-swift.git
Working copy of https://github.com/mapbox/turf-swift.git resolved at main (84db589)
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.90s)
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.2.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`.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
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