The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of S2GeometrySwift, reference 1.0.3 (d2ba24), with Swift 6.2 (beta) for Linux on 18 Jun 2025 21:52:39 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/philip-bui/s2-geometry-swift.git
Reference: 1.0.3
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
 * tag               1.0.3      -> FETCH_HEAD
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 1.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-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/S2CellId.swift:770:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'S2CellId' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
771 |
772 | //		UInt64
/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 [#DeprecatedDeclaration]
 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 [#DeprecatedDeclaration]
100 | 		var value: UInt64 = 17
101 |         value = value.addingReportingOverflow(UInt64(37).multipliedReportingOverflow(by: value.addingReportingOverflow(abs(x).bitPattern).partialValue).partialValue).partialValue
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[4/26] Compiling S2GeometrySwift S2Region.swift
[5/26] Compiling S2GeometrySwift S2RegionCoverer.swift
[6/26] Compiling S2GeometrySwift R1Interval.swift
[7/26] Compiling S2GeometrySwift R2Vector.swift
[8/26] Compiling S2GeometrySwift S1Angle.swift
[9/26] Compiling S2GeometrySwift S2CellUnion.swift
[10/26] Compiling S2GeometrySwift S2Edge.swift
[11/26] Compiling S2GeometrySwift S2EdgeIndex.swift
[12/26] Compiling S2GeometrySwift S2PolygonBuilder.swift
[13/26] Compiling S2GeometrySwift S2Polyline.swift
[14/26] Compiling S2GeometrySwift S2Projections.swift
[15/26] Compiling S2GeometrySwift S1Interval.swift
[16/26] Compiling S2GeometrySwift S2.swift
[17/26] Compiling S2GeometrySwift S2AreaCentroid.swift
[18/26] Compiling S2GeometrySwift S2Cap.swift
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[19/26] Compiling S2GeometrySwift S2Cell.swift
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[20/26] Compiling S2GeometrySwift S2CellId.swift
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[21/26] Compiling S2GeometrySwift S2EdgeUtil.swift
[22/26] Compiling S2GeometrySwift S2LatLng.swift
[23/26] Compiling S2GeometrySwift S2LatLngRect.swift
[24/26] Compiling S2GeometrySwift S2Loop.swift
/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 [#DeprecatedDeclaration]
 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 [#DeprecatedDeclaration]
100 | 		var value: UInt64 = 17
101 |         value = value.addingReportingOverflow(UInt64(37).multipliedReportingOverflow(by: value.addingReportingOverflow(abs(x).bitPattern).partialValue).partialValue).partialValue
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[25/26] Compiling S2GeometrySwift S2Point.swift
/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 [#DeprecatedDeclaration]
 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 [#DeprecatedDeclaration]
100 | 		var value: UInt64 = 17
101 |         value = value.addingReportingOverflow(UInt64(37).multipliedReportingOverflow(by: value.addingReportingOverflow(abs(x).bitPattern).partialValue).partialValue).partialValue
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[26/26] Compiling S2GeometrySwift S2Polygon.swift
/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 [#DeprecatedDeclaration]
 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 [#DeprecatedDeclaration]
100 | 		var value: UInt64 = 17
101 |         value = value.addingReportingOverflow(UInt64(37).multipliedReportingOverflow(by: value.addingReportingOverflow(abs(x).bitPattern).partialValue).partialValue).partialValue
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (11.71s)
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.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.