The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Geometry, reference 0.0.4 (7c9ba0), with Swift 6.1 for Wasm on 28 May 2025 09:33:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RedECSEngine/Geometry.git
Reference: 0.0.4
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/RedECSEngine/Geometry
 * tag               0.0.4      -> FETCH_HEAD
HEAD is now at 7c9ba07 Merge pull request #3 from RedECSEngine/develop
Cloned https://github.com/RedECSEngine/Geometry.git
Revision (git rev-parse @):
7c9ba07e4ee2e09ab8454870c8ede2ad96e544f6
SUCCESS checkout https://github.com/RedECSEngine/Geometry.git at 0.0.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RedECSEngine/Geometry.git
https://github.com/RedECSEngine/Geometry.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics.git"
    },
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.9.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
    }
  ],
  "manifest_display_name" : "Geometry",
  "name" : "Geometry",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Geometry",
      "targets" : [
        "Geometry"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GeometryAlgorithms",
      "targets" : [
        "GeometryAlgorithms"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GeometrySpriteKitExtensions",
      "targets" : [
        "GeometrySpriteKitExtensions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GeometryTests",
      "module_type" : "SwiftTarget",
      "name" : "GeometryTests",
      "path" : "Tests/GeometryTests",
      "sources" : [
        "LineIntersectionTests.swift",
        "PointAndRectTests.swift"
      ],
      "target_dependencies" : [
        "Geometry",
        "GeometrySpriteKitExtensions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GeometrySpriteKitExtensions",
      "module_type" : "SwiftTarget",
      "name" : "GeometrySpriteKitExtensions",
      "path" : "Sources/GeometrySpriteKitExtensions",
      "product_memberships" : [
        "GeometrySpriteKitExtensions"
      ],
      "sources" : [
        "Geometry+SpriteKit.swift"
      ],
      "target_dependencies" : [
        "Geometry"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GeometryAlgorithmsTests",
      "module_type" : "SwiftTarget",
      "name" : "GeometryAlgorithmsTests",
      "path" : "Tests/GeometryAlgorithmsTests",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "sources" : [
        "GeometryAlgorithmsTests.swift"
      ],
      "target_dependencies" : [
        "Geometry",
        "GeometryAlgorithms",
        "GeometrySpriteKitExtensions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GeometryAlgorithms",
      "module_type" : "SwiftTarget",
      "name" : "GeometryAlgorithms",
      "path" : "Sources/GeometryAlgorithms",
      "product_dependencies" : [
        "RealModule"
      ],
      "product_memberships" : [
        "GeometryAlgorithms"
      ],
      "sources" : [
        "Algorithms/+CircleTriangulation.swift",
        "Algorithms/+PointRotation.swift",
        "Algorithms/+PolygonTriangulation.swift",
        "Algorithms/+RectTriangulation.swift",
        "GeometryAlgorithms.swift",
        "Helpers/Double+DegreesToRadians.swift",
        "Matrix3/Matrix3.swift",
        "Protocols/Triangulatable.swift"
      ],
      "target_dependencies" : [
        "Geometry"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Geometry",
      "module_type" : "SwiftTarget",
      "name" : "Geometry",
      "path" : "Sources/Geometry",
      "product_memberships" : [
        "Geometry",
        "GeometryAlgorithms",
        "GeometrySpriteKitExtensions"
      ],
      "sources" : [
        "Circle.swift",
        "Direction.swift",
        "Line.swift",
        "Path.swift",
        "Point.swift",
        "Rect.swift",
        "Shape.swift",
        "Size.swift",
        "Triangle.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
[4839/18873] Fetching swift-numerics, swift-snapshot-testing
Fetched https://github.com/apple/swift-numerics.git from cache (0.82s)
[791/13182] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.34s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 0.1.0 (5.96s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (0.67s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
[4582/75029] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (5.81s)
Fetched https://github.com/swiftlang/swift-syntax from cache (5.87s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (6.78s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.09s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (2.05s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (3.28s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 0.1.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
Building for debugging...
[0/6] Write sources
[4/6] Compiling _NumericsShims _NumericsShims.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/25] Compiling RealModule Float80+Real.swift
[8/25] Emitting module RealModule
[9/26] Compiling RealModule Real.swift
[10/26] Compiling Geometry Circle.swift
[11/26] Compiling Geometry Direction.swift
[12/26] Compiling RealModule RealFunctions.swift
[13/26] Compiling Geometry Rect.swift
/host/spi-builder-workspace/Sources/Geometry/Rect.swift:5:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | public struct Rect: Hashable, Codable {
    |               `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
  2 |     public var origin: Point
  3 |     public var size: Size
  4 |
  5 |     public static let zero = Rect(x: 0, y: 0, width: 0, height: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |
  7 |     public init(center: Point, size: Size) {
[14/27] Compiling RealModule ElementaryFunctions.swift
[15/27] Compiling RealModule Float+Real.swift
[16/27] Compiling RealModule AlgebraicField.swift
[17/27] Compiling RealModule ApproximateEquality.swift
[18/27] Compiling RealModule Float16+Real.swift
[20/28] Compiling Geometry Triangle.swift
[21/28] Compiling Geometry Size.swift
/host/spi-builder-workspace/Sources/Geometry/Size.swift:7:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 |     public var height: Double
 6 |
 7 |     public static var zero: Size = .init(width: 0, height: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |
 9 |     public init(width: Double, height: Double) {
[22/28] Compiling Geometry Shape.swift
[23/28] Compiling Geometry Path.swift
[26/28] Compiling Geometry Line.swift
[27/28] Emitting module Geometry
/host/spi-builder-workspace/Sources/Geometry/Point.swift:8:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
 2 | import Foundation
 3 |
 4 | public struct Point: Hashable, Codable {
   |               `- note: consider making struct 'Point' conform to the 'Sendable' protocol
 5 |     public var x: Double
 6 |     public var y: Double
 7 |
 8 |     public static let zero = Point(x: 0, y: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     public init(x: Double, y: Double) {
/host/spi-builder-workspace/Sources/Geometry/Rect.swift:5:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | public struct Rect: Hashable, Codable {
    |               `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
  2 |     public var origin: Point
  3 |     public var size: Size
  4 |
  5 |     public static let zero = Rect(x: 0, y: 0, width: 0, height: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |
  7 |     public init(center: Point, size: Size) {
/host/spi-builder-workspace/Sources/Geometry/Size.swift:7:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 |     public var height: Double
 6 |
 7 |     public static var zero: Size = .init(width: 0, height: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |
 9 |     public init(width: Double, height: Double) {
[28/28] Compiling Geometry Point.swift
/host/spi-builder-workspace/Sources/Geometry/Point.swift:8:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
 2 | import Foundation
 3 |
 4 | public struct Point: Hashable, Codable {
   |               `- note: consider making struct 'Point' conform to the 'Sendable' protocol
 5 |     public var x: Double
 6 |     public var y: Double
 7 |
 8 |     public static let zero = Point(x: 0, y: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |     public init(x: Double, y: Double) {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/39] Emitting module GeometrySpriteKitExtensions
/host/spi-builder-workspace/Sources/GeometrySpriteKitExtensions/Geometry+SpriteKit.swift:1:8: error: no such module 'SpriteKit'
 1 | import SpriteKit
   |        `- error: no such module 'SpriteKit'
 2 | import Geometry
 3 |
[31/39] Compiling GeometrySpriteKitExtensions Geometry+SpriteKit.swift
/host/spi-builder-workspace/Sources/GeometrySpriteKitExtensions/Geometry+SpriteKit.swift:1:8: error: no such module 'SpriteKit'
 1 | import SpriteKit
   |        `- error: no such module 'SpriteKit'
 2 | import Geometry
 3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/GeometryAlgorithmsTests/__Snapshots__/GeometryAlgorithmsTests/testShipTriangulation.1.png
    /host/spi-builder-workspace/Tests/GeometryAlgorithmsTests/__Snapshots__/GeometryAlgorithmsTests/testAsteroidTriangulation.1.png
    /host/spi-builder-workspace/Tests/GeometryAlgorithmsTests/__Snapshots__/GeometryAlgorithmsTests/testShellTriangulation.1.png
    /host/spi-builder-workspace/Tests/GeometryAlgorithmsTests/__Snapshots__/GeometryAlgorithmsTests/testComplexAsteroidPath.1.png
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/20] Compiling Geometry Line.swift
[3/21] Compiling RealModule AlgebraicField.swift
[4/21] Compiling RealModule ApproximateEquality.swift
[5/21] Compiling RealModule Float80+Real.swift
[6/21] Compiling RealModule Real.swift
[7/22] Compiling Geometry Path.swift
[10/22] Emitting module Geometry
[11/22] Compiling Geometry Point.swift
[12/22] Compiling RealModule AugmentedArithmetic.swift
[13/22] Compiling RealModule Double+Real.swift
[14/22] Compiling RealModule Float16+Real.swift
[15/22] Compiling RealModule ElementaryFunctions.swift
[16/22] Compiling RealModule Float+Real.swift
[17/22] Compiling RealModule RealFunctions.swift
[18/22] Emitting module RealModule
[19/23] Compiling Geometry Rect.swift
[20/23] Compiling Geometry Size.swift
[21/23] Compiling Geometry Shape.swift
[23/23] Compiling Geometry Triangle.swift
[25/34] Compiling GeometryAlgorithms Double+DegreesToRadians.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/35] Emitting module GeometrySpriteKitExtensions
/host/spi-builder-workspace/Sources/GeometrySpriteKitExtensions/Geometry+SpriteKit.swift:1:8: error: no such module 'SpriteKit'
 1 | import SpriteKit
   |        `- error: no such module 'SpriteKit'
 2 | import Geometry
 3 |
[27/35] Compiling GeometrySpriteKitExtensions Geometry+SpriteKit.swift
/host/spi-builder-workspace/Sources/GeometrySpriteKitExtensions/Geometry+SpriteKit.swift:1:8: error: no such module 'SpriteKit'
 1 | import SpriteKit
   |        `- error: no such module 'SpriteKit'
 2 | import Geometry
 3 |
BUILD FAILURE 6.1 wasm