The Swift Package Index logo.Swift Package Index

Build Information

Successful build of GeoProjector, reference main (732e0a), with Swift 6.1 for macOS (SPM) on 29 Apr 2026 12:59:22 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maparoni/GeoProjector.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/maparoni/GeoProjector
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 732e0ab SVG support (#36)
Cloned https://github.com/maparoni/GeoProjector.git
Revision (git rev-parse @):
732e0abe4339ca9838da842fb2a31990cbb11506
SUCCESS checkout https://github.com/maparoni/GeoProjector.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/maparoni/GeoProjector.git
https://github.com/maparoni/GeoProjector.git
{
  "dependencies" : [
    {
      "identity" : "geojsonkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/maparoni/geojsonkit.git"
    },
    {
      "identity" : "geojsonkit-turf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/maparoni/geojsonkit-turf"
    },
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms.git"
    }
  ],
  "manifest_display_name" : "GeoProjector",
  "name" : "GeoProjector",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "xros",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "GeoProjector",
      "targets" : [
        "GeoProjector"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GeoDrawer",
      "targets" : [
        "GeoDrawer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GeoProjectorTests",
      "module_type" : "SwiftTarget",
      "name" : "GeoProjectorTests",
      "path" : "Tests/GeoProjectorTests",
      "sources" : [
        "MapBoundsTests.swift",
        "NaturalEarthTests.swift",
        "ProjectionTests.swift",
        "TranslationTests.swift"
      ],
      "target_dependencies" : [
        "GeoProjector"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GeoProjector",
      "module_type" : "SwiftTarget",
      "name" : "GeoProjector",
      "path" : "Sources/GeoProjector",
      "product_dependencies" : [
        "GeoJSONKit",
        "GeoJSONKitTurf"
      ],
      "product_memberships" : [
        "GeoProjector",
        "GeoDrawer"
      ],
      "sources" : [
        "Interpolator.swift",
        "Projection.swift",
        "ProjectionMode.swift",
        "Projections+Azimuthal.swift",
        "Projections+Cylindrical.swift",
        "Projections+Orthographic.swift",
        "Projections+Pseudocylindrical.swift",
        "Projections.swift",
        "Structs.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GeoDrawerTests",
      "module_type" : "SwiftTarget",
      "name" : "GeoDrawerTests",
      "path" : "Tests/GeoDrawerTests",
      "sources" : [
        "GeoDrawerSVGTests.swift"
      ],
      "target_dependencies" : [
        "GeoDrawer",
        "GeoProjector"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GeoDrawer",
      "module_type" : "SwiftTarget",
      "name" : "GeoDrawer",
      "path" : "Sources/GeoDrawer",
      "product_dependencies" : [
        "Algorithms"
      ],
      "product_memberships" : [
        "GeoDrawer"
      ],
      "sources" : [
        "GeoDrawer+CoreGraphics.swift",
        "GeoDrawer+Image.swift",
        "GeoDrawer+SVG.swift",
        "GeoDrawer.swift",
        "GeoJSON+Continents.swift",
        "GeoMap+AppKit.swift",
        "GeoMap+UIKit.swift",
        "styling/GeoDrawerContent+Style.swift"
      ],
      "target_dependencies" : [
        "GeoProjector"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/10] Write sources
[8/10] Compiling _NumericsShims _NumericsShims.c
[9/10] Write swift-version-2F0A5646E1D333AE.txt
[11/24] Compiling RealModule RealFunctions.swift
[12/25] Compiling RealModule Real.swift
[13/25] Emitting module RealModule
[14/25] Compiling RealModule AlgebraicField.swift
[15/25] Compiling RealModule ApproximateEquality.swift
[16/25] Compiling RealModule Float16+Real.swift
[17/25] Compiling RealModule Float80+Real.swift
[18/25] Compiling RealModule Float+Real.swift
[19/25] Compiling RealModule Double+Real.swift
[20/25] Compiling RealModule ElementaryFunctions.swift
[21/25] Compiling RealModule AugmentedArithmetic.swift
[22/25] Compiling RealModule RelaxedArithmetic.swift
[23/51] Compiling Algorithms Combinations.swift
[24/51] Compiling Algorithms Compacted.swift
[25/51] Compiling Algorithms Cycle.swift
[26/53] Compiling Algorithms Joined.swift
[27/53] Compiling Algorithms Keyed.swift
[28/53] Compiling Algorithms MinMax.swift
[29/53] Compiling Algorithms Suffix.swift
[30/53] Compiling Algorithms Trim.swift
[31/53] Compiling Algorithms Grouped.swift
[32/53] Compiling Algorithms Indexed.swift
[33/53] Compiling Algorithms Intersperse.swift
[34/53] Compiling Algorithms Split.swift
[35/53] Compiling Algorithms Stride.swift
[36/53] Compiling Algorithms EitherSequence.swift
[37/53] Compiling Algorithms FirstNonNil.swift
[38/53] Compiling Algorithms FlattenCollection.swift
[39/53] Compiling Algorithms Partition.swift
[40/53] Compiling Algorithms Permutations.swift
[41/53] Compiling Algorithms Product.swift
[42/53] Compiling Algorithms RandomSample.swift
[43/53] Compiling Algorithms Reductions.swift
[44/53] Compiling Algorithms Rotate.swift
[45/53] Compiling Algorithms Unique.swift
[46/53] Compiling Algorithms Windows.swift
[47/53] Compiling Algorithms AdjacentPairs.swift
[48/53] Compiling Algorithms Chain.swift
[49/53] Compiling Algorithms Chunked.swift
[50/53] Emitting module Algorithms
[51/53] Emitting module GeoJSONKit
[52/53] Compiling GeoJSONKit GeoJSON+Codable.swift
[53/53] Compiling GeoJSONKit GeoJSON.swift
[54/71] Compiling GeoJSONKitTurf Turf+BoundingBox.swift
[55/71] Compiling GeoJSONKitTurf Turf+GeometryObject.swift
[56/72] Compiling GeoJSONKitTurf SutherlandHodgeman.swift
[57/72] Compiling GeoJSONKitTurf Turf+Polygon.swift
[58/72] Compiling GeoJSONKitTurf Turf.swift
[59/72] Compiling GeoJSONKitTurf Turf+LineString.swift
[60/72] Compiling GeoJSONKitTurf Turf+LinearRing.swift
[61/72] Compiling GeoJSONKitTurf DouglasPeucker.swift
[62/72] Compiling GeoJSONKitTurf MonotoneChain.swift
[63/72] Compiling GeoJSONKitTurf CoreLocation.swift
[64/72] Compiling GeoJSONKitTurf GeoJSON+Helpers.swift
[65/72] Compiling GeoJSONKitTurf ClosestCoordinate.swift
[66/72] Compiling GeoJSONKitTurf ConvexHull.swift
[67/72] Compiling GeoJSONKitTurf Spline.swift
[68/72] Compiling GeoJSONKitTurf GeoJSON+LineString+EncodedPolyline.swift
[69/72] Compiling GeoJSONKitTurf Position+Helpers.swift
[70/72] Compiling GeoJSONKitTurf RadianCoordinate2D.swift
[71/72] Compiling GeoJSONKitTurf Simplify.swift
[72/72] Emitting module GeoJSONKitTurf
[73/82] Compiling GeoProjector ProjectionMode.swift
[74/82] Compiling GeoProjector Projection.swift
[75/82] Compiling GeoProjector Projections+Cylindrical.swift
[76/82] Compiling GeoProjector Projections+Azimuthal.swift
[77/82] Emitting module GeoProjector
/Users/admin/builder/spi-builder-workspace/Sources/GeoProjector/Structs.swift:13:21: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 | public struct Point: Hashable {
 13 |   public static var zero = Point(x: 0, y: 0)
    |                     |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |   public init(x: Double, y: Double) {
/Users/admin/builder/spi-builder-workspace/Sources/GeoProjector/Structs.swift:30:21: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | public struct Size: Hashable {
 30 |   public static var zero = Size(width: 0, height: 0)
    |                     |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |   public init(width: Double, height: Double) {
/Users/admin/builder/spi-builder-workspace/Sources/GeoProjector/Structs.swift:85:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' may have shared mutable state; this is an error in the Swift 6 language mode
 82 | }
 83 |
 84 | public struct EdgeInsets: Hashable {
    |               `- note: consider making struct 'EdgeInsets' conform to the 'Sendable' protocol
 85 |   public static let zero = EdgeInsets()
    |                     |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |
 87 |   public init(top: Double = 0, left: Double = 0, bottom: Double = 0, right: Double = 0) {
[78/82] Compiling GeoProjector Interpolator.swift
[79/82] Compiling GeoProjector Projections+Pseudocylindrical.swift
[80/82] Compiling GeoProjector Projections.swift
[81/82] Compiling GeoProjector Projections+Orthographic.swift
[82/82] Compiling GeoProjector Structs.swift
/Users/admin/builder/spi-builder-workspace/Sources/GeoProjector/Structs.swift:13:21: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 | public struct Point: Hashable {
 13 |   public static var zero = Point(x: 0, y: 0)
    |                     |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |   public init(x: Double, y: Double) {
/Users/admin/builder/spi-builder-workspace/Sources/GeoProjector/Structs.swift:30:21: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |
 29 | public struct Size: Hashable {
 30 |   public static var zero = Size(width: 0, height: 0)
    |                     |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |   public init(width: Double, height: Double) {
/Users/admin/builder/spi-builder-workspace/Sources/GeoProjector/Structs.swift:85:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' may have shared mutable state; this is an error in the Swift 6 language mode
 82 | }
 83 |
 84 | public struct EdgeInsets: Hashable {
    |               `- note: consider making struct 'EdgeInsets' conform to the 'Sendable' protocol
 85 |   public static let zero = EdgeInsets()
    |                     |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |
 87 |   public init(top: Double = 0, left: Double = 0, bottom: Double = 0, right: Double = 0) {
[83/91] Compiling GeoDrawer GeoDrawerContent+Style.swift
[84/91] Compiling GeoDrawer GeoMap+UIKit.swift
[85/91] Compiling GeoDrawer GeoDrawer.swift
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoDrawer.swift:88:49: warning: reference to static property 'zero' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 86 |           return acc
 87 |         } else if let first = points.first {
 88 |           var rect = Rect(origin: first, size: .zero)
    |                                                 `- warning: reference to static property 'zero' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 89 |           for point in points.dropFirst() {
 90 |             rect.absorb(point)
/Users/admin/builder/spi-builder-workspace/Sources/GeoProjector/Structs.swift:30:21: note: static property declared here
 28 |
 29 | public struct Size: Hashable {
 30 |   public static var zero = Size(width: 0, height: 0)
    |                     `- note: static property declared here
 31 |
 32 |   public init(width: Double, height: Double) {
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoDrawer.swift:246:15: warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 |   }
231 |
232 |   struct OffsettedElement<Element: Equatable>: Comparable, Equatable {
    |          `- note: consider making generic struct 'OffsettedElement' conform to the 'Sendable' protocol
233 |     let offset: Int
234 |     let element: Element
    :
244 |
245 |   func projectInParallel(_ contents: [Content], coordinateSystem: CoordinateSystem) async throws -> [ProjectedContent] {
246 |     try await withThrowingTaskGroup(of: [OffsettedElement<ProjectedContent>].self) { group in
    |               `- warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
247 |       let chunks = Array(contents.enumerated()).chunks(ofCount: 25)
248 |       for chunk in chunks {
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoDrawer.swift:246:84: warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 |   }
231 |
232 |   struct OffsettedElement<Element: Equatable>: Comparable, Equatable {
    |          `- note: consider making generic struct 'OffsettedElement' conform to the 'Sendable' protocol
233 |     let offset: Int
234 |     let element: Element
    :
244 |
245 |   func projectInParallel(_ contents: [Content], coordinateSystem: CoordinateSystem) async throws -> [ProjectedContent] {
246 |     try await withThrowingTaskGroup(of: [OffsettedElement<ProjectedContent>].self) { group in
    |                                                                                    `- warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
247 |       let chunks = Array(contents.enumerated()).chunks(ofCount: 25)
248 |       for chunk in chunks {
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoDrawer.swift:249:27: warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 |   }
231 |
232 |   struct OffsettedElement<Element: Equatable>: Comparable, Equatable {
    |          `- note: consider making generic struct 'OffsettedElement' conform to the 'Sendable' protocol
233 |     let offset: Int
234 |     let element: Element
    :
247 |       let chunks = Array(contents.enumerated()).chunks(ofCount: 25)
248 |       for chunk in chunks {
249 |         let added = group.addTaskUnlessCancelled {
    |                           `- warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
250 |           await Task {
251 |             return chunk.compactMap { input in
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoDrawer.swift:250:17: warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 |   }
231 |
232 |   struct OffsettedElement<Element: Equatable>: Comparable, Equatable {
    |          `- note: consider making generic struct 'OffsettedElement' conform to the 'Sendable' protocol
233 |     let offset: Int
234 |     let element: Element
    :
248 |       for chunk in chunks {
249 |         let added = group.addTaskUnlessCancelled {
250 |           await Task {
    |                 `- warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
251 |             return chunk.compactMap { input in
252 |               guard !Task.isCancelled, let projected = project(input.element, coordinateSystem: coordinateSystem) else { return nil }
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoDrawer.swift:250:17: warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 |   }
231 |
232 |   struct OffsettedElement<Element: Equatable>: Comparable, Equatable {
    |          `- note: consider making generic struct 'OffsettedElement' conform to the 'Sendable' protocol
233 |     let offset: Int
234 |     let element: Element
    :
248 |       for chunk in chunks {
249 |         let added = group.addTaskUnlessCancelled {
250 |           await Task {
    |                 `- warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
251 |             return chunk.compactMap { input in
252 |               guard !Task.isCancelled, let projected = project(input.element, coordinateSystem: coordinateSystem) else { return nil }
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoDrawer.swift:255:13: warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 |   }
231 |
232 |   struct OffsettedElement<Element: Equatable>: Comparable, Equatable {
    |          `- note: consider making generic struct 'OffsettedElement' conform to the 'Sendable' protocol
233 |     let offset: Int
234 |     let element: Element
    :
253 |               return OffsettedElement(offset: input.offset, element: projected)
254 |             }
255 |           }.value
    |             `- warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
256 |         }
257 |         if !added {
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoDrawer.swift:262:38: warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 |   }
231 |
232 |   struct OffsettedElement<Element: Equatable>: Comparable, Equatable {
    |          `- note: consider making generic struct 'OffsettedElement' conform to the 'Sendable' protocol
233 |     let offset: Int
234 |     let element: Element
    :
260 |       }
261 |
262 |       let unsorted = try await group.reduce(into: []) { $0.append(contentsOf: $1) }
    |                                      `- warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
263 |       return unsorted.sorted(by: <).map(\.element)
264 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoDrawer.swift:262:55: warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 |   }
231 |
232 |   struct OffsettedElement<Element: Equatable>: Comparable, Equatable {
    |          `- note: consider making generic struct 'OffsettedElement' conform to the 'Sendable' protocol
233 |     let offset: Int
234 |     let element: Element
    :
260 |       }
261 |
262 |       let unsorted = try await group.reduce(into: []) { $0.append(contentsOf: $1) }
    |                                                       `- warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
263 |       return unsorted.sorted(by: <).map(\.element)
264 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoDrawer.swift:262:55: warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 |   }
231 |
232 |   struct OffsettedElement<Element: Equatable>: Comparable, Equatable {
    |          `- note: consider making generic struct 'OffsettedElement' conform to the 'Sendable' protocol
233 |     let offset: Int
234 |     let element: Element
    :
260 |       }
261 |
262 |       let unsorted = try await group.reduce(into: []) { $0.append(contentsOf: $1) }
    |                                                       `- warning: type 'GeoDrawer.OffsettedElement<GeoDrawer.ProjectedContent>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
263 |       return unsorted.sorted(by: <).map(\.element)
264 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoDrawer.swift:249:50: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
247 |       let chunks = Array(contents.enumerated()).chunks(ofCount: 25)
248 |       for chunk in chunks {
249 |         let added = group.addTaskUnlessCancelled {
    |                                                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
250 |           await Task {
251 |             return chunk.compactMap { input in
252 |               guard !Task.isCancelled, let projected = project(input.element, coordinateSystem: coordinateSystem) else { return nil }
    |                                                                                                 `- note: closure captures 'coordinateSystem' which is accessible to code in the current task
253 |               return OffsettedElement(offset: input.offset, element: projected)
254 |             }
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoDrawer.swift:250:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
248 |       for chunk in chunks {
249 |         let added = group.addTaskUnlessCancelled {
250 |           await Task {
    |                      `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
251 |             return chunk.compactMap { input in
252 |               guard !Task.isCancelled, let projected = project(input.element, coordinateSystem: coordinateSystem) else { return nil }
    |                                                                                                 `- note: closure captures 'coordinateSystem' which is accessible to code in the current task
253 |               return OffsettedElement(offset: input.offset, element: projected)
254 |             }
[86/91] Compiling GeoDrawer GeoJSON+Continents.swift
[87/91] Compiling GeoDrawer GeoDrawer+SVG.swift
[88/91] Compiling GeoDrawer GeoDrawer+Image.swift
[89/91] Compiling GeoDrawer GeoDrawer+CoreGraphics.swift
[90/91] Compiling GeoDrawer GeoMap+AppKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoMap+AppKit.swift:143:42: warning: non-sendable result type '[GeoDrawer.ProjectedContent]' cannot be sent from nonisolated context in call to instance method 'projectInParallel(_:coordinateSystem:)'; this is an error in the Swift 6 language mode
141 |       guard let self else { return }
142 |       do {
143 |         let projected = try await drawer.projectInParallel(contents, coordinateSystem: .bottomLeft)
    |                                          `- warning: non-sendable result type '[GeoDrawer.ProjectedContent]' cannot be sent from nonisolated context in call to instance method 'projectInParallel(_:coordinateSystem:)'; this is an error in the Swift 6 language mode
144 |         await MainActor.run {
145 |           self.projectProgress = .finished(projected)
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoDrawer.swift:199:8: note: consider making enum 'ProjectedContent' conform to the 'Sendable' protocol
197 |   }
198 |
199 |   enum ProjectedContent: Hashable {
    |        `- note: consider making enum 'ProjectedContent' conform to the 'Sendable' protocol
200 |     case line([ProjectedLineString], stroke: Color, strokeWidth: Double)
201 |     case polygon([ProjectedPolygon], fill: Color, stroke: Color?, strokeWidth: Double)
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoMap+AppKit.swift:143:42: warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
141 |       guard let self else { return }
142 |       do {
143 |         let projected = try await drawer.projectInParallel(contents, coordinateSystem: .bottomLeft)
    |                                          |- warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: sending main actor-isolated 'self.contents' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
144 |         await MainActor.run {
145 |           self.projectProgress = .finished(projected)
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoMap+AppKit.swift:143:42: warning: sending value of non-Sendable type 'GeoDrawer' risks causing data races; this is an error in the Swift 6 language mode
141 |       guard let self else { return }
142 |       do {
143 |         let projected = try await drawer.projectInParallel(contents, coordinateSystem: .bottomLeft)
    |                                          |- warning: sending value of non-Sendable type 'GeoDrawer' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: sending main actor-isolated value of non-Sendable type 'GeoDrawer' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
144 |         await MainActor.run {
145 |           self.projectProgress = .finished(projected)
[91/91] Emitting module GeoDrawer
Build complete! (23.76s)
Fetching https://github.com/maparoni/geojsonkit-turf
Fetching https://github.com/maparoni/geojsonkit.git
Fetching https://github.com/apple/swift-algorithms.git from cache
[1/3087] Fetching geojsonkit-turf
[125/3449] Fetching geojsonkit-turf, geojsonkit
Fetched https://github.com/maparoni/geojsonkit.git from cache (1.18s)
Fetched https://github.com/maparoni/geojsonkit-turf from cache (1.19s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.19s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.81s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.87s)
Computing version for https://github.com/maparoni/geojsonkit.git
Computed https://github.com/maparoni/geojsonkit.git at 0.6.0 (1.49s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.50s)
Computing version for https://github.com/maparoni/geojsonkit-turf
Computed https://github.com/maparoni/geojsonkit-turf at 0.4.3 (0.60s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (1.47s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (2.02s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/maparoni/geojsonkit.git
Working copy of https://github.com/maparoni/geojsonkit.git resolved at 0.6.0
Creating working copy for https://github.com/maparoni/geojsonkit-turf
Working copy of https://github.com/maparoni/geojsonkit-turf resolved at 0.4.3
Build complete.
{
  "dependencies" : [
    {
      "identity" : "geojsonkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/maparoni/geojsonkit.git"
    },
    {
      "identity" : "geojsonkit-turf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/maparoni/geojsonkit-turf"
    },
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms.git"
    }
  ],
  "manifest_display_name" : "GeoProjector",
  "name" : "GeoProjector",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "xros",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "GeoProjector",
      "targets" : [
        "GeoProjector"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GeoDrawer",
      "targets" : [
        "GeoDrawer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GeoProjectorTests",
      "module_type" : "SwiftTarget",
      "name" : "GeoProjectorTests",
      "path" : "Tests/GeoProjectorTests",
      "sources" : [
        "MapBoundsTests.swift",
        "NaturalEarthTests.swift",
        "ProjectionTests.swift",
        "TranslationTests.swift"
      ],
      "target_dependencies" : [
        "GeoProjector"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GeoProjector",
      "module_type" : "SwiftTarget",
      "name" : "GeoProjector",
      "path" : "Sources/GeoProjector",
      "product_dependencies" : [
        "GeoJSONKit",
        "GeoJSONKitTurf"
      ],
      "product_memberships" : [
        "GeoProjector",
        "GeoDrawer"
      ],
      "sources" : [
        "Interpolator.swift",
        "Projection.swift",
        "ProjectionMode.swift",
        "Projections+Azimuthal.swift",
        "Projections+Cylindrical.swift",
        "Projections+Orthographic.swift",
        "Projections+Pseudocylindrical.swift",
        "Projections.swift",
        "Structs.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GeoDrawerTests",
      "module_type" : "SwiftTarget",
      "name" : "GeoDrawerTests",
      "path" : "Tests/GeoDrawerTests",
      "sources" : [
        "GeoDrawerSVGTests.swift"
      ],
      "target_dependencies" : [
        "GeoDrawer",
        "GeoProjector"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GeoDrawer",
      "module_type" : "SwiftTarget",
      "name" : "GeoDrawer",
      "path" : "Sources/GeoDrawer",
      "product_dependencies" : [
        "Algorithms"
      ],
      "product_memberships" : [
        "GeoDrawer"
      ],
      "sources" : [
        "GeoDrawer+CoreGraphics.swift",
        "GeoDrawer+Image.swift",
        "GeoDrawer+SVG.swift",
        "GeoDrawer.swift",
        "GeoJSON+Continents.swift",
        "GeoMap+AppKit.swift",
        "GeoMap+UIKit.swift",
        "styling/GeoDrawerContent+Style.swift"
      ],
      "target_dependencies" : [
        "GeoProjector"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.