Build Information
Successful build of RealityGeometries, reference 1.1.2 (e6eb54
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 22:25:50 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maxxfrazer/RealityGeometries.git
Reference: 1.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/maxxfrazer/RealityGeometries
* tag 1.1.2 -> FETCH_HEAD
HEAD is now at e6eb54c Fix build for tvOS
Cloned https://github.com/maxxfrazer/RealityGeometries.git
Revision (git rev-parse @):
e6eb54c7e9a41f2d63b5fd82300cfe4e578e1ac8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/maxxfrazer/RealityGeometries.git at 1.1.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "realitygeometries",
"name": "RealityGeometries",
"url": "https://github.com/maxxfrazer/RealityGeometries.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RealityGeometries",
"dependencies": [
]
}
]
}
Fetching https://github.com/maxxfrazer/RealityGeometries.git
[7/306] Fetching realitygeometries
Fetched https://github.com/maxxfrazer/RealityGeometries.git from cache (1.09s)
Creating working copy for https://github.com/maxxfrazer/RealityGeometries.git
Working copy of https://github.com/maxxfrazer/RealityGeometries.git resolved at 1.1.2 (e6eb54c)
warning: '.resolve-product-dependencies': dependency 'realitygeometries' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/maxxfrazer/RealityGeometries.git
{
"dependencies" : [
],
"manifest_display_name" : "RealityGeometries",
"name" : "RealityGeometries",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "RealityGeometries",
"targets" : [
"RealityGeometries"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RealityGeometriesTests",
"module_type" : "SwiftTarget",
"name" : "RealityGeometriesTests",
"path" : "Tests/RealityGeometriesTests",
"sources" : [
"DetailedPlaneTests.swift",
"PathTests.swift",
"TorusTests.swift"
],
"target_dependencies" : [
"RealityGeometries"
],
"type" : "test"
},
{
"c99name" : "RealityGeometries",
"module_type" : "SwiftTarget",
"name" : "RealityGeometries",
"path" : "Sources/RealityGeometries",
"product_memberships" : [
"RealityGeometries"
],
"sources" : [
"CompleteVertex.swift",
"MeshResource+Extensions.swift",
"RealityGeometry+Cone.swift",
"RealityGeometry+Cylinder.swift",
"RealityGeometry+Path.swift",
"RealityGeometry+Planes.swift",
"RealityGeometry+Torus.swift",
"RealityGeometry+TorusArc.swift",
"RealityGeometry+Tube.swift",
"RealityGeometry+Wedge.swift",
"RealityGeometry.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/13] Compiling RealityGeometries RealityGeometry+Wedge.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Wedge.swift:40:33: warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | /// Smoothed normal setting also reduces the total number of vertices
20 | /// - Returns: A cylinder mesh.
21 | public static func generateWedge(
| `- note: add '@MainActor' to make static method 'generateWedge(radius:height:startAngle:endAngle:allSides:splitFaces:smoothNormals:)' part of global actor 'MainActor'
22 | radius: Float, height: Float, startAngle: Int, endAngle: Int, allSides: Int = 24,
23 | splitFaces: Bool = false, smoothNormals: Bool = false
:
38 | with: cylinderVerts.indices!, materials: cylinderVerts.materialIndices!
39 | )
40 | return try MeshResource.generate(from: [meshDescr])
| `- warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
RealityFoundation.MeshResource:49:51: note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
47 | @available(iOS, introduced: 15.0, deprecated: 18.0, renamed: "init(from:)")
48 | @MainActor @preconcurrency public static func generateAsync(from content: MeshResource.Contents) -> LoadRequest<MeshResource>
49 | @MainActor @preconcurrency public static func generate(from descriptors: [MeshDescriptor]) throws -> MeshResource
| `- note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
50 | nonisolated public convenience init(from descriptors: [MeshDescriptor]) async throws
51 | @available(visionOS, introduced: 1.0, deprecated: 1.0, renamed: "init(from:)")
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Wedge.swift:50:13: warning: initialization of immutable value 'startRadians' was never used; consider replacing with assignment to '_' or removing it
48 | let deltaDegrees = endAngle - startAngle
49 | let dtoR = Float.pi / 180.0
50 | let startRadians = Float(startAngle) * dtoR
| `- warning: initialization of immutable value 'startRadians' was never used; consider replacing with assignment to '_' or removing it
51 | let endRadians = Float(endAngle) * dtoR
52 | let sides = (deltaDegrees * allSides) / 360
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Wedge.swift:51:13: warning: initialization of immutable value 'endRadians' was never used; consider replacing with assignment to '_' or removing it
49 | let dtoR = Float.pi / 180.0
50 | let startRadians = Float(startAngle) * dtoR
51 | let endRadians = Float(endAngle) * dtoR
| `- warning: initialization of immutable value 'endRadians' was never used; consider replacing with assignment to '_' or removing it
52 | let sides = (deltaDegrees * allSides) / 360
53 |
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Wedge.swift:145:13: warning: initialization of immutable value 'startRadians' was never used; consider replacing with assignment to '_' or removing it
143 | let deltaDegrees = endAngle - startAngle
144 | let dtoR = Float.pi / 180.0
145 | let startRadians = Float(startAngle) * dtoR
| `- warning: initialization of immutable value 'startRadians' was never used; consider replacing with assignment to '_' or removing it
146 | let endRadians = Float(endAngle) * dtoR
147 | let sides = (deltaDegrees * allSides) / 360
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Wedge.swift:146:13: warning: initialization of immutable value 'endRadians' was never used; consider replacing with assignment to '_' or removing it
144 | let dtoR = Float.pi / 180.0
145 | let startRadians = Float(startAngle) * dtoR
146 | let endRadians = Float(endAngle) * dtoR
| `- warning: initialization of immutable value 'endRadians' was never used; consider replacing with assignment to '_' or removing it
147 | let sides = (deltaDegrees * allSides) / 360
148 |
[4/14] Compiling RealityGeometries RealityGeometry+Cylinder.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Cylinder.swift:40:33: warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | /// Smoothed normal setting also reduces the total number of vertices
20 | /// - Returns: A cylinder mesh.
21 | public static func generateCylinder(
| `- note: add '@MainActor' to make static method 'generateCylinder(radius:height:sides:splitFaces:smoothNormals:)' part of global actor 'MainActor'
22 | radius: Float, height: Float, sides: Int = 24,
23 | splitFaces: Bool = false, smoothNormals: Bool = false
:
38 | with: cylinderVerts.indices!, materials: cylinderVerts.materialIndices!
39 | )
40 | return try MeshResource.generate(from: [meshDescr])
| `- warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
RealityFoundation.MeshResource:49:51: note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
47 | @available(iOS, introduced: 15.0, deprecated: 18.0, renamed: "init(from:)")
48 | @MainActor @preconcurrency public static func generateAsync(from content: MeshResource.Contents) -> LoadRequest<MeshResource>
49 | @MainActor @preconcurrency public static func generate(from descriptors: [MeshDescriptor]) throws -> MeshResource
| `- note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
50 | nonisolated public convenience init(from descriptors: [MeshDescriptor]) async throws
51 | @available(visionOS, introduced: 1.0, deprecated: 1.0, renamed: "init(from:)")
[5/14] Compiling RealityGeometries RealityGeometry+Tube.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Tube.swift:48:38: warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | try self.line(points: points, radius: radius, edges: edges).0
38 | }
39 | static func line(
| `- note: add '@MainActor' to make static method 'line(points:radius:edges:)' part of global actor 'MainActor'
40 | points: [SIMD3<Float>], radius: Float, edges: Int = 12
41 | ) throws -> (MeshResource, Float) {
:
46 | ) else { throw MeshError.invalidInput }
47 | if geomParts.isEmpty {
48 | return (try MeshResource.generate(from: []), lineLength)
| `- warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | }
50 | let meshDescr = geomParts.generateMeshDescriptor(with: indices)
RealityFoundation.MeshResource:49:51: note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
47 | @available(iOS, introduced: 15.0, deprecated: 18.0, renamed: "init(from:)")
48 | @MainActor @preconcurrency public static func generateAsync(from content: MeshResource.Contents) -> LoadRequest<MeshResource>
49 | @MainActor @preconcurrency public static func generate(from descriptors: [MeshDescriptor]) throws -> MeshResource
| `- note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
50 | nonisolated public convenience init(from descriptors: [MeshDescriptor]) async throws
51 | @available(visionOS, introduced: 1.0, deprecated: 1.0, renamed: "init(from:)")
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Tube.swift:51:34: warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | try self.line(points: points, radius: radius, edges: edges).0
38 | }
39 | static func line(
| `- note: add '@MainActor' to make static method 'line(points:radius:edges:)' part of global actor 'MainActor'
40 | points: [SIMD3<Float>], radius: Float, edges: Int = 12
41 | ) throws -> (MeshResource, Float) {
:
49 | }
50 | let meshDescr = geomParts.generateMeshDescriptor(with: indices)
51 | return (try MeshResource.generate(from: [meshDescr]), lineLength)
| `- warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 |
RealityFoundation.MeshResource:49:51: note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
47 | @available(iOS, introduced: 15.0, deprecated: 18.0, renamed: "init(from:)")
48 | @MainActor @preconcurrency public static func generateAsync(from content: MeshResource.Contents) -> LoadRequest<MeshResource>
49 | @MainActor @preconcurrency public static func generate(from descriptors: [MeshDescriptor]) throws -> MeshResource
| `- note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
50 | nonisolated public convenience init(from descriptors: [MeshDescriptor]) async throws
51 | @available(visionOS, introduced: 1.0, deprecated: 1.0, renamed: "init(from:)")
[6/14] Compiling RealityGeometries RealityGeometry+Torus.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Torus.swift:53:21: warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | /// - csRadius: Radius of the tube.
18 | /// - Returns: A new torus `MeshResource`
19 | public static func generateTorus(
| `- note: add '@MainActor' to make static method 'generateTorus(sides:csSides:radius:csRadius:)' part of global actor 'MainActor'
20 | sides: Int, csSides: Int, radius: Float, csRadius: Float
21 | ) throws -> MeshResource {
:
51 | }
52 | let meshDesc = allVertices.generateMeshDescriptor(with: indices)
53 | return try .generate(from: [meshDesc])
| `- warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
RealityFoundation.MeshResource:49:51: note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
47 | @available(iOS, introduced: 15.0, deprecated: 18.0, renamed: "init(from:)")
48 | @MainActor @preconcurrency public static func generateAsync(from content: MeshResource.Contents) -> LoadRequest<MeshResource>
49 | @MainActor @preconcurrency public static func generate(from descriptors: [MeshDescriptor]) throws -> MeshResource
| `- note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
50 | nonisolated public convenience init(from descriptors: [MeshDescriptor]) async throws
51 | @available(visionOS, introduced: 1.0, deprecated: 1.0, renamed: "init(from:)")
[7/14] Compiling RealityGeometries RealityGeometry+Planes.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Planes.swift:46:21: warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | /// - vertices: Vertex count in the x and z axis
17 | /// - Returns: A plane mesh
18 | public static func generateDetailedPlane(
| `- note: add '@MainActor' to make static method 'generateDetailedPlane(width:depth:vertices:)' part of global actor 'MainActor'
19 | width: Float, depth: Float, vertices: (Int, Int)
20 | ) throws -> MeshResource {
:
44 | descr.positions = MeshBuffer(meshPositions)
45 | descr.textureCoordinates = MeshBuffers.TextureCoordinates(textureMap)
46 | return try .generate(from: [descr])
| `- warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }
48 | }
RealityFoundation.MeshResource:49:51: note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
47 | @available(iOS, introduced: 15.0, deprecated: 18.0, renamed: "init(from:)")
48 | @MainActor @preconcurrency public static func generateAsync(from content: MeshResource.Contents) -> LoadRequest<MeshResource>
49 | @MainActor @preconcurrency public static func generate(from descriptors: [MeshDescriptor]) throws -> MeshResource
| `- note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
50 | nonisolated public convenience init(from descriptors: [MeshDescriptor]) async throws
51 | @available(visionOS, introduced: 1.0, deprecated: 1.0, renamed: "init(from:)")
[8/14] Compiling RealityGeometries RealityGeometry+Path.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Path.swift:32:34: warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | /// - pathProperties: Properties of the path, including width and corner behaviour.
22 | /// - Returns: A new MeshResource representing the path for use with any RealityKit Application, and path length.
23 | public static func generatePath(
| `- note: add '@MainActor' to make static method 'generatePath(_:pathProperties:)' part of global actor 'MainActor'
24 | _ points: [SIMD3<Float>], pathProperties: PathProperties = .init()
25 | ) throws -> (mesh: MeshResource?, pathLength: Float) {
:
30 | return (nil, length)
31 | }
32 | return try (MeshResource.generate(from: [meshDesc]), length)
| `- warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 |
RealityFoundation.MeshResource:49:51: note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
47 | @available(iOS, introduced: 15.0, deprecated: 18.0, renamed: "init(from:)")
48 | @MainActor @preconcurrency public static func generateAsync(from content: MeshResource.Contents) -> LoadRequest<MeshResource>
49 | @MainActor @preconcurrency public static func generate(from descriptors: [MeshDescriptor]) throws -> MeshResource
| `- note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
50 | nonisolated public convenience init(from descriptors: [MeshDescriptor]) async throws
51 | @available(visionOS, introduced: 1.0, deprecated: 1.0, renamed: "init(from:)")
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Path.swift:32:34: warning: sending task-isolated value of type '[MeshDescriptor]' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
30 | return (nil, length)
31 | }
32 | return try (MeshResource.generate(from: [meshDesc]), length)
| `- warning: sending task-isolated value of type '[MeshDescriptor]' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
33 | }
34 |
[9/14] Compiling RealityGeometries RealityGeometry+TorusArc.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+TorusArc.swift:24:13: warning: initialization of immutable value 'startRadians' was never used; consider replacing with assignment to '_' or removing it
22 | let deltaDegrees = endAngle - startAngle
23 | let dtoR = Float.pi / 180.0
24 | let startRadians = Float(startAngle) * dtoR
| `- warning: initialization of immutable value 'startRadians' was never used; consider replacing with assignment to '_' or removing it
25 | let endRadians = Float(endAngle) * dtoR
26 | let sides = (deltaDegrees * allSides) / 360
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+TorusArc.swift:25:13: warning: initialization of immutable value 'endRadians' was never used; consider replacing with assignment to '_' or removing it
23 | let dtoR = Float.pi / 180.0
24 | let startRadians = Float(startAngle) * dtoR
25 | let endRadians = Float(endAngle) * dtoR
| `- warning: initialization of immutable value 'endRadians' was never used; consider replacing with assignment to '_' or removing it
26 | let sides = (deltaDegrees * allSides) / 360
27 |
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+TorusArc.swift:104:21: warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | /// - csRadius: Radius of the tube.
18 | /// - Returns: A new torus `MeshResource`
19 | public static func generateTorusArc(
| `- note: add '@MainActor' to make static method 'generateTorusArc(startAngle:endAngle:allSides:csSides:radius:csRadius:isCapped:splitFaces:)' part of global actor 'MainActor'
20 | startAngle: Int, endAngle: Int, allSides:Int , csSides: Int, radius: Float, csRadius: Float, isCapped: Bool = false, splitFaces: Bool = false
21 | ) throws -> MeshResource {
:
102 |
103 | let meshDesc = allVertices.generateMeshDescriptor(with: indices, materials: materials)
104 | return try .generate(from: [meshDesc])
| `- warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 | }
106 |
RealityFoundation.MeshResource:49:51: note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
47 | @available(iOS, introduced: 15.0, deprecated: 18.0, renamed: "init(from:)")
48 | @MainActor @preconcurrency public static func generateAsync(from content: MeshResource.Contents) -> LoadRequest<MeshResource>
49 | @MainActor @preconcurrency public static func generate(from descriptors: [MeshDescriptor]) throws -> MeshResource
| `- note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
50 | nonisolated public convenience init(from descriptors: [MeshDescriptor]) async throws
51 | @available(visionOS, introduced: 1.0, deprecated: 1.0, renamed: "init(from:)")
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+TorusArc.swift:114:13: warning: initialization of immutable value 'sides' was never used; consider replacing with assignment to '_' or removing it
112 | let startRadians = Float(startAngle) * dtoR
113 | let endRadians = Float(endAngle) * dtoR
114 | let sides = (deltaDegrees * allSides) / 360
| `- warning: initialization of immutable value 'sides' was never used; consider replacing with assignment to '_' or removing it
115 |
116 | let angleIncs = 360 / Float(allSides)
[10/14] Compiling RealityGeometries RealityGeometry+Cone.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Cone.swift:38:33: warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | /// Smoothed normal setting also reduces the total number of vertices
20 | /// - Returns: A cone mesh
21 | public static func generateCone(
| `- note: add '@MainActor' to make static method 'generateCone(radius:height:sides:splitFaces:smoothNormals:)' part of global actor 'MainActor'
22 | radius: Float, height: Float, sides: Int = 24, splitFaces: Bool = false,
23 | smoothNormals: Bool = false
:
36 | with: coneVerties.indices!, materials: coneVerties.materialIndices!
37 | )
38 | return try MeshResource.generate(from: [meshDescr])
| `- warning: call to main actor-isolated static method 'generate(from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | }
40 |
RealityFoundation.MeshResource:49:51: note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
47 | @available(iOS, introduced: 15.0, deprecated: 18.0, renamed: "init(from:)")
48 | @MainActor @preconcurrency public static func generateAsync(from content: MeshResource.Contents) -> LoadRequest<MeshResource>
49 | @MainActor @preconcurrency public static func generate(from descriptors: [MeshDescriptor]) throws -> MeshResource
| `- note: calls to static method 'generate(from:)' from outside of its actor context are implicitly asynchronous
50 | nonisolated public convenience init(from descriptors: [MeshDescriptor]) async throws
51 | @available(visionOS, introduced: 1.0, deprecated: 1.0, renamed: "init(from:)")
[11/14] Compiling RealityGeometries CompleteVertex.swift
[12/14] Compiling RealityGeometries MeshResource+Extensions.swift
[13/14] Emitting module RealityGeometries
[14/14] Compiling RealityGeometries RealityGeometry.swift
Build complete! (24.61s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "RealityGeometries",
"name" : "RealityGeometries",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "RealityGeometries",
"targets" : [
"RealityGeometries"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RealityGeometriesTests",
"module_type" : "SwiftTarget",
"name" : "RealityGeometriesTests",
"path" : "Tests/RealityGeometriesTests",
"sources" : [
"DetailedPlaneTests.swift",
"PathTests.swift",
"TorusTests.swift"
],
"target_dependencies" : [
"RealityGeometries"
],
"type" : "test"
},
{
"c99name" : "RealityGeometries",
"module_type" : "SwiftTarget",
"name" : "RealityGeometries",
"path" : "Sources/RealityGeometries",
"product_memberships" : [
"RealityGeometries"
],
"sources" : [
"CompleteVertex.swift",
"MeshResource+Extensions.swift",
"RealityGeometry+Cone.swift",
"RealityGeometry+Cylinder.swift",
"RealityGeometry+Path.swift",
"RealityGeometry+Planes.swift",
"RealityGeometry+Torus.swift",
"RealityGeometry+TorusArc.swift",
"RealityGeometry+Tube.swift",
"RealityGeometry+Wedge.swift",
"RealityGeometry.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/maxxfrazer/realitygeometries/1.1.2
Repository: maxxfrazer/RealityGeometries
Swift version used: 6.0
Target: RealityGeometries
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'RealityGeometries'...
Finished extracting symbol information for 'RealityGeometries'. (6.25s)
Building documentation for 'RealityGeometries'...
warning: Parameter 'path' not found in type method declaration
--> Sources/RealityGeometries/RealityGeometry+Path.swift:20:13-20:17
18 | ///
19 | /// - Parameters:
20 + /// - path: Point from which to make the path.
| ╰─suggestion: Replace 'path' with 'pathProperties'
21 | /// - pathProperties: Properties of the path, including width and corner behaviour.
22 | /// - Returns: A new MeshResource representing the path for use with any RealityKit Application, and path length.
warning: Parameter 'points' is missing documentation
--> Sources/RealityGeometries/RealityGeometry+Path.swift:21:90-21:90
19 | /// - Parameters:
20 | /// - path: Point from which to make the path.
21 + /// - pathProperties: Properties of the path, including width and corner behaviour.
| ╰─suggestion: Document 'points' parameter
22 | /// - Returns: A new MeshResource representing the path for use with any RealityKit Application, and path length.
23 | public static func generatePath(
warning: Parameter 'sides' not found in type method declaration
--> Sources/RealityGeometries/RealityGeometry+TorusArc.swift:14:13-14:18
12 | /// Create a new torus MeshResource 🍩
13 | /// - Parameters:
14 + /// - sides: Number of segments in the toroidal direction (outer edge of the torus).
| ╰─suggestion: Replace 'sides' with 'csSides'
15 | /// - csSides: Number of segments in the poloidal direction (segments in the tube)
16 | /// - radius: Distance from the centre of the torus to the centre of the tube.
warning: Parameter 'endAngle' is missing documentation
--> Sources/RealityGeometries/RealityGeometry+TorusArc.swift:17:42-17:42
15 | /// - csSides: Number of segments in the poloidal direction (segments in the tube)
| ╰─suggestion: Document 'endAngle' parameter
16 | /// - radius: Distance from the centre of the torus to the centre of the tube.
17 + /// - csRadius: Radius of the tube.
18 | /// - Returns: A new torus `MeshResource`
19 | public static func generateTorusArc(
warning: Parameter 'startAngle' is missing documentation
--> Sources/RealityGeometries/RealityGeometry+TorusArc.swift:17:42-17:42
15 | /// - csSides: Number of segments in the poloidal direction (segments in the tube)
| ╰─suggestion: Document 'startAngle' parameter
16 | /// - radius: Distance from the centre of the torus to the centre of the tube.
17 + /// - csRadius: Radius of the tube.
18 | /// - Returns: A new torus `MeshResource`
19 | public static func generateTorusArc(
warning: Parameter 'allSides' is missing documentation
--> Sources/RealityGeometries/RealityGeometry+TorusArc.swift:17:42-17:42
15 | /// - csSides: Number of segments in the poloidal direction (segments in the tube)
| ╰─suggestion: Document 'allSides' parameter
16 | /// - radius: Distance from the centre of the torus to the centre of the tube.
17 + /// - csRadius: Radius of the tube.
18 | /// - Returns: A new torus `MeshResource`
19 | public static func generateTorusArc(
warning: Parameter 'splitFaces' is missing documentation
--> Sources/RealityGeometries/RealityGeometry+TorusArc.swift:17:42-17:42
15 | /// - csSides: Number of segments in the poloidal direction (segments in the tube)
16 | /// - radius: Distance from the centre of the torus to the centre of the tube.
17 + /// - csRadius: Radius of the tube.
| ╰─suggestion: Document 'splitFaces' parameter
18 | /// - Returns: A new torus `MeshResource`
19 | public static func generateTorusArc(
warning: Parameter 'isCapped' is missing documentation
--> Sources/RealityGeometries/RealityGeometry+TorusArc.swift:17:42-17:42
15 | /// - csSides: Number of segments in the poloidal direction (segments in the tube)
16 | /// - radius: Distance from the centre of the torus to the centre of the tube.
17 + /// - csRadius: Radius of the tube.
| ╰─suggestion: Document 'isCapped' parameter
18 | /// - Returns: A new torus `MeshResource`
19 | public static func generateTorusArc(
warning: Parameter 'sides' not found in type method declaration
--> Sources/RealityGeometries/RealityGeometry+Wedge.swift:16:13-16:18
14 | /// - radius: Radius of the cylinder
15 | /// - height: Height of the cylinder
16 + /// - sides: How many sides the cone should have, default is 24, minimum is 3
| ╰─suggestion: Replace 'sides' with 'allSides'
17 | /// - splitFaces: A Boolean you set to true to indicate that vertices shouldn’t be merged.
18 | /// - smoothNormals: Whether to smooth the normals. Good for high numbers of sides to give a rounder shape.
warning: Parameter 'allSides' is missing documentation
--> Sources/RealityGeometries/RealityGeometry+Wedge.swift:19:93-19:93
17 | /// - splitFaces: A Boolean you set to true to indicate that vertices shouldn’t be merged.
| ╰─suggestion: Document 'allSides' parameter
18 | /// - smoothNormals: Whether to smooth the normals. Good for high numbers of sides to give a rounder shape.
19 + /// Smoothed normal setting also reduces the total number of vertices
20 | /// - Returns: A cylinder mesh.
21 | public static func generateWedge(
warning: Parameter 'endAngle' is missing documentation
--> Sources/RealityGeometries/RealityGeometry+Wedge.swift:19:93-19:93
17 | /// - splitFaces: A Boolean you set to true to indicate that vertices shouldn’t be merged.
| ╰─suggestion: Document 'endAngle' parameter
18 | /// - smoothNormals: Whether to smooth the normals. Good for high numbers of sides to give a rounder shape.
19 + /// Smoothed normal setting also reduces the total number of vertices
20 | /// - Returns: A cylinder mesh.
21 | public static func generateWedge(
warning: Parameter 'startAngle' is missing documentation
--> Sources/RealityGeometries/RealityGeometry+Wedge.swift:19:93-19:93
17 | /// - splitFaces: A Boolean you set to true to indicate that vertices shouldn’t be merged.
| ╰─suggestion: Document 'startAngle' parameter
18 | /// - smoothNormals: Whether to smooth the normals. Good for high numbers of sides to give a rounder shape.
19 + /// Smoothed normal setting also reduces the total number of vertices
20 | /// - Returns: A cylinder mesh.
21 | public static func generateWedge(Finished building documentation for 'RealityGeometries' (0.10s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/maxxfrazer/realitygeometries/1.1.2
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.28s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.37s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3188] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.56s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling Snippets SnippetParser.swift
[7/53] Compiling Snippets Snippet.swift
[8/53] Emitting module Snippets
[9/53] Emitting module SymbolKit
[10/53] Compiling SymbolKit Mixin+Equals.swift
[11/53] Compiling SymbolKit Mixin+Hash.swift
[12/53] Compiling SymbolKit Mixin.swift
[13/53] Compiling SymbolKit LineList.swift
[14/53] Compiling SymbolKit Position.swift
[15/57] Compiling SymbolKit SemanticVersion.swift
[16/57] Compiling SymbolKit AccessControl.swift
[17/57] Compiling SymbolKit Availability.swift
[18/57] Compiling SymbolKit AvailabilityItem.swift
[19/57] Compiling SymbolKit Domain.swift
[20/57] Compiling SymbolKit Relationship.swift
[21/57] Compiling SymbolKit RelationshipKind.swift
[22/57] Compiling SymbolKit SourceOrigin.swift
[23/57] Compiling SymbolKit GenericConstraints.swift
[24/57] Compiling SymbolKit Swift.swift
[25/57] Compiling SymbolKit SourceRange.swift
[26/57] Compiling SymbolKit Metadata.swift
[27/57] Compiling SymbolKit Module.swift
[28/57] Compiling SymbolKit OperatingSystem.swift
[29/57] Compiling SymbolKit Platform.swift
[30/57] Compiling SymbolKit GenericConstraint.swift
[31/57] Compiling SymbolKit GenericParameter.swift
[32/57] Compiling SymbolKit Generics.swift
[33/57] Compiling SymbolKit Namespace.swift
[34/57] Compiling SymbolKit Names.swift
[35/57] Compiling SymbolKit SPI.swift
[36/57] Compiling SymbolKit Snippet.swift
[37/57] Compiling SymbolKit Extension.swift
[38/57] Compiling SymbolKit Symbol.swift
[39/57] Compiling SymbolKit SymbolKind.swift
[40/57] Compiling SymbolKit SymbolGraph.swift
[41/57] Compiling SymbolKit GraphCollector.swift
[42/57] Compiling SymbolKit DeclarationFragments.swift
[43/57] Compiling SymbolKit Fragment.swift
[44/57] Compiling SymbolKit FragmentKind.swift
[45/57] Compiling SymbolKit FunctionParameter.swift
[46/57] Compiling SymbolKit FunctionSignature.swift
[47/57] Compiling SymbolKit Identifier.swift
[48/57] Compiling SymbolKit KindIdentifier.swift
[49/57] Compiling SymbolKit Location.swift
[50/57] Compiling SymbolKit Mutability.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.00s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/12] Compiling RealityGeometries RealityGeometry+Wedge.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Wedge.swift:50:13: warning: initialization of immutable value 'startRadians' was never used; consider replacing with assignment to '_' or removing it
48 | let deltaDegrees = endAngle - startAngle
49 | let dtoR = Float.pi / 180.0
50 | let startRadians = Float(startAngle) * dtoR
| `- warning: initialization of immutable value 'startRadians' was never used; consider replacing with assignment to '_' or removing it
51 | let endRadians = Float(endAngle) * dtoR
52 | let sides = (deltaDegrees * allSides) / 360
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Wedge.swift:51:13: warning: initialization of immutable value 'endRadians' was never used; consider replacing with assignment to '_' or removing it
49 | let dtoR = Float.pi / 180.0
50 | let startRadians = Float(startAngle) * dtoR
51 | let endRadians = Float(endAngle) * dtoR
| `- warning: initialization of immutable value 'endRadians' was never used; consider replacing with assignment to '_' or removing it
52 | let sides = (deltaDegrees * allSides) / 360
53 |
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Wedge.swift:145:13: warning: initialization of immutable value 'startRadians' was never used; consider replacing with assignment to '_' or removing it
143 | let deltaDegrees = endAngle - startAngle
144 | let dtoR = Float.pi / 180.0
145 | let startRadians = Float(startAngle) * dtoR
| `- warning: initialization of immutable value 'startRadians' was never used; consider replacing with assignment to '_' or removing it
146 | let endRadians = Float(endAngle) * dtoR
147 | let sides = (deltaDegrees * allSides) / 360
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+Wedge.swift:146:13: warning: initialization of immutable value 'endRadians' was never used; consider replacing with assignment to '_' or removing it
144 | let dtoR = Float.pi / 180.0
145 | let startRadians = Float(startAngle) * dtoR
146 | let endRadians = Float(endAngle) * dtoR
| `- warning: initialization of immutable value 'endRadians' was never used; consider replacing with assignment to '_' or removing it
147 | let sides = (deltaDegrees * allSides) / 360
148 |
[3/12] Compiling RealityGeometries RealityGeometry+Tube.swift
[4/13] Compiling RealityGeometries RealityGeometry+TorusArc.swift
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+TorusArc.swift:24:13: warning: initialization of immutable value 'startRadians' was never used; consider replacing with assignment to '_' or removing it
22 | let deltaDegrees = endAngle - startAngle
23 | let dtoR = Float.pi / 180.0
24 | let startRadians = Float(startAngle) * dtoR
| `- warning: initialization of immutable value 'startRadians' was never used; consider replacing with assignment to '_' or removing it
25 | let endRadians = Float(endAngle) * dtoR
26 | let sides = (deltaDegrees * allSides) / 360
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+TorusArc.swift:25:13: warning: initialization of immutable value 'endRadians' was never used; consider replacing with assignment to '_' or removing it
23 | let dtoR = Float.pi / 180.0
24 | let startRadians = Float(startAngle) * dtoR
25 | let endRadians = Float(endAngle) * dtoR
| `- warning: initialization of immutable value 'endRadians' was never used; consider replacing with assignment to '_' or removing it
26 | let sides = (deltaDegrees * allSides) / 360
27 |
/Users/admin/builder/spi-builder-workspace/Sources/RealityGeometries/RealityGeometry+TorusArc.swift:114:13: warning: initialization of immutable value 'sides' was never used; consider replacing with assignment to '_' or removing it
112 | let startRadians = Float(startAngle) * dtoR
113 | let endRadians = Float(endAngle) * dtoR
114 | let sides = (deltaDegrees * allSides) / 360
| `- warning: initialization of immutable value 'sides' was never used; consider replacing with assignment to '_' or removing it
115 |
116 | let angleIncs = 360 / Float(allSides)
[5/13] Compiling RealityGeometries RealityGeometry+Planes.swift
[6/13] Compiling RealityGeometries RealityGeometry+Torus.swift
[7/13] Compiling RealityGeometries RealityGeometry+Cylinder.swift
[8/13] Compiling RealityGeometries RealityGeometry+Cone.swift
[9/13] Emitting module RealityGeometries
[10/13] Compiling RealityGeometries CompleteVertex.swift
[11/13] Compiling RealityGeometries MeshResource+Extensions.swift
[12/13] Compiling RealityGeometries RealityGeometry+Path.swift
[13/13] Compiling RealityGeometries RealityGeometry.swift
Build of target: 'RealityGeometries' complete! (1.31s)
126
2 /Users/admin/builder/spi-builder-workspace/.docs/maxxfrazer/realitygeometries/1.1.2
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/maxxfrazer/realitygeometries/1.1.2
File count: 126
Doc size: 2.0MB
Preparing doc bundle ...
Uploading prod-maxxfrazer-realitygeometries-1.1.2-c07dcb82.zip to s3://spi-docs-inbox/prod-maxxfrazer-realitygeometries-1.1.2-c07dcb82.zip
Copying... [16%]
Copying... [32%]
Copying... [47%]
Copying... [63%]
Copying... [79%]
Copying... [95%]
Copying... [100%]
Done.