Build Information
Successful build of S2GeometrySwift, reference master (d2ba24
), with Swift 6.0 for Linux on 1 Nov 2024 13:41:53 UTC.
Swift 6 data race errors: 28
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/philip-bui/s2-geometry-swift.git
Reference: master
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/philip-bui/s2-geometry-swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d2ba247 Update to Version 1.0.3 (#12)
Cloned https://github.com/philip-bui/s2-geometry-swift.git
Revision (git rev-parse @):
d2ba247f712ab348eaced369f0c5094120d27206
SUCCESS checkout https://github.com/philip-bui/s2-geometry-swift.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/philip-bui/s2-geometry-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-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/24] Emitting module S2GeometrySwift
/host/spi-builder-workspace/Sources/Classes/R1Interval.swift:26:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'R1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
12 | zero-length intervals (containing a single point).
13 | */
14 | public struct R1Interval: Equatable { //, Hashable {
| `- note: consider making struct 'R1Interval' conform to the 'Sendable' protocol
15 |
16 | public let lo: Double
:
24 |
25 | /// Returns an empty interval. (Any interval where lo > hi is considered empty.)
26 | public static let empty = R1Interval(lo: 1, hi: 0)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'R1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:65:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
63 | }
64 |
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:67:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S2.swift:203:20: warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'S2Point' may have shared mutable state; this is an error in the Swift 6 language mode
201 | rules out the north and south poles.)
202 | */
203 | public static let origin = S2Point(x: 0, y: 1, z: 0)
| |- warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'S2Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'origin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// Return true if the given point is approximately unit length (this is mainly useful for assertions).
/host/spi-builder-workspace/Sources/Classes/S2Point.swift:19:15: note: consider making struct 'S2Point' conform to the 'Sendable' protocol
17 | points are normalized to be unit length, but some methods do not require this.
18 | */
19 | public struct S2Point: Comparable, Hashable {
| `- note: consider making struct 'S2Point' conform to the 'Sendable' protocol
20 |
21 | public let x: Double
/host/spi-builder-workspace/Sources/Classes/S2Cap.swift:75:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
26 | h = 1 - cos(theta) = 2 sin^2(theta/2) d^2 = 2 h = a^2 + h^2
27 | */
28 | public struct S2Cap: S2Region {
| `- note: consider making struct 'S2Cap' conform to the 'Sendable' protocol
29 |
30 | /**
:
73 |
74 | /// Return an empty cap, i.e. a cap that contains no points.
75 | public static let empty = S2Cap(axis: S2Point(x: 1, y: 0, z: 0), height: -1)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Return a full cap, i.e. a cap that contains all points.
/host/spi-builder-workspace/Sources/Classes/S2Cap.swift:78:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
26 | h = 1 - cos(theta) = 2 sin^2(theta/2) d^2 = 2 h = a^2 + h^2
27 | */
28 | public struct S2Cap: S2Region {
| `- note: consider making struct 'S2Cap' conform to the 'Sendable' protocol
29 |
30 | /**
:
76 |
77 | /// Return a full cap, i.e. a cap that contains all points.
78 | public static let full = S2Cap(axis: S2Point(x: 1, y: 0, z: 0), height: 2)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public var area: Double {
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:79:21: warning: static property 'lookupLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 | private static let invertMask = 0x02
78 |
79 | private static var lookupLoaded = false
| |- warning: static property 'lookupLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lookupLoaded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lookupLoaded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | private static var lookup: (pos: [Int], ij: [Int]) = {
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:81:21: warning: static property 'lookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | private static var lookupLoaded = false
80 |
81 | private static var lookup: (pos: [Int], ij: [Int]) = {
| |- warning: static property 'lookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lookup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lookup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | return (pos: Array(repeating: 0, count: 1 << (2 * lookupBits + 2)), ij: Array(repeating: 0, count: 1 << (2 * lookupBits + 2)))
83 | }()
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:124:20: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
41 | point, it is better to use the S2Cell class.
42 | */
43 | public struct S2CellId: Comparable, Hashable {
| `- note: consider making struct 'S2CellId' conform to the 'Sendable' protocol
44 |
45 | // Although only 60 bits are needed to represent the index of a leaf
:
122 | }
123 |
124 | public static let none = S2CellId()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | public static let sentinel = S2CellId(id: .max)
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:126:20: warning: static property 'sentinel' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
41 | point, it is better to use the S2Cell class.
42 | */
43 | public struct S2CellId: Comparable, Hashable {
| `- note: consider making struct 'S2CellId' conform to the 'Sendable' protocol
44 |
45 | // Although only 60 bits are needed to represent the index of a leaf
:
124 | public static let none = S2CellId()
125 |
126 | public static let sentinel = S2CellId(id: .max)
| |- warning: static property 'sentinel' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sentinel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /**
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:770:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2CellId' to 'Hashable' by implementing 'hash(into:)' instead
768 | }
769 |
770 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2CellId' to 'Hashable' by implementing 'hash(into:)' instead
771 |
772 | // UInt64
/host/spi-builder-workspace/Sources/Classes/S2EdgeUtil.swift:458:20: warning: static property 'defaultIntersectionTolerance' is not concurrency-safe because non-'Sendable' type 'S1Angle' may have shared mutable state; this is an error in the Swift 6 language mode
456 | measured by the unittest in 1,000,000 trials is less than 3e-16.
457 | */
458 | public static let defaultIntersectionTolerance = S1Angle(radians: 1.5e-15)
| |- warning: static property 'defaultIntersectionTolerance' is not concurrency-safe because non-'Sendable' type 'S1Angle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultIntersectionTolerance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
459 |
460 | /**
/host/spi-builder-workspace/Sources/Classes/S1Angle.swift:15:15: note: consider making struct 'S1Angle' conform to the 'Sendable' protocol
13 | #endif
14 |
15 | public struct S1Angle: Equatable, Comparable {
| `- note: consider making struct 'S1Angle' conform to the 'Sendable' protocol
16 |
17 | public let radians: Double
/host/spi-builder-workspace/Sources/Classes/S2Point.swift:99:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2Point' to 'Hashable' by implementing 'hash(into:)' instead
97 | // MARK: Hashable
98 |
99 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2Point' to 'Hashable' by implementing 'hash(into:)' instead
100 | var value: UInt64 = 17
101 | value = value.addingReportingOverflow(UInt64(37).multipliedReportingOverflow(by: value.addingReportingOverflow(abs(x).bitPattern).partialValue).partialValue).partialValue
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:72:21: warning: static property 's2Projection' is not concurrency-safe because non-'Sendable' type 'S2Projections.Projection' may have shared mutable state; this is an error in the Swift 6 language mode
66 | public struct S2Projections {
67 |
68 | public enum Projection {
| `- note: consider making enum 'Projection' conform to the 'Sendable' protocol
69 | case linear, tan, quadratic
70 | }
71 |
72 | private static let s2Projection: Projection = .quadratic
| |- warning: static property 's2Projection' is not concurrency-safe because non-'Sendable' type 'S2Projections.Projection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's2Projection' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | // All of the values below were obtained by a combination of hand analysis and
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:84:20: warning: static property 'minArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
82 | // cells at level k is exactly AVG_AREA.GetValue(k).
83 |
84 | public static let minArea: S2.Metric = {
| |- warning: static property 'minArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minArea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | let x: Double
86 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:94:20: warning: static property 'maxArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
92 | }()
93 |
94 | public static let maxArea: S2.Metric = {
| |- warning: static property 'maxArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxArea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | let x: Double
96 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:104:20: warning: static property 'avgArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }()
103 |
104 | public static let avgArea = S2.Metric(dim: 2, deriv: Double.pi / 6) // 0.524
| |- warning: static property 'avgArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgArea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | // Each cell is bounded by four planes passing through its four edges and
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:114:20: warning: static property 'minAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
112 | // cells at level k is approximately AVG_ANGLE_SPAN.GetValue(k).
113 |
114 | public static let minAngleSpan: S2.Metric = {
| |- warning: static property 'minAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minAngleSpan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | let x: Double
116 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:124:20: warning: static property 'maxAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
122 | }()
123 |
124 | public static let maxAngleSpan: S2.Metric = {
| |- warning: static property 'maxAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxAngleSpan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | let x: Double
126 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:134:20: warning: static property 'avgAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
132 | }()
133 |
134 | public static let avgAngleSpan = S2.Metric(dim: 1, deriv: Double.pi / 4) // 0.785
| |- warning: static property 'avgAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgAngleSpan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | // The width of geometric figure is defined as the distance between two
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:155:20: warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
153 | // For example, this is useful when "growing" regions by a fixed distance.
154 |
155 | public static let minWidth: S2.Metric = {
| |- warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | let x: Double
157 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:165:20: warning: static property 'maxWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
163 | }()
164 |
165 | public static let maxWidth = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
| |- warning: static property 'maxWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | public static let avgWidth: S2.Metric = {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:167:20: warning: static property 'avgWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
165 | public static let maxWidth = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
166 |
167 | public static let avgWidth: S2.Metric = {
| |- warning: static property 'avgWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | let x: Double
169 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:187:20: warning: static property 'minEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
185 | // cells at any given level.
186 |
187 | public static let minEdge: S2.Metric = {
| |- warning: static property 'minEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minEdge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | let x: Double
189 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:197:20: warning: static property 'maxEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
195 | }()
196 |
197 | public static let maxEdge = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
| |- warning: static property 'maxEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxEdge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | public static let avgEdge: S2.Metric = {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:199:20: warning: static property 'avgEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
197 | public static let maxEdge = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
198 |
199 | public static let avgEdge: S2.Metric = {
| |- warning: static property 'avgEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgEdge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | let x: Double
201 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:218:20: warning: static property 'minDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
216 | // at a given level is at most half the maximum diagonal length.
217 |
218 | public static let minDiag: S2.Metric = {
| |- warning: static property 'minDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minDiag' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | let x: Double
220 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:228:20: warning: static property 'maxDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
226 | }()
227 |
228 | public static let maxDiag: S2.Metric = {
| |- warning: static property 'maxDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxDiag' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 | let x: Double
230 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:238:20: warning: static property 'avgDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
236 | }()
237 |
238 | public static let avgDiag: S2.Metric = {
| |- warning: static property 'avgDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgDiag' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 | let x: Double
240 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2RegionCoverer.swift:48:21: warning: static property 'faceCells' is not concurrency-safe because non-'Sendable' type '[S2Cell]' may have shared mutable state; this is an error in the Swift 6 language mode
46 | public static let defaultMaxCells = 8
47 |
48 | private static let faceCells: [S2Cell] = [
| |- warning: static property 'faceCells' is not concurrency-safe because non-'Sendable' type '[S2Cell]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'faceCells' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | S2Cell(face: 0, pos: 0, level: 0),
50 | S2Cell(face: 1, pos: 0, level: 0),
/host/spi-builder-workspace/Sources/Classes/S2Cell.swift:20:15: note: consider making struct 'S2Cell' conform to the 'Sendable' protocol
18 | more expensive representation.
19 | */
20 | public struct S2Cell: S2Region, Equatable {
| `- note: consider making struct 'S2Cell' conform to the 'Sendable' protocol
21 |
22 | private static let maxCellSize = 1 << S2CellId.maxLevel
[4/24] Compiling S2GeometrySwift R1Interval.swift
/host/spi-builder-workspace/Sources/Classes/R1Interval.swift:26:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'R1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
12 | zero-length intervals (containing a single point).
13 | */
14 | public struct R1Interval: Equatable { //, Hashable {
| `- note: consider making struct 'R1Interval' conform to the 'Sendable' protocol
15 |
16 | public let lo: Double
:
24 |
25 | /// Returns an empty interval. (Any interval where lo > hi is considered empty.)
26 | public static let empty = R1Interval(lo: 1, hi: 0)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'R1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Convenience method to construct an interval containing a single point.
[5/24] Compiling S2GeometrySwift R2Vector.swift
/host/spi-builder-workspace/Sources/Classes/R1Interval.swift:26:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'R1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
12 | zero-length intervals (containing a single point).
13 | */
14 | public struct R1Interval: Equatable { //, Hashable {
| `- note: consider making struct 'R1Interval' conform to the 'Sendable' protocol
15 |
16 | public let lo: Double
:
24 |
25 | /// Returns an empty interval. (Any interval where lo > hi is considered empty.)
26 | public static let empty = R1Interval(lo: 1, hi: 0)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'R1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Convenience method to construct an interval containing a single point.
[6/24] Compiling S2GeometrySwift S1Angle.swift
/host/spi-builder-workspace/Sources/Classes/R1Interval.swift:26:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'R1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
12 | zero-length intervals (containing a single point).
13 | */
14 | public struct R1Interval: Equatable { //, Hashable {
| `- note: consider making struct 'R1Interval' conform to the 'Sendable' protocol
15 |
16 | public let lo: Double
:
24 |
25 | /// Returns an empty interval. (Any interval where lo > hi is considered empty.)
26 | public static let empty = R1Interval(lo: 1, hi: 0)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'R1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Convenience method to construct an interval containing a single point.
[7/24] Compiling S2GeometrySwift S1Interval.swift
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:65:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
63 | }
64 |
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:67:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S2.swift:203:20: warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'S2Point' may have shared mutable state; this is an error in the Swift 6 language mode
201 | rules out the north and south poles.)
202 | */
203 | public static let origin = S2Point(x: 0, y: 1, z: 0)
| |- warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'S2Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'origin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// Return true if the given point is approximately unit length (this is mainly useful for assertions).
/host/spi-builder-workspace/Sources/Classes/S2Point.swift:19:15: note: consider making struct 'S2Point' conform to the 'Sendable' protocol
17 | points are normalized to be unit length, but some methods do not require this.
18 | */
19 | public struct S2Point: Comparable, Hashable {
| `- note: consider making struct 'S2Point' conform to the 'Sendable' protocol
20 |
21 | public let x: Double
[8/24] Compiling S2GeometrySwift S2.swift
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:65:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
63 | }
64 |
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:67:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S2.swift:203:20: warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'S2Point' may have shared mutable state; this is an error in the Swift 6 language mode
201 | rules out the north and south poles.)
202 | */
203 | public static let origin = S2Point(x: 0, y: 1, z: 0)
| |- warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'S2Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'origin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// Return true if the given point is approximately unit length (this is mainly useful for assertions).
/host/spi-builder-workspace/Sources/Classes/S2Point.swift:19:15: note: consider making struct 'S2Point' conform to the 'Sendable' protocol
17 | points are normalized to be unit length, but some methods do not require this.
18 | */
19 | public struct S2Point: Comparable, Hashable {
| `- note: consider making struct 'S2Point' conform to the 'Sendable' protocol
20 |
21 | public let x: Double
[9/24] Compiling S2GeometrySwift S2AreaCentroid.swift
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:65:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
63 | }
64 |
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:67:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S2.swift:203:20: warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'S2Point' may have shared mutable state; this is an error in the Swift 6 language mode
201 | rules out the north and south poles.)
202 | */
203 | public static let origin = S2Point(x: 0, y: 1, z: 0)
| |- warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'S2Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'origin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// Return true if the given point is approximately unit length (this is mainly useful for assertions).
/host/spi-builder-workspace/Sources/Classes/S2Point.swift:19:15: note: consider making struct 'S2Point' conform to the 'Sendable' protocol
17 | points are normalized to be unit length, but some methods do not require this.
18 | */
19 | public struct S2Point: Comparable, Hashable {
| `- note: consider making struct 'S2Point' conform to the 'Sendable' protocol
20 |
21 | public let x: Double
[10/26] Compiling S2GeometrySwift S2PolygonBuilder.swift
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:72:21: warning: static property 's2Projection' is not concurrency-safe because non-'Sendable' type 'S2Projections.Projection' may have shared mutable state; this is an error in the Swift 6 language mode
66 | public struct S2Projections {
67 |
68 | public enum Projection {
| `- note: consider making enum 'Projection' conform to the 'Sendable' protocol
69 | case linear, tan, quadratic
70 | }
71 |
72 | private static let s2Projection: Projection = .quadratic
| |- warning: static property 's2Projection' is not concurrency-safe because non-'Sendable' type 'S2Projections.Projection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's2Projection' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | // All of the values below were obtained by a combination of hand analysis and
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:84:20: warning: static property 'minArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
82 | // cells at level k is exactly AVG_AREA.GetValue(k).
83 |
84 | public static let minArea: S2.Metric = {
| |- warning: static property 'minArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minArea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | let x: Double
86 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:94:20: warning: static property 'maxArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
92 | }()
93 |
94 | public static let maxArea: S2.Metric = {
| |- warning: static property 'maxArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxArea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | let x: Double
96 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:104:20: warning: static property 'avgArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }()
103 |
104 | public static let avgArea = S2.Metric(dim: 2, deriv: Double.pi / 6) // 0.524
| |- warning: static property 'avgArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgArea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | // Each cell is bounded by four planes passing through its four edges and
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:114:20: warning: static property 'minAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
112 | // cells at level k is approximately AVG_ANGLE_SPAN.GetValue(k).
113 |
114 | public static let minAngleSpan: S2.Metric = {
| |- warning: static property 'minAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minAngleSpan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | let x: Double
116 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:124:20: warning: static property 'maxAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
122 | }()
123 |
124 | public static let maxAngleSpan: S2.Metric = {
| |- warning: static property 'maxAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxAngleSpan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | let x: Double
126 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:134:20: warning: static property 'avgAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
132 | }()
133 |
134 | public static let avgAngleSpan = S2.Metric(dim: 1, deriv: Double.pi / 4) // 0.785
| |- warning: static property 'avgAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgAngleSpan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | // The width of geometric figure is defined as the distance between two
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:155:20: warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
153 | // For example, this is useful when "growing" regions by a fixed distance.
154 |
155 | public static let minWidth: S2.Metric = {
| |- warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | let x: Double
157 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:165:20: warning: static property 'maxWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
163 | }()
164 |
165 | public static let maxWidth = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
| |- warning: static property 'maxWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | public static let avgWidth: S2.Metric = {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:167:20: warning: static property 'avgWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
165 | public static let maxWidth = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
166 |
167 | public static let avgWidth: S2.Metric = {
| |- warning: static property 'avgWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | let x: Double
169 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:187:20: warning: static property 'minEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
185 | // cells at any given level.
186 |
187 | public static let minEdge: S2.Metric = {
| |- warning: static property 'minEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minEdge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | let x: Double
189 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:197:20: warning: static property 'maxEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
195 | }()
196 |
197 | public static let maxEdge = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
| |- warning: static property 'maxEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxEdge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | public static let avgEdge: S2.Metric = {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:199:20: warning: static property 'avgEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
197 | public static let maxEdge = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
198 |
199 | public static let avgEdge: S2.Metric = {
| |- warning: static property 'avgEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgEdge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | let x: Double
201 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:218:20: warning: static property 'minDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
216 | // at a given level is at most half the maximum diagonal length.
217 |
218 | public static let minDiag: S2.Metric = {
| |- warning: static property 'minDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minDiag' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | let x: Double
220 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:228:20: warning: static property 'maxDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
226 | }()
227 |
228 | public static let maxDiag: S2.Metric = {
| |- warning: static property 'maxDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxDiag' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 | let x: Double
230 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:238:20: warning: static property 'avgDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
236 | }()
237 |
238 | public static let avgDiag: S2.Metric = {
| |- warning: static property 'avgDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgDiag' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 | let x: Double
240 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
[11/26] Compiling S2GeometrySwift S2Polyline.swift
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:72:21: warning: static property 's2Projection' is not concurrency-safe because non-'Sendable' type 'S2Projections.Projection' may have shared mutable state; this is an error in the Swift 6 language mode
66 | public struct S2Projections {
67 |
68 | public enum Projection {
| `- note: consider making enum 'Projection' conform to the 'Sendable' protocol
69 | case linear, tan, quadratic
70 | }
71 |
72 | private static let s2Projection: Projection = .quadratic
| |- warning: static property 's2Projection' is not concurrency-safe because non-'Sendable' type 'S2Projections.Projection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's2Projection' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | // All of the values below were obtained by a combination of hand analysis and
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:84:20: warning: static property 'minArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
82 | // cells at level k is exactly AVG_AREA.GetValue(k).
83 |
84 | public static let minArea: S2.Metric = {
| |- warning: static property 'minArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minArea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | let x: Double
86 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:94:20: warning: static property 'maxArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
92 | }()
93 |
94 | public static let maxArea: S2.Metric = {
| |- warning: static property 'maxArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxArea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | let x: Double
96 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:104:20: warning: static property 'avgArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }()
103 |
104 | public static let avgArea = S2.Metric(dim: 2, deriv: Double.pi / 6) // 0.524
| |- warning: static property 'avgArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgArea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | // Each cell is bounded by four planes passing through its four edges and
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:114:20: warning: static property 'minAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
112 | // cells at level k is approximately AVG_ANGLE_SPAN.GetValue(k).
113 |
114 | public static let minAngleSpan: S2.Metric = {
| |- warning: static property 'minAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minAngleSpan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | let x: Double
116 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:124:20: warning: static property 'maxAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
122 | }()
123 |
124 | public static let maxAngleSpan: S2.Metric = {
| |- warning: static property 'maxAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxAngleSpan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | let x: Double
126 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:134:20: warning: static property 'avgAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
132 | }()
133 |
134 | public static let avgAngleSpan = S2.Metric(dim: 1, deriv: Double.pi / 4) // 0.785
| |- warning: static property 'avgAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgAngleSpan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | // The width of geometric figure is defined as the distance between two
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:155:20: warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
153 | // For example, this is useful when "growing" regions by a fixed distance.
154 |
155 | public static let minWidth: S2.Metric = {
| |- warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | let x: Double
157 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:165:20: warning: static property 'maxWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
163 | }()
164 |
165 | public static let maxWidth = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
| |- warning: static property 'maxWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | public static let avgWidth: S2.Metric = {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:167:20: warning: static property 'avgWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
165 | public static let maxWidth = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
166 |
167 | public static let avgWidth: S2.Metric = {
| |- warning: static property 'avgWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | let x: Double
169 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:187:20: warning: static property 'minEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
185 | // cells at any given level.
186 |
187 | public static let minEdge: S2.Metric = {
| |- warning: static property 'minEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minEdge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | let x: Double
189 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:197:20: warning: static property 'maxEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
195 | }()
196 |
197 | public static let maxEdge = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
| |- warning: static property 'maxEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxEdge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | public static let avgEdge: S2.Metric = {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:199:20: warning: static property 'avgEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
197 | public static let maxEdge = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
198 |
199 | public static let avgEdge: S2.Metric = {
| |- warning: static property 'avgEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgEdge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | let x: Double
201 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:218:20: warning: static property 'minDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
216 | // at a given level is at most half the maximum diagonal length.
217 |
218 | public static let minDiag: S2.Metric = {
| |- warning: static property 'minDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minDiag' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | let x: Double
220 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:228:20: warning: static property 'maxDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
226 | }()
227 |
228 | public static let maxDiag: S2.Metric = {
| |- warning: static property 'maxDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxDiag' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 | let x: Double
230 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:238:20: warning: static property 'avgDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
236 | }()
237 |
238 | public static let avgDiag: S2.Metric = {
| |- warning: static property 'avgDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgDiag' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 | let x: Double
240 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
[12/26] Compiling S2GeometrySwift S2Projections.swift
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:72:21: warning: static property 's2Projection' is not concurrency-safe because non-'Sendable' type 'S2Projections.Projection' may have shared mutable state; this is an error in the Swift 6 language mode
66 | public struct S2Projections {
67 |
68 | public enum Projection {
| `- note: consider making enum 'Projection' conform to the 'Sendable' protocol
69 | case linear, tan, quadratic
70 | }
71 |
72 | private static let s2Projection: Projection = .quadratic
| |- warning: static property 's2Projection' is not concurrency-safe because non-'Sendable' type 'S2Projections.Projection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's2Projection' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | // All of the values below were obtained by a combination of hand analysis and
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:84:20: warning: static property 'minArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
82 | // cells at level k is exactly AVG_AREA.GetValue(k).
83 |
84 | public static let minArea: S2.Metric = {
| |- warning: static property 'minArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minArea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | let x: Double
86 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:94:20: warning: static property 'maxArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
92 | }()
93 |
94 | public static let maxArea: S2.Metric = {
| |- warning: static property 'maxArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxArea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | let x: Double
96 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:104:20: warning: static property 'avgArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }()
103 |
104 | public static let avgArea = S2.Metric(dim: 2, deriv: Double.pi / 6) // 0.524
| |- warning: static property 'avgArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgArea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | // Each cell is bounded by four planes passing through its four edges and
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:114:20: warning: static property 'minAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
112 | // cells at level k is approximately AVG_ANGLE_SPAN.GetValue(k).
113 |
114 | public static let minAngleSpan: S2.Metric = {
| |- warning: static property 'minAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minAngleSpan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | let x: Double
116 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:124:20: warning: static property 'maxAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
122 | }()
123 |
124 | public static let maxAngleSpan: S2.Metric = {
| |- warning: static property 'maxAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxAngleSpan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | let x: Double
126 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:134:20: warning: static property 'avgAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
132 | }()
133 |
134 | public static let avgAngleSpan = S2.Metric(dim: 1, deriv: Double.pi / 4) // 0.785
| |- warning: static property 'avgAngleSpan' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgAngleSpan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | // The width of geometric figure is defined as the distance between two
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:155:20: warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
153 | // For example, this is useful when "growing" regions by a fixed distance.
154 |
155 | public static let minWidth: S2.Metric = {
| |- warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | let x: Double
157 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:165:20: warning: static property 'maxWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
163 | }()
164 |
165 | public static let maxWidth = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
| |- warning: static property 'maxWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | public static let avgWidth: S2.Metric = {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:167:20: warning: static property 'avgWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
165 | public static let maxWidth = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
166 |
167 | public static let avgWidth: S2.Metric = {
| |- warning: static property 'avgWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | let x: Double
169 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:187:20: warning: static property 'minEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
185 | // cells at any given level.
186 |
187 | public static let minEdge: S2.Metric = {
| |- warning: static property 'minEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minEdge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | let x: Double
189 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:197:20: warning: static property 'maxEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
195 | }()
196 |
197 | public static let maxEdge = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
| |- warning: static property 'maxEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxEdge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | public static let avgEdge: S2.Metric = {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:199:20: warning: static property 'avgEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
197 | public static let maxEdge = S2.Metric(dim: 1, deriv: maxAngleSpan.deriv)
198 |
199 | public static let avgEdge: S2.Metric = {
| |- warning: static property 'avgEdge' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgEdge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | let x: Double
201 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:218:20: warning: static property 'minDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
216 | // at a given level is at most half the maximum diagonal length.
217 |
218 | public static let minDiag: S2.Metric = {
| |- warning: static property 'minDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minDiag' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | let x: Double
220 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:228:20: warning: static property 'maxDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
226 | }()
227 |
228 | public static let maxDiag: S2.Metric = {
| |- warning: static property 'maxDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maxDiag' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 | let x: Double
230 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:238:20: warning: static property 'avgDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
236 | }()
237 |
238 | public static let avgDiag: S2.Metric = {
| |- warning: static property 'avgDiag' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgDiag' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 | let x: Double
240 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
[13/26] Compiling S2GeometrySwift S2EdgeUtil.swift
/host/spi-builder-workspace/Sources/Classes/S2EdgeUtil.swift:458:20: warning: static property 'defaultIntersectionTolerance' is not concurrency-safe because non-'Sendable' type 'S1Angle' may have shared mutable state; this is an error in the Swift 6 language mode
456 | measured by the unittest in 1,000,000 trials is less than 3e-16.
457 | */
458 | public static let defaultIntersectionTolerance = S1Angle(radians: 1.5e-15)
| |- warning: static property 'defaultIntersectionTolerance' is not concurrency-safe because non-'Sendable' type 'S1Angle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultIntersectionTolerance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
459 |
460 | /**
/host/spi-builder-workspace/Sources/Classes/S1Angle.swift:15:15: note: consider making struct 'S1Angle' conform to the 'Sendable' protocol
13 | #endif
14 |
15 | public struct S1Angle: Equatable, Comparable {
| `- note: consider making struct 'S1Angle' conform to the 'Sendable' protocol
16 |
17 | public let radians: Double
/host/spi-builder-workspace/Sources/Classes/R1Interval.swift:26:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'R1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
12 | zero-length intervals (containing a single point).
13 | */
14 | public struct R1Interval: Equatable { //, Hashable {
| `- note: consider making struct 'R1Interval' conform to the 'Sendable' protocol
15 |
16 | public let lo: Double
:
24 |
25 | /// Returns an empty interval. (Any interval where lo > hi is considered empty.)
26 | public static let empty = R1Interval(lo: 1, hi: 0)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'R1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:65:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
63 | }
64 |
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:67:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S2Cap.swift:75:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
26 | h = 1 - cos(theta) = 2 sin^2(theta/2) d^2 = 2 h = a^2 + h^2
27 | */
28 | public struct S2Cap: S2Region {
| `- note: consider making struct 'S2Cap' conform to the 'Sendable' protocol
29 |
30 | /**
:
73 |
74 | /// Return an empty cap, i.e. a cap that contains no points.
75 | public static let empty = S2Cap(axis: S2Point(x: 1, y: 0, z: 0), height: -1)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Return a full cap, i.e. a cap that contains all points.
[14/26] Compiling S2GeometrySwift S2LatLng.swift
/host/spi-builder-workspace/Sources/Classes/S2EdgeUtil.swift:458:20: warning: static property 'defaultIntersectionTolerance' is not concurrency-safe because non-'Sendable' type 'S1Angle' may have shared mutable state; this is an error in the Swift 6 language mode
456 | measured by the unittest in 1,000,000 trials is less than 3e-16.
457 | */
458 | public static let defaultIntersectionTolerance = S1Angle(radians: 1.5e-15)
| |- warning: static property 'defaultIntersectionTolerance' is not concurrency-safe because non-'Sendable' type 'S1Angle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultIntersectionTolerance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
459 |
460 | /**
/host/spi-builder-workspace/Sources/Classes/S1Angle.swift:15:15: note: consider making struct 'S1Angle' conform to the 'Sendable' protocol
13 | #endif
14 |
15 | public struct S1Angle: Equatable, Comparable {
| `- note: consider making struct 'S1Angle' conform to the 'Sendable' protocol
16 |
17 | public let radians: Double
/host/spi-builder-workspace/Sources/Classes/R1Interval.swift:26:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'R1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
12 | zero-length intervals (containing a single point).
13 | */
14 | public struct R1Interval: Equatable { //, Hashable {
| `- note: consider making struct 'R1Interval' conform to the 'Sendable' protocol
15 |
16 | public let lo: Double
:
24 |
25 | /// Returns an empty interval. (Any interval where lo > hi is considered empty.)
26 | public static let empty = R1Interval(lo: 1, hi: 0)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'R1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:65:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
63 | }
64 |
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:67:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S2Cap.swift:75:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
26 | h = 1 - cos(theta) = 2 sin^2(theta/2) d^2 = 2 h = a^2 + h^2
27 | */
28 | public struct S2Cap: S2Region {
| `- note: consider making struct 'S2Cap' conform to the 'Sendable' protocol
29 |
30 | /**
:
73 |
74 | /// Return an empty cap, i.e. a cap that contains no points.
75 | public static let empty = S2Cap(axis: S2Point(x: 1, y: 0, z: 0), height: -1)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Return a full cap, i.e. a cap that contains all points.
[15/26] Compiling S2GeometrySwift S2LatLngRect.swift
/host/spi-builder-workspace/Sources/Classes/S2EdgeUtil.swift:458:20: warning: static property 'defaultIntersectionTolerance' is not concurrency-safe because non-'Sendable' type 'S1Angle' may have shared mutable state; this is an error in the Swift 6 language mode
456 | measured by the unittest in 1,000,000 trials is less than 3e-16.
457 | */
458 | public static let defaultIntersectionTolerance = S1Angle(radians: 1.5e-15)
| |- warning: static property 'defaultIntersectionTolerance' is not concurrency-safe because non-'Sendable' type 'S1Angle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultIntersectionTolerance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
459 |
460 | /**
/host/spi-builder-workspace/Sources/Classes/S1Angle.swift:15:15: note: consider making struct 'S1Angle' conform to the 'Sendable' protocol
13 | #endif
14 |
15 | public struct S1Angle: Equatable, Comparable {
| `- note: consider making struct 'S1Angle' conform to the 'Sendable' protocol
16 |
17 | public let radians: Double
/host/spi-builder-workspace/Sources/Classes/R1Interval.swift:26:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'R1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
12 | zero-length intervals (containing a single point).
13 | */
14 | public struct R1Interval: Equatable { //, Hashable {
| `- note: consider making struct 'R1Interval' conform to the 'Sendable' protocol
15 |
16 | public let lo: Double
:
24 |
25 | /// Returns an empty interval. (Any interval where lo > hi is considered empty.)
26 | public static let empty = R1Interval(lo: 1, hi: 0)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'R1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:65:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
63 | }
64 |
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:67:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S2Cap.swift:75:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
26 | h = 1 - cos(theta) = 2 sin^2(theta/2) d^2 = 2 h = a^2 + h^2
27 | */
28 | public struct S2Cap: S2Region {
| `- note: consider making struct 'S2Cap' conform to the 'Sendable' protocol
29 |
30 | /**
:
73 |
74 | /// Return an empty cap, i.e. a cap that contains no points.
75 | public static let empty = S2Cap(axis: S2Point(x: 1, y: 0, z: 0), height: -1)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Return a full cap, i.e. a cap that contains all points.
[16/26] Compiling S2GeometrySwift S2Cap.swift
/host/spi-builder-workspace/Sources/Classes/S2Cap.swift:75:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
26 | h = 1 - cos(theta) = 2 sin^2(theta/2) d^2 = 2 h = a^2 + h^2
27 | */
28 | public struct S2Cap: S2Region {
| `- note: consider making struct 'S2Cap' conform to the 'Sendable' protocol
29 |
30 | /**
:
73 |
74 | /// Return an empty cap, i.e. a cap that contains no points.
75 | public static let empty = S2Cap(axis: S2Point(x: 1, y: 0, z: 0), height: -1)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Return a full cap, i.e. a cap that contains all points.
/host/spi-builder-workspace/Sources/Classes/S2Cap.swift:78:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
26 | h = 1 - cos(theta) = 2 sin^2(theta/2) d^2 = 2 h = a^2 + h^2
27 | */
28 | public struct S2Cap: S2Region {
| `- note: consider making struct 'S2Cap' conform to the 'Sendable' protocol
29 |
30 | /**
:
76 |
77 | /// Return a full cap, i.e. a cap that contains all points.
78 | public static let full = S2Cap(axis: S2Point(x: 1, y: 0, z: 0), height: 2)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public var area: Double {
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:104:20: warning: static property 'avgArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }()
103 |
104 | public static let avgArea = S2.Metric(dim: 2, deriv: Double.pi / 6) // 0.524
| |- warning: static property 'avgArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgArea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | // Each cell is bounded by four planes passing through its four edges and
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:67:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:79:21: warning: static property 'lookupLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 | private static let invertMask = 0x02
78 |
79 | private static var lookupLoaded = false
| |- warning: static property 'lookupLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lookupLoaded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lookupLoaded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | private static var lookup: (pos: [Int], ij: [Int]) = {
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:81:21: warning: static property 'lookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | private static var lookupLoaded = false
80 |
81 | private static var lookup: (pos: [Int], ij: [Int]) = {
| |- warning: static property 'lookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lookup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lookup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | return (pos: Array(repeating: 0, count: 1 << (2 * lookupBits + 2)), ij: Array(repeating: 0, count: 1 << (2 * lookupBits + 2)))
83 | }()
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:124:20: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
41 | point, it is better to use the S2Cell class.
42 | */
43 | public struct S2CellId: Comparable, Hashable {
| `- note: consider making struct 'S2CellId' conform to the 'Sendable' protocol
44 |
45 | // Although only 60 bits are needed to represent the index of a leaf
:
122 | }
123 |
124 | public static let none = S2CellId()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | public static let sentinel = S2CellId(id: .max)
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:126:20: warning: static property 'sentinel' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
41 | point, it is better to use the S2Cell class.
42 | */
43 | public struct S2CellId: Comparable, Hashable {
| `- note: consider making struct 'S2CellId' conform to the 'Sendable' protocol
44 |
45 | // Although only 60 bits are needed to represent the index of a leaf
:
124 | public static let none = S2CellId()
125 |
126 | public static let sentinel = S2CellId(id: .max)
| |- warning: static property 'sentinel' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sentinel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /**
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:770:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2CellId' to 'Hashable' by implementing 'hash(into:)' instead
768 | }
769 |
770 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2CellId' to 'Hashable' by implementing 'hash(into:)' instead
771 |
772 | // UInt64
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:486:10: warning: will never be executed
472 | */
473 | private static func overflowInParse(current: UInt64, digit: Int, radix: Int = 10) -> Bool {
474 | if current >= 0 {
| `- note: condition always evaluates to true
475 | if current < maxValueDivs[radix] {
476 | return false
:
484 |
485 | // current < 0: high bit is set
486 | return true
| `- warning: will never be executed
487 | }
488 |
[17/26] Compiling S2GeometrySwift S2Cell.swift
/host/spi-builder-workspace/Sources/Classes/S2Cap.swift:75:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
26 | h = 1 - cos(theta) = 2 sin^2(theta/2) d^2 = 2 h = a^2 + h^2
27 | */
28 | public struct S2Cap: S2Region {
| `- note: consider making struct 'S2Cap' conform to the 'Sendable' protocol
29 |
30 | /**
:
73 |
74 | /// Return an empty cap, i.e. a cap that contains no points.
75 | public static let empty = S2Cap(axis: S2Point(x: 1, y: 0, z: 0), height: -1)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Return a full cap, i.e. a cap that contains all points.
/host/spi-builder-workspace/Sources/Classes/S2Cap.swift:78:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
26 | h = 1 - cos(theta) = 2 sin^2(theta/2) d^2 = 2 h = a^2 + h^2
27 | */
28 | public struct S2Cap: S2Region {
| `- note: consider making struct 'S2Cap' conform to the 'Sendable' protocol
29 |
30 | /**
:
76 |
77 | /// Return a full cap, i.e. a cap that contains all points.
78 | public static let full = S2Cap(axis: S2Point(x: 1, y: 0, z: 0), height: 2)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public var area: Double {
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:104:20: warning: static property 'avgArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }()
103 |
104 | public static let avgArea = S2.Metric(dim: 2, deriv: Double.pi / 6) // 0.524
| |- warning: static property 'avgArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgArea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | // Each cell is bounded by four planes passing through its four edges and
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:67:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:79:21: warning: static property 'lookupLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 | private static let invertMask = 0x02
78 |
79 | private static var lookupLoaded = false
| |- warning: static property 'lookupLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lookupLoaded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lookupLoaded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | private static var lookup: (pos: [Int], ij: [Int]) = {
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:81:21: warning: static property 'lookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | private static var lookupLoaded = false
80 |
81 | private static var lookup: (pos: [Int], ij: [Int]) = {
| |- warning: static property 'lookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lookup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lookup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | return (pos: Array(repeating: 0, count: 1 << (2 * lookupBits + 2)), ij: Array(repeating: 0, count: 1 << (2 * lookupBits + 2)))
83 | }()
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:124:20: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
41 | point, it is better to use the S2Cell class.
42 | */
43 | public struct S2CellId: Comparable, Hashable {
| `- note: consider making struct 'S2CellId' conform to the 'Sendable' protocol
44 |
45 | // Although only 60 bits are needed to represent the index of a leaf
:
122 | }
123 |
124 | public static let none = S2CellId()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | public static let sentinel = S2CellId(id: .max)
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:126:20: warning: static property 'sentinel' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
41 | point, it is better to use the S2Cell class.
42 | */
43 | public struct S2CellId: Comparable, Hashable {
| `- note: consider making struct 'S2CellId' conform to the 'Sendable' protocol
44 |
45 | // Although only 60 bits are needed to represent the index of a leaf
:
124 | public static let none = S2CellId()
125 |
126 | public static let sentinel = S2CellId(id: .max)
| |- warning: static property 'sentinel' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sentinel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /**
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:770:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2CellId' to 'Hashable' by implementing 'hash(into:)' instead
768 | }
769 |
770 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2CellId' to 'Hashable' by implementing 'hash(into:)' instead
771 |
772 | // UInt64
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:486:10: warning: will never be executed
472 | */
473 | private static func overflowInParse(current: UInt64, digit: Int, radix: Int = 10) -> Bool {
474 | if current >= 0 {
| `- note: condition always evaluates to true
475 | if current < maxValueDivs[radix] {
476 | return false
:
484 |
485 | // current < 0: high bit is set
486 | return true
| `- warning: will never be executed
487 | }
488 |
[18/26] Compiling S2GeometrySwift S2CellId.swift
/host/spi-builder-workspace/Sources/Classes/S2Cap.swift:75:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
26 | h = 1 - cos(theta) = 2 sin^2(theta/2) d^2 = 2 h = a^2 + h^2
27 | */
28 | public struct S2Cap: S2Region {
| `- note: consider making struct 'S2Cap' conform to the 'Sendable' protocol
29 |
30 | /**
:
73 |
74 | /// Return an empty cap, i.e. a cap that contains no points.
75 | public static let empty = S2Cap(axis: S2Point(x: 1, y: 0, z: 0), height: -1)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Return a full cap, i.e. a cap that contains all points.
/host/spi-builder-workspace/Sources/Classes/S2Cap.swift:78:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
26 | h = 1 - cos(theta) = 2 sin^2(theta/2) d^2 = 2 h = a^2 + h^2
27 | */
28 | public struct S2Cap: S2Region {
| `- note: consider making struct 'S2Cap' conform to the 'Sendable' protocol
29 |
30 | /**
:
76 |
77 | /// Return a full cap, i.e. a cap that contains all points.
78 | public static let full = S2Cap(axis: S2Point(x: 1, y: 0, z: 0), height: 2)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | public var area: Double {
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:104:20: warning: static property 'avgArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }()
103 |
104 | public static let avgArea = S2.Metric(dim: 2, deriv: Double.pi / 6) // 0.524
| |- warning: static property 'avgArea' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'avgArea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | // Each cell is bounded by four planes passing through its four edges and
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:67:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:79:21: warning: static property 'lookupLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 | private static let invertMask = 0x02
78 |
79 | private static var lookupLoaded = false
| |- warning: static property 'lookupLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lookupLoaded' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lookupLoaded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | private static var lookup: (pos: [Int], ij: [Int]) = {
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:81:21: warning: static property 'lookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | private static var lookupLoaded = false
80 |
81 | private static var lookup: (pos: [Int], ij: [Int]) = {
| |- warning: static property 'lookup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lookup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lookup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | return (pos: Array(repeating: 0, count: 1 << (2 * lookupBits + 2)), ij: Array(repeating: 0, count: 1 << (2 * lookupBits + 2)))
83 | }()
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:124:20: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
41 | point, it is better to use the S2Cell class.
42 | */
43 | public struct S2CellId: Comparable, Hashable {
| `- note: consider making struct 'S2CellId' conform to the 'Sendable' protocol
44 |
45 | // Although only 60 bits are needed to represent the index of a leaf
:
122 | }
123 |
124 | public static let none = S2CellId()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | public static let sentinel = S2CellId(id: .max)
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:126:20: warning: static property 'sentinel' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
41 | point, it is better to use the S2Cell class.
42 | */
43 | public struct S2CellId: Comparable, Hashable {
| `- note: consider making struct 'S2CellId' conform to the 'Sendable' protocol
44 |
45 | // Although only 60 bits are needed to represent the index of a leaf
:
124 | public static let none = S2CellId()
125 |
126 | public static let sentinel = S2CellId(id: .max)
| |- warning: static property 'sentinel' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sentinel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /**
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:770:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2CellId' to 'Hashable' by implementing 'hash(into:)' instead
768 | }
769 |
770 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2CellId' to 'Hashable' by implementing 'hash(into:)' instead
771 |
772 | // UInt64
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:486:10: warning: will never be executed
472 | */
473 | private static func overflowInParse(current: UInt64, digit: Int, radix: Int = 10) -> Bool {
474 | if current >= 0 {
| `- note: condition always evaluates to true
475 | if current < maxValueDivs[radix] {
476 | return false
:
484 |
485 | // current < 0: high bit is set
486 | return true
| `- warning: will never be executed
487 | }
488 |
[19/26] Compiling S2GeometrySwift S2CellUnion.swift
/host/spi-builder-workspace/Sources/Classes/S2Cap.swift:75:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
26 | h = 1 - cos(theta) = 2 sin^2(theta/2) d^2 = 2 h = a^2 + h^2
27 | */
28 | public struct S2Cap: S2Region {
| `- note: consider making struct 'S2Cap' conform to the 'Sendable' protocol
29 |
30 | /**
:
73 |
74 | /// Return an empty cap, i.e. a cap that contains no points.
75 | public static let empty = S2Cap(axis: S2Point(x: 1, y: 0, z: 0), height: -1)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Return a full cap, i.e. a cap that contains all points.
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:126:20: warning: static property 'sentinel' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
41 | point, it is better to use the S2Cell class.
42 | */
43 | public struct S2CellId: Comparable, Hashable {
| `- note: consider making struct 'S2CellId' conform to the 'Sendable' protocol
44 |
45 | // Although only 60 bits are needed to represent the index of a leaf
:
124 | public static let none = S2CellId()
125 |
126 | public static let sentinel = S2CellId(id: .max)
| |- warning: static property 'sentinel' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sentinel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /**
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:155:20: warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
153 | // For example, this is useful when "growing" regions by a fixed distance.
154 |
155 | public static let minWidth: S2.Metric = {
| |- warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | let x: Double
157 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
[20/26] Compiling S2GeometrySwift S2Edge.swift
/host/spi-builder-workspace/Sources/Classes/S2Cap.swift:75:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
26 | h = 1 - cos(theta) = 2 sin^2(theta/2) d^2 = 2 h = a^2 + h^2
27 | */
28 | public struct S2Cap: S2Region {
| `- note: consider making struct 'S2Cap' conform to the 'Sendable' protocol
29 |
30 | /**
:
73 |
74 | /// Return an empty cap, i.e. a cap that contains no points.
75 | public static let empty = S2Cap(axis: S2Point(x: 1, y: 0, z: 0), height: -1)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Return a full cap, i.e. a cap that contains all points.
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:126:20: warning: static property 'sentinel' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
41 | point, it is better to use the S2Cell class.
42 | */
43 | public struct S2CellId: Comparable, Hashable {
| `- note: consider making struct 'S2CellId' conform to the 'Sendable' protocol
44 |
45 | // Although only 60 bits are needed to represent the index of a leaf
:
124 | public static let none = S2CellId()
125 |
126 | public static let sentinel = S2CellId(id: .max)
| |- warning: static property 'sentinel' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sentinel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /**
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:155:20: warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
153 | // For example, this is useful when "growing" regions by a fixed distance.
154 |
155 | public static let minWidth: S2.Metric = {
| |- warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | let x: Double
157 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
[21/26] Compiling S2GeometrySwift S2EdgeIndex.swift
/host/spi-builder-workspace/Sources/Classes/S2Cap.swift:75:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
26 | h = 1 - cos(theta) = 2 sin^2(theta/2) d^2 = 2 h = a^2 + h^2
27 | */
28 | public struct S2Cap: S2Region {
| `- note: consider making struct 'S2Cap' conform to the 'Sendable' protocol
29 |
30 | /**
:
73 |
74 | /// Return an empty cap, i.e. a cap that contains no points.
75 | public static let empty = S2Cap(axis: S2Point(x: 1, y: 0, z: 0), height: -1)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'S2Cap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Return a full cap, i.e. a cap that contains all points.
/host/spi-builder-workspace/Sources/Classes/S2CellId.swift:126:20: warning: static property 'sentinel' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
41 | point, it is better to use the S2Cell class.
42 | */
43 | public struct S2CellId: Comparable, Hashable {
| `- note: consider making struct 'S2CellId' conform to the 'Sendable' protocol
44 |
45 | // Although only 60 bits are needed to represent the index of a leaf
:
124 | public static let none = S2CellId()
125 |
126 | public static let sentinel = S2CellId(id: .max)
| |- warning: static property 'sentinel' is not concurrency-safe because non-'Sendable' type 'S2CellId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sentinel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /**
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:155:20: warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
153 | // For example, this is useful when "growing" regions by a fixed distance.
154 |
155 | public static let minWidth: S2.Metric = {
| |- warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | let x: Double
157 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
[22/26] Compiling S2GeometrySwift S2Loop.swift
/host/spi-builder-workspace/Sources/Classes/S2.swift:203:20: warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'S2Point' may have shared mutable state; this is an error in the Swift 6 language mode
201 | rules out the north and south poles.)
202 | */
203 | public static let origin = S2Point(x: 0, y: 1, z: 0)
| |- warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'S2Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'origin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// Return true if the given point is approximately unit length (this is mainly useful for assertions).
/host/spi-builder-workspace/Sources/Classes/S2Point.swift:19:15: note: consider making struct 'S2Point' conform to the 'Sendable' protocol
17 | points are normalized to be unit length, but some methods do not require this.
18 | */
19 | public struct S2Point: Comparable, Hashable {
| `- note: consider making struct 'S2Point' conform to the 'Sendable' protocol
20 |
21 | public let x: Double
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:67:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S2Point.swift:99:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2Point' to 'Hashable' by implementing 'hash(into:)' instead
97 | // MARK: Hashable
98 |
99 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2Point' to 'Hashable' by implementing 'hash(into:)' instead
100 | var value: UInt64 = 17
101 | value = value.addingReportingOverflow(UInt64(37).multipliedReportingOverflow(by: value.addingReportingOverflow(abs(x).bitPattern).partialValue).partialValue).partialValue
[23/26] Compiling S2GeometrySwift S2Point.swift
/host/spi-builder-workspace/Sources/Classes/S2.swift:203:20: warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'S2Point' may have shared mutable state; this is an error in the Swift 6 language mode
201 | rules out the north and south poles.)
202 | */
203 | public static let origin = S2Point(x: 0, y: 1, z: 0)
| |- warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'S2Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'origin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// Return true if the given point is approximately unit length (this is mainly useful for assertions).
/host/spi-builder-workspace/Sources/Classes/S2Point.swift:19:15: note: consider making struct 'S2Point' conform to the 'Sendable' protocol
17 | points are normalized to be unit length, but some methods do not require this.
18 | */
19 | public struct S2Point: Comparable, Hashable {
| `- note: consider making struct 'S2Point' conform to the 'Sendable' protocol
20 |
21 | public let x: Double
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:67:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S2Point.swift:99:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2Point' to 'Hashable' by implementing 'hash(into:)' instead
97 | // MARK: Hashable
98 |
99 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2Point' to 'Hashable' by implementing 'hash(into:)' instead
100 | var value: UInt64 = 17
101 | value = value.addingReportingOverflow(UInt64(37).multipliedReportingOverflow(by: value.addingReportingOverflow(abs(x).bitPattern).partialValue).partialValue).partialValue
[24/26] Compiling S2GeometrySwift S2Polygon.swift
/host/spi-builder-workspace/Sources/Classes/S2.swift:203:20: warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'S2Point' may have shared mutable state; this is an error in the Swift 6 language mode
201 | rules out the north and south poles.)
202 | */
203 | public static let origin = S2Point(x: 0, y: 1, z: 0)
| |- warning: static property 'origin' is not concurrency-safe because non-'Sendable' type 'S2Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'origin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// Return true if the given point is approximately unit length (this is mainly useful for assertions).
/host/spi-builder-workspace/Sources/Classes/S2Point.swift:19:15: note: consider making struct 'S2Point' conform to the 'Sendable' protocol
17 | points are normalized to be unit length, but some methods do not require this.
18 | */
19 | public struct S2Point: Comparable, Hashable {
| `- note: consider making struct 'S2Point' conform to the 'Sendable' protocol
20 |
21 | public let x: Double
/host/spi-builder-workspace/Sources/Classes/S1Interval.swift:67:20: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
31 | [-Pi, Pi], and the Empty() interval is [Pi, -Pi].
32 | */
33 | public struct S1Interval: Equatable {
| `- note: consider making struct 'S1Interval' conform to the 'Sendable' protocol
34 |
35 | public let lo: Double
:
65 | public static let empty = S1Interval(lo: .pi, hi: -.pi, checked: true)
66 |
67 | public static let full = S1Interval(lo: -.pi, hi: .pi, checked: true)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'S1Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /// Convenience method to construct an interval containing a single point.
/host/spi-builder-workspace/Sources/Classes/S2Point.swift:99:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2Point' to 'Hashable' by implementing 'hash(into:)' instead
97 | // MARK: Hashable
98 |
99 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2Point' to 'Hashable' by implementing 'hash(into:)' instead
100 | var value: UInt64 = 17
101 | value = value.addingReportingOverflow(UInt64(37).multipliedReportingOverflow(by: value.addingReportingOverflow(abs(x).bitPattern).partialValue).partialValue).partialValue
[25/26] Compiling S2GeometrySwift S2Region.swift
/host/spi-builder-workspace/Sources/Classes/S2RegionCoverer.swift:48:21: warning: static property 'faceCells' is not concurrency-safe because non-'Sendable' type '[S2Cell]' may have shared mutable state; this is an error in the Swift 6 language mode
46 | public static let defaultMaxCells = 8
47 |
48 | private static let faceCells: [S2Cell] = [
| |- warning: static property 'faceCells' is not concurrency-safe because non-'Sendable' type '[S2Cell]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'faceCells' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | S2Cell(face: 0, pos: 0, level: 0),
50 | S2Cell(face: 1, pos: 0, level: 0),
/host/spi-builder-workspace/Sources/Classes/S2Cell.swift:20:15: note: consider making struct 'S2Cell' conform to the 'Sendable' protocol
18 | more expensive representation.
19 | */
20 | public struct S2Cell: S2Region, Equatable {
| `- note: consider making struct 'S2Cell' conform to the 'Sendable' protocol
21 |
22 | private static let maxCellSize = 1 << S2CellId.maxLevel
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:155:20: warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
153 | // For example, this is useful when "growing" regions by a fixed distance.
154 |
155 | public static let minWidth: S2.Metric = {
| |- warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | let x: Double
157 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
[26/26] Compiling S2GeometrySwift S2RegionCoverer.swift
/host/spi-builder-workspace/Sources/Classes/S2RegionCoverer.swift:48:21: warning: static property 'faceCells' is not concurrency-safe because non-'Sendable' type '[S2Cell]' may have shared mutable state; this is an error in the Swift 6 language mode
46 | public static let defaultMaxCells = 8
47 |
48 | private static let faceCells: [S2Cell] = [
| |- warning: static property 'faceCells' is not concurrency-safe because non-'Sendable' type '[S2Cell]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'faceCells' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | S2Cell(face: 0, pos: 0, level: 0),
50 | S2Cell(face: 1, pos: 0, level: 0),
/host/spi-builder-workspace/Sources/Classes/S2Cell.swift:20:15: note: consider making struct 'S2Cell' conform to the 'Sendable' protocol
18 | more expensive representation.
19 | */
20 | public struct S2Cell: S2Region, Equatable {
| `- note: consider making struct 'S2Cell' conform to the 'Sendable' protocol
21 |
22 | private static let maxCellSize = 1 << S2CellId.maxLevel
/host/spi-builder-workspace/Sources/Classes/S2Projections.swift:155:20: warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
153 | // For example, this is useful when "growing" regions by a fixed distance.
154 |
155 | public static let minWidth: S2.Metric = {
| |- warning: static property 'minWidth' is not concurrency-safe because non-'Sendable' type 'S2.Metric' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minWidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | let x: Double
157 | switch s2Projection {
/host/spi-builder-workspace/Sources/Classes/S2.swift:120:16: note: consider making struct 'Metric' conform to the 'Sendable' protocol
118 |
119 | /// Defines an area or a length cell metric.
120 | public struct Metric {
| `- note: consider making struct 'Metric' conform to the 'Sendable' protocol
121 |
122 | /// The "deriv" value of a metric is a derivative, and must be multiplied by a length or area in (s,t)-space to get a useful value.
Build complete! (9.39s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "S2GeometrySwift",
"name" : "S2GeometrySwift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "S2GeometrySwift",
"targets" : [
"S2GeometrySwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "S2GeometrySwiftTests",
"module_type" : "SwiftTarget",
"name" : "S2GeometrySwiftTests",
"path" : "Tests",
"sources" : [
"GeometryTestCase.swift",
"S2CellIdTests.swift"
],
"target_dependencies" : [
"S2GeometrySwift"
],
"type" : "test"
},
{
"c99name" : "S2GeometrySwift",
"module_type" : "SwiftTarget",
"name" : "S2GeometrySwift",
"path" : "Sources",
"product_memberships" : [
"S2GeometrySwift"
],
"sources" : [
"Classes/R1Interval.swift",
"Classes/R2Vector.swift",
"Classes/S1Angle.swift",
"Classes/S1Interval.swift",
"Classes/S2.swift",
"Classes/S2AreaCentroid.swift",
"Classes/S2Cap.swift",
"Classes/S2Cell.swift",
"Classes/S2CellId.swift",
"Classes/S2CellUnion.swift",
"Classes/S2Edge.swift",
"Classes/S2EdgeIndex.swift",
"Classes/S2EdgeUtil.swift",
"Classes/S2LatLng.swift",
"Classes/S2LatLngRect.swift",
"Classes/S2Loop.swift",
"Classes/S2Point.swift",
"Classes/S2Polygon.swift",
"Classes/S2PolygonBuilder.swift",
"Classes/S2Polyline.swift",
"Classes/S2Projections.swift",
"Classes/S2Region.swift",
"Classes/S2RegionCoverer.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.