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 v4.0.0 (bf840e), with Swift 5.9 for Linux on 11 Dec 2024 17:54:32 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.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 /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
 * 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
========================================
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-2":/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:a06db64ee3297a5f3491915d7662e6a86c0024d45425be3d593d7649696fef17
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/22] 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
[2/22] 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
[3/22] 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
[4/25] Compiling Turf Polygon.swift
[5/25] Compiling Turf Geometry.swift
[6/25] Compiling Turf JSON.swift
[7/25] Compiling Turf RadianCoordinate2D.swift
[8/25] Compiling Turf Ring.swift
[9/25] Compiling Turf Simplifier.swift
[10/25] Compiling Turf MultiPoint.swift
[11/25] Compiling Turf MultiPolygon.swift
[12/25] Compiling Turf Point.swift
[13/25] Compiling Turf BoundingBox.swift
[14/25] Compiling Turf Codable.swift
[15/25] Compiling Turf Consumer+WKT.swift
[16/25] Compiling Turf FeatureCollection.swift
[17/25] Compiling Turf FeatureIdentifier.swift
[18/25] Compiling Turf GeoJSON.swift
[19/25] 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
[20/25] Compiling Turf GeometryCollection.swift
[21/25] Compiling Turf LineString.swift
[22/25] Compiling Turf MultiLineString.swift
[23/25] Compiling Turf Spline.swift
[24/25] Compiling Turf Turf.swift
[25/25] Compiling Turf WKT.swift
Build complete! (7.30s)
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/geometry-collection.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/multipoint.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/multipolygon.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/featurecollection.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/simple-line.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/dc-line.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/polygon.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/point.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:a06db64ee3297a5f3491915d7662e6a86c0024d45425be3d593d7649696fef17
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.