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

Successful build of Turf, reference main (84db58), with Swift 5.9 for Linux on 20 Feb 2025 18:25:05 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/mapbox/turf-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/22] Emitting module Turf
/host/spi-builder-workspace/Sources/Turf/Consumer/Consumer.swift:92:25: warning: stored property 'characterSet' of 'Sendable'-conforming struct 'Charset' has non-sendable type 'CharacterSet'
        fileprivate let characterSet: CharacterSet
                        ^
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
              ^
/host/spi-builder-workspace/Sources/Turf/Consumer/Consumer.swift:32:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[2/25] Compiling Turf MultiPoint.swift
[3/25] Compiling Turf MultiPolygon.swift
[4/25] Compiling Turf Point.swift
[5/25] Compiling Turf GeometryCollection.swift
[6/25] Compiling Turf LineString.swift
[7/25] Compiling Turf MultiLineString.swift
[8/25] Compiling Turf Spline.swift
[9/25] Compiling Turf Turf.swift
[10/25] Compiling Turf WKT.swift
[11/25] Compiling Turf RadianCoordinate2D.swift
[12/25] Compiling Turf Ring.swift
[13/25] Compiling Turf Simplifier.swift
[14/25] Compiling Turf BoundingBox.swift
[15/25] Compiling Turf Codable.swift
[16/25] Compiling Turf Consumer+WKT.swift
[17/25] Compiling Turf Consumer.swift
/host/spi-builder-workspace/Sources/Turf/Consumer/Consumer.swift:92:25: warning: stored property 'characterSet' of 'Sendable'-conforming struct 'Charset' has non-sendable type 'CharacterSet'
        fileprivate let characterSet: CharacterSet
                        ^
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
              ^
/host/spi-builder-workspace/Sources/Turf/Consumer/Consumer.swift:32:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[18/25] Compiling Turf CoreLocation.swift
/host/spi-builder-workspace/Sources/Turf/Consumer/Consumer.swift:92:25: warning: stored property 'characterSet' of 'Sendable'-conforming struct 'Charset' has non-sendable type 'CharacterSet'
        fileprivate let characterSet: CharacterSet
                        ^
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
              ^
/host/spi-builder-workspace/Sources/Turf/Consumer/Consumer.swift:32:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[19/25] Compiling Turf Feature.swift
/host/spi-builder-workspace/Sources/Turf/Consumer/Consumer.swift:92:25: warning: stored property 'characterSet' of 'Sendable'-conforming struct 'Charset' has non-sendable type 'CharacterSet'
        fileprivate let characterSet: CharacterSet
                        ^
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
              ^
/host/spi-builder-workspace/Sources/Turf/Consumer/Consumer.swift:32:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[20/25] Compiling Turf Polygon.swift
[21/25] Compiling Turf Geometry.swift
[22/25] Compiling Turf JSON.swift
[23/25] Compiling Turf FeatureCollection.swift
[24/25] Compiling Turf FeatureIdentifier.swift
[25/25] Compiling Turf GeoJSON.swift
Build complete! (8.01s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Turf",
  "name" : "Turf",
  "path" : "/host/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" : "TurfTests",
      "module_type" : "SwiftTarget",
      "name" : "TurfTests",
      "path" : "Tests/TurfTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/polygon.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/point.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/simple-line.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/featurecollection.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/dc-line.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/multipoint.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/multiline.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/featurecollection-no-properties.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/geometry-collection.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/multipolygon.geojson",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "BoundingBoxTests.swift",
        "FeatureCollectionTests.swift",
        "FeatureIdentifier.swift",
        "Fixture.swift",
        "GeoJSONTests.swift",
        "GeometryCollectionTests.swift",
        "GeometryTests.swift",
        "JSONTests.swift",
        "LineStringTests.swift",
        "LocationCoordinate2DTests.swift",
        "MultiLineStringTests.swift",
        "MultiPointTests.swift",
        "MultiPolygonTests.swift",
        "PointTests.swift",
        "PolygonTests.swift",
        "RadianCoordinate2DTests.swift",
        "TurfTests.swift",
        "WKTTests.swift"
      ],
      "target_dependencies" : [
        "Turf"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Turf",
      "module_type" : "SwiftTarget",
      "name" : "Turf",
      "path" : "Sources/Turf",
      "product_memberships" : [
        "Turf"
      ],
      "sources" : [
        "BoundingBox.swift",
        "Codable.swift",
        "Consumer/Consumer+WKT.swift",
        "Consumer/Consumer.swift",
        "CoreLocation.swift",
        "Feature.swift",
        "FeatureCollection.swift",
        "FeatureIdentifier.swift",
        "GeoJSON.swift",
        "Geometries/GeometryCollection.swift",
        "Geometries/LineString.swift",
        "Geometries/MultiLineString.swift",
        "Geometries/MultiPoint.swift",
        "Geometries/MultiPolygon.swift",
        "Geometries/Point.swift",
        "Geometries/Polygon.swift",
        "Geometry.swift",
        "JSON.swift",
        "RadianCoordinate2D.swift",
        "Ring.swift",
        "Simplifier.swift",
        "Spline.swift",
        "Turf.swift",
        "WKT.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.