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.10 for Linux on 11 Dec 2024 17:55:34 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path:  $PWD
https://github.com/mapbox/turf-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:bbf8567030a4fa53b55a34fff1a818ffa3e86e892fedc5d8aa9c6958f48fdf8a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/24] 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
[4/27] Compiling Turf RadianCoordinate2D.swift
[5/27] Compiling Turf Ring.swift
[6/27] Compiling Turf Simplifier.swift
[7/27] Compiling Turf Polygon.swift
[8/27] Compiling Turf Geometry.swift
[9/27] Compiling Turf JSON.swift
[10/27] Compiling Turf MultiPoint.swift
[11/27] Compiling Turf MultiPolygon.swift
[12/27] Compiling Turf Point.swift
[13/27] 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
[14/27] 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
[15/27] 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
[16/27] Compiling Turf BoundingBox.swift
[17/27] Compiling Turf Codable.swift
[18/27] Compiling Turf Consumer+WKT.swift
[19/27] Compiling Turf Spline.swift
[20/27] Compiling Turf Turf.swift
[21/27] Compiling Turf WKT.swift
[22/27] Compiling Turf FeatureCollection.swift
[23/27] Compiling Turf FeatureIdentifier.swift
[24/27] Compiling Turf GeoJSON.swift
[25/27] Compiling Turf GeometryCollection.swift
[26/27] Compiling Turf LineString.swift
[27/27] Compiling Turf MultiLineString.swift
Build complete! (6.68s)
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/dc-line.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/multiline.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/multipoint.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/featurecollection.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/point.geojson",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/TurfTests/Fixtures/polygon.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-no-properties.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.10-latest: Pulling from finestructure/spi-images
Digest: sha256:bbf8567030a4fa53b55a34fff1a818ffa3e86e892fedc5d8aa9c6958f48fdf8a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.