Build Information
Failed to build Geometry, reference develop (58c77a), with Swift 6.1 for Wasm on 28 May 2025 09:33:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RedECSEngine/Geometry.git
Reference: develop
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
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 58c77a1 Additional geometry and matrix support for 2d graphics needs
Cloned https://github.com/RedECSEngine/Geometry.git
Revision (git rev-parse @):
58c77a117bd3405e97b0a68d6b887f384facaa2a
SUCCESS checkout https://github.com/RedECSEngine/Geometry.git at develop
========================================
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-1":/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/apple/swift-numerics.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/5691] Fetching swift-numerics
[5692/18873] Fetching swift-numerics, swift-snapshot-testing
Fetched https://github.com/apple/swift-numerics.git from cache (2.06s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.11s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 0.1.0 (2.72s)
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.57s)
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.86s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (6.50s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (2.61s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (3.29s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.80s)
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/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/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/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
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
Building for debugging...
[0/6] Write sources
[4/6] Compiling _NumericsShims _NumericsShims.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/25] Emitting module RealModule
[8/26] Compiling RealModule ElementaryFunctions.swift
[9/26] Compiling RealModule Real.swift
[10/26] Compiling RealModule AlgebraicField.swift
[11/26] Compiling RealModule ApproximateEquality.swift
[12/26] Compiling RealModule AugmentedArithmetic.swift
[13/26] Compiling RealModule Double+Real.swift
[14/26] Compiling RealModule Float80+Real.swift
[15/26] Compiling RealModule Float16+Real.swift
[16/26] Compiling RealModule Float+Real.swift
[17/26] Compiling RealModule RealFunctions.swift
[19/27] 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) {
[20/28] 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) {
[21/28] Compiling Geometry Shape.swift
[22/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) {
[23/28] Compiling Geometry Path.swift
[26/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) {
[27/28] Compiling Geometry Line.swift
[28/28] Compiling Geometry Triangle.swift
[30/39] Compiling GeometryAlgorithms +RectTriangulation.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/40] 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 |
[32/40] 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-1":/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/testComplexAsteroidPath.1.png
/host/spi-builder-workspace/Tests/GeometryAlgorithmsTests/__Snapshots__/GeometryAlgorithmsTests/testShellTriangulation.1.png
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/20] Compiling RealModule Real.swift
[3/20] Compiling RealModule Float80+Real.swift
[4/20] Compiling Geometry Size.swift
[5/22] Compiling RealModule Float16+Real.swift
[6/22] Compiling Geometry Shape.swift
[7/22] Compiling RealModule ElementaryFunctions.swift
[8/22] Compiling RealModule Float+Real.swift
[9/22] Compiling Geometry Line.swift
[10/22] Emitting module Geometry
[11/22] Compiling RealModule AlgebraicField.swift
[12/22] Compiling RealModule ApproximateEquality.swift
[13/22] Compiling RealModule RealFunctions.swift
[14/22] Compiling Geometry Path.swift
[15/22] Compiling Geometry Point.swift
[16/22] Compiling Geometry Rect.swift
[19/22] Compiling RealModule AugmentedArithmetic.swift
[20/22] Compiling RealModule Double+Real.swift
[21/22] Emitting module RealModule
[23/23] Compiling Geometry Triangle.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/34] 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 |
[26/34] 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 |
[27/34] Compiling GeometryAlgorithms +RectTriangulation.swift
[28/35] Compiling GeometryAlgorithms GeometryAlgorithms.swift
[29/35] Compiling GeometryAlgorithms Triangulatable.swift
[30/35] Compiling GeometryAlgorithms +PointRotation.swift
[31/35] Compiling GeometryAlgorithms +CircleTriangulation.swift
[32/35] Emitting module GeometryAlgorithms
[33/35] Compiling GeometryAlgorithms +PolygonTriangulation.swift
[34/35] Compiling GeometryAlgorithms Double+DegreesToRadians.swift
BUILD FAILURE 6.1 wasm