Build Information
Failed to build Creamy3D, reference 0.2.7 (4ca1d9
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 21:52:35 UTC.
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/alex566/Creamy3D.git
Reference: 0.2.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alex566/Creamy3D
* tag 0.2.7 -> FETCH_HEAD
HEAD is now at 4ca1d98 Dynamic multisampling selection
Cloned https://github.com/alex566/Creamy3D.git
Revision (git rev-parse @):
4ca1d98c6d261e9b98e5491a93a84bcb4978997a
SUCCESS checkout https://github.com/alex566/Creamy3D.git at 0.2.7
========================================
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": "creamy3d",
"name": "Creamy3D",
"url": "https://github.com/alex566/Creamy3D.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Creamy3D",
"dependencies": [
]
}
]
}
Fetching https://github.com/alex566/Creamy3D.git
[1/476] Fetching creamy3d
Fetched https://github.com/alex566/Creamy3D.git from cache (0.76s)
Creating working copy for https://github.com/alex566/Creamy3D.git
Working copy of https://github.com/alex566/Creamy3D.git resolved at 0.2.7 (4ca1d98)
warning: '.resolve-product-dependencies': dependency 'creamy3d' 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/alex566/Creamy3D.git
{
"dependencies" : [
],
"manifest_display_name" : "Creamy3D",
"name" : "Creamy3D",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Creamy3D",
"targets" : [
"Creamy3D"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Creamy3DTests",
"module_type" : "SwiftTarget",
"name" : "Creamy3DTests",
"path" : "Tests/Creamy3DTests",
"sources" : [
"Creamy3DTests.swift"
],
"target_dependencies" : [
"Creamy3D"
],
"type" : "test"
},
{
"c99name" : "Creamy3D",
"module_type" : "SwiftTarget",
"name" : "Creamy3D",
"path" : "Sources/Creamy3D",
"product_memberships" : [
"Creamy3D"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Shaders/color_material.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Shaders/common.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Shaders/fresnel_material.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Shaders/matcap_material.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Shaders/material_common.h",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Shaders/texture_material.metal",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ColorRGB.swift",
"CreamyView.swift",
"Materials/ColorMaterial.swift",
"Materials/FresnelMaterial.swift",
"Materials/MatcapMaterial.swift",
"Materials/Material+Blend.swift",
"Materials/Material.swift",
"Materials/TextureMaterial.swift",
"MetalView.swift",
"Objects/EmptyObject.swift",
"Objects/Mesh.swift",
"Objects/Object.swift",
"Renderer.swift",
"Scene/Camera.swift",
"Scene/MaterialFunctions/ColorMaterialFunction.swift",
"Scene/MaterialFunctions/FresnelMaterialFunction.swift",
"Scene/MaterialFunctions/MatcapMaterialFunction.swift",
"Scene/MaterialFunctions/MaterialFunction.swift",
"Scene/MaterialFunctions/TextureMaterialFunction.swift",
"Scene/MaterialState.swift",
"Scene/MeshLoader/CubeMeshLoader.swift",
"Scene/MeshLoader/MeshLoader.swift",
"Scene/MeshLoader/ModelMeshLoader.swift",
"Scene/MeshLoader/SphereMeshLoader.swift",
"Scene/MeshNode.swift",
"Scene/Projection.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/8] Copying common.metal
[0/8] Copying matcap_material.metal
[2/8] Write sources
[3/8] Copying fresnel_material.metal
[3/8] Copying color_material.metal
[3/8] Copying texture_material.metal
[3/8] Copying material_common.h
[7/8] Write swift-version--7754E27361AE5C74.txt
[9/34] Compiling Creamy3D FresnelMaterialFunction.swift
[10/34] Compiling Creamy3D MatcapMaterialFunction.swift
[11/34] Compiling Creamy3D MaterialFunction.swift
[12/34] Compiling Creamy3D MeshLoader.swift
[13/34] Compiling Creamy3D ModelMeshLoader.swift
[14/36] Compiling Creamy3D TextureMaterialFunction.swift
[15/36] Compiling Creamy3D MaterialState.swift
[16/36] Compiling Creamy3D CubeMeshLoader.swift
[17/36] Compiling Creamy3D SphereMeshLoader.swift
[18/36] Compiling Creamy3D MeshNode.swift
[19/36] Compiling Creamy3D FresnelMaterial.swift
[20/36] Compiling Creamy3D MatcapMaterial.swift
[21/36] Compiling Creamy3D Material+Blend.swift
[22/36] Compiling Creamy3D Projection.swift
[23/36] Compiling Creamy3D resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/36] Emitting module Creamy3D
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:19:30: error: cannot find type 'Context' in scope
17 | var renderer = Renderer()
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- error: cannot find type 'Context' in scope
20 | let view = MTKView()
21 | renderer.setup(view: view)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:27:51: error: cannot find type 'Context' in scope
25 | }
26 |
27 | func updateUIView(_ uiView: MTKView, context: Context) {
| `- error: cannot find type 'Context' in scope
28 | renderer.update(camera: camera, projection: projection)
29 | renderer.update(objects: objects, projection: projection)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:11:19: error: cannot find type 'UIViewRepresentable' in scope
9 | import SwiftUI
10 |
11 | struct MetalView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 | let projection: Projection
13 | let camera: Camera
[25/36] Compiling Creamy3D ColorRGB.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/CreamyView.swift:20:13: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
18 | public var body: some View {
19 | GeometryReader { proxy in
20 | MetalView(
| `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
21 | projection: .init(width: proxy.size.width,
22 | height: proxy.size.height,
SwiftUICore.ViewBuilder:5:24: note: 'buildExpression' has been explicitly marked unavailable here
3 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
4 | @available(*, unavailable, message: "this expression does not conform to 'View'")
5 | public static func buildExpression(_ invalid: Any) -> some View
| `- note: 'buildExpression' has been explicitly marked unavailable here
6 |
7 | public static func buildBlock() -> EmptyView
[26/36] Compiling Creamy3D CreamyView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/CreamyView.swift:20:13: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
18 | public var body: some View {
19 | GeometryReader { proxy in
20 | MetalView(
| `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
21 | projection: .init(width: proxy.size.width,
22 | height: proxy.size.height,
SwiftUICore.ViewBuilder:5:24: note: 'buildExpression' has been explicitly marked unavailable here
3 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
4 | @available(*, unavailable, message: "this expression does not conform to 'View'")
5 | public static func buildExpression(_ invalid: Any) -> some View
| `- note: 'buildExpression' has been explicitly marked unavailable here
6 |
7 | public static func buildBlock() -> EmptyView
[27/36] Compiling Creamy3D ColorMaterial.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/CreamyView.swift:20:13: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
18 | public var body: some View {
19 | GeometryReader { proxy in
20 | MetalView(
| `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
21 | projection: .init(width: proxy.size.width,
22 | height: proxy.size.height,
SwiftUICore.ViewBuilder:5:24: note: 'buildExpression' has been explicitly marked unavailable here
3 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
4 | @available(*, unavailable, message: "this expression does not conform to 'View'")
5 | public static func buildExpression(_ invalid: Any) -> some View
| `- note: 'buildExpression' has been explicitly marked unavailable here
6 |
7 | public static func buildBlock() -> EmptyView
[28/36] Compiling Creamy3D Material.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:19:30: error: cannot find type 'Context' in scope
17 | var renderer = Renderer()
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- error: cannot find type 'Context' in scope
20 | let view = MTKView()
21 | renderer.setup(view: view)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:27:51: error: cannot find type 'Context' in scope
25 | }
26 |
27 | func updateUIView(_ uiView: MTKView, context: Context) {
| `- error: cannot find type 'Context' in scope
28 | renderer.update(camera: camera, projection: projection)
29 | renderer.update(objects: objects, projection: projection)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:11:19: error: cannot find type 'UIViewRepresentable' in scope
9 | import SwiftUI
10 |
11 | struct MetalView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 | let projection: Projection
13 | let camera: Camera
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:20:20: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | var renderer = Renderer()
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
20 | let view = MTKView()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | renderer.setup(view: view)
22 | renderer.update(camera: camera, projection: projection)
MetalKit.MTKView:41:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
39 | open func draw()
40 | public convenience init(frame frameRect: NSRect)
41 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
42 | @available(macOS 10.12, *)
43 | open func display(_ layer: CALayer)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:21:9: warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | @StateObject
17 | var renderer = Renderer()
| `- note: property declared here
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
20 | let view = MTKView()
21 | renderer.setup(view: view)
| `- warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
22 | renderer.update(camera: camera, projection: projection)
23 | renderer.update(objects: objects, projection: projection)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:22:9: warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | @StateObject
17 | var renderer = Renderer()
| `- note: property declared here
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
20 | let view = MTKView()
21 | renderer.setup(view: view)
22 | renderer.update(camera: camera, projection: projection)
| `- warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
23 | renderer.update(objects: objects, projection: projection)
24 | return view
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:23:9: warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | @StateObject
17 | var renderer = Renderer()
| `- note: property declared here
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
20 | let view = MTKView()
21 | renderer.setup(view: view)
22 | renderer.update(camera: camera, projection: projection)
23 | renderer.update(objects: objects, projection: projection)
| `- warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
24 | return view
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:28:9: warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | @StateObject
17 | var renderer = Renderer()
| `- note: property declared here
18 |
19 | func makeUIView(context: Context) -> MTKView {
:
25 | }
26 |
27 | func updateUIView(_ uiView: MTKView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
28 | renderer.update(camera: camera, projection: projection)
| `- warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | renderer.update(objects: objects, projection: projection)
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:29:9: warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | @StateObject
17 | var renderer = Renderer()
| `- note: property declared here
18 |
19 | func makeUIView(context: Context) -> MTKView {
:
25 | }
26 |
27 | func updateUIView(_ uiView: MTKView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
28 | renderer.update(camera: camera, projection: projection)
29 | renderer.update(objects: objects, projection: projection)
| `- warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 | }
31 | }
[29/36] Compiling Creamy3D TextureMaterial.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:19:30: error: cannot find type 'Context' in scope
17 | var renderer = Renderer()
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- error: cannot find type 'Context' in scope
20 | let view = MTKView()
21 | renderer.setup(view: view)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:27:51: error: cannot find type 'Context' in scope
25 | }
26 |
27 | func updateUIView(_ uiView: MTKView, context: Context) {
| `- error: cannot find type 'Context' in scope
28 | renderer.update(camera: camera, projection: projection)
29 | renderer.update(objects: objects, projection: projection)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:11:19: error: cannot find type 'UIViewRepresentable' in scope
9 | import SwiftUI
10 |
11 | struct MetalView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 | let projection: Projection
13 | let camera: Camera
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:20:20: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | var renderer = Renderer()
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
20 | let view = MTKView()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | renderer.setup(view: view)
22 | renderer.update(camera: camera, projection: projection)
MetalKit.MTKView:41:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
39 | open func draw()
40 | public convenience init(frame frameRect: NSRect)
41 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
42 | @available(macOS 10.12, *)
43 | open func display(_ layer: CALayer)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:21:9: warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | @StateObject
17 | var renderer = Renderer()
| `- note: property declared here
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
20 | let view = MTKView()
21 | renderer.setup(view: view)
| `- warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
22 | renderer.update(camera: camera, projection: projection)
23 | renderer.update(objects: objects, projection: projection)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:22:9: warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | @StateObject
17 | var renderer = Renderer()
| `- note: property declared here
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
20 | let view = MTKView()
21 | renderer.setup(view: view)
22 | renderer.update(camera: camera, projection: projection)
| `- warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
23 | renderer.update(objects: objects, projection: projection)
24 | return view
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:23:9: warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | @StateObject
17 | var renderer = Renderer()
| `- note: property declared here
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
20 | let view = MTKView()
21 | renderer.setup(view: view)
22 | renderer.update(camera: camera, projection: projection)
23 | renderer.update(objects: objects, projection: projection)
| `- warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
24 | return view
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:28:9: warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | @StateObject
17 | var renderer = Renderer()
| `- note: property declared here
18 |
19 | func makeUIView(context: Context) -> MTKView {
:
25 | }
26 |
27 | func updateUIView(_ uiView: MTKView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
28 | renderer.update(camera: camera, projection: projection)
| `- warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | renderer.update(objects: objects, projection: projection)
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:29:9: warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | @StateObject
17 | var renderer = Renderer()
| `- note: property declared here
18 |
19 | func makeUIView(context: Context) -> MTKView {
:
25 | }
26 |
27 | func updateUIView(_ uiView: MTKView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
28 | renderer.update(camera: camera, projection: projection)
29 | renderer.update(objects: objects, projection: projection)
| `- warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 | }
31 | }
[30/36] Compiling Creamy3D MetalView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:19:30: error: cannot find type 'Context' in scope
17 | var renderer = Renderer()
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- error: cannot find type 'Context' in scope
20 | let view = MTKView()
21 | renderer.setup(view: view)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:27:51: error: cannot find type 'Context' in scope
25 | }
26 |
27 | func updateUIView(_ uiView: MTKView, context: Context) {
| `- error: cannot find type 'Context' in scope
28 | renderer.update(camera: camera, projection: projection)
29 | renderer.update(objects: objects, projection: projection)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:11:19: error: cannot find type 'UIViewRepresentable' in scope
9 | import SwiftUI
10 |
11 | struct MetalView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
12 | let projection: Projection
13 | let camera: Camera
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:20:20: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
17 | var renderer = Renderer()
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
20 | let view = MTKView()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | renderer.setup(view: view)
22 | renderer.update(camera: camera, projection: projection)
MetalKit.MTKView:41:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
39 | open func draw()
40 | public convenience init(frame frameRect: NSRect)
41 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
42 | @available(macOS 10.12, *)
43 | open func display(_ layer: CALayer)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:21:9: warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | @StateObject
17 | var renderer = Renderer()
| `- note: property declared here
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
20 | let view = MTKView()
21 | renderer.setup(view: view)
| `- warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
22 | renderer.update(camera: camera, projection: projection)
23 | renderer.update(objects: objects, projection: projection)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:22:9: warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | @StateObject
17 | var renderer = Renderer()
| `- note: property declared here
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
20 | let view = MTKView()
21 | renderer.setup(view: view)
22 | renderer.update(camera: camera, projection: projection)
| `- warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
23 | renderer.update(objects: objects, projection: projection)
24 | return view
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:23:9: warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | @StateObject
17 | var renderer = Renderer()
| `- note: property declared here
18 |
19 | func makeUIView(context: Context) -> MTKView {
| `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
20 | let view = MTKView()
21 | renderer.setup(view: view)
22 | renderer.update(camera: camera, projection: projection)
23 | renderer.update(objects: objects, projection: projection)
| `- warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
24 | return view
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:28:9: warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | @StateObject
17 | var renderer = Renderer()
| `- note: property declared here
18 |
19 | func makeUIView(context: Context) -> MTKView {
:
25 | }
26 |
27 | func updateUIView(_ uiView: MTKView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
28 | renderer.update(camera: camera, projection: projection)
| `- warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | renderer.update(objects: objects, projection: projection)
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:29:9: warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | @StateObject
17 | var renderer = Renderer()
| `- note: property declared here
18 |
19 | func makeUIView(context: Context) -> MTKView {
:
25 | }
26 |
27 | func updateUIView(_ uiView: MTKView, context: Context) {
| `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
28 | renderer.update(camera: camera, projection: projection)
29 | renderer.update(objects: objects, projection: projection)
| `- warning: main actor-isolated property 'renderer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 | }
31 | }
[31/36] Compiling Creamy3D Renderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:78:14: error: value of type 'MTKView' has no member 'backgroundColor'
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
77 | view.depthStencilPixelFormat = config.depthPixelFormat
78 | view.backgroundColor = .clear
| `- error: value of type 'MTKView' has no member 'backgroundColor'
79 | view.sampleCount = config.sampleCount
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:78:33: error: cannot infer contextual base in reference to member 'clear'
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
77 | view.depthStencilPixelFormat = config.depthPixelFormat
78 | view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
79 | view.sampleCount = config.sampleCount
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:71:14: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | view.device = device
73 | view.colorPixelFormat = config.colorPixelFormat
MetalKit.MTKView:5:30: note: mutation of this property is only permitted within the actor
3 | public init(frame frameRect: CGRect, device: (any MTLDevice)?)
4 | public init(coder: NSCoder)
5 | @MainActor weak open var delegate: (any MTKViewDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
6 | open var device: (any MTLDevice)? { get set }
7 | open var currentDrawable: (any CAMetalDrawable)? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:72:14: warning: main actor-isolated property 'device' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
| `- warning: main actor-isolated property 'device' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | view.colorPixelFormat = config.colorPixelFormat
74 | view.framebufferOnly = true
MetalKit.MTKView:6:14: note: mutation of this property is only permitted within the actor
4 | public init(coder: NSCoder)
5 | @MainActor weak open var delegate: (any MTKViewDelegate)? { get set }
6 | open var device: (any MTLDevice)? { get set }
| `- note: mutation of this property is only permitted within the actor
7 | open var currentDrawable: (any CAMetalDrawable)? { get }
8 | open var framebufferOnly: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:73:14: warning: main actor-isolated property 'colorPixelFormat' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
73 | view.colorPixelFormat = config.colorPixelFormat
| `- warning: main actor-isolated property 'colorPixelFormat' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
74 | view.framebufferOnly = true
75 | view.clearDepth = 1.0
MetalKit.MTKView:14:14: note: mutation of this property is only permitted within the actor
12 | open var multisampleColorAttachmentTextureUsage: MTLTextureUsage { get set }
13 | open var presentsWithTransaction: Bool { get set }
14 | open var colorPixelFormat: MTLPixelFormat { get set }
| `- note: mutation of this property is only permitted within the actor
15 | open var depthStencilPixelFormat: MTLPixelFormat { get set }
16 | @available(macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:74:14: warning: main actor-isolated property 'framebufferOnly' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
73 | view.colorPixelFormat = config.colorPixelFormat
74 | view.framebufferOnly = true
| `- warning: main actor-isolated property 'framebufferOnly' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
75 | view.clearDepth = 1.0
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
MetalKit.MTKView:8:14: note: mutation of this property is only permitted within the actor
6 | open var device: (any MTLDevice)? { get set }
7 | open var currentDrawable: (any CAMetalDrawable)? { get }
8 | open var framebufferOnly: Bool { get set }
| `- note: mutation of this property is only permitted within the actor
9 | @available(macOS 10.15, *)
10 | open var depthStencilAttachmentTextureUsage: MTLTextureUsage { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:75:14: warning: main actor-isolated property 'clearDepth' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
73 | view.colorPixelFormat = config.colorPixelFormat
74 | view.framebufferOnly = true
75 | view.clearDepth = 1.0
| `- warning: main actor-isolated property 'clearDepth' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
77 | view.depthStencilPixelFormat = config.depthPixelFormat
MetalKit.MTKView:20:14: note: mutation of this property is only permitted within the actor
18 | open var sampleCount: Int { get set }
19 | open var clearColor: MTLClearColor { get set }
20 | open var clearDepth: Double { get set }
| `- note: mutation of this property is only permitted within the actor
21 | open var clearStencil: UInt32 { get set }
22 | open var depthStencilTexture: (any MTLTexture)? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:76:14: warning: main actor-isolated property 'clearColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
:
74 | view.framebufferOnly = true
75 | view.clearDepth = 1.0
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
| `- warning: main actor-isolated property 'clearColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
77 | view.depthStencilPixelFormat = config.depthPixelFormat
78 | view.backgroundColor = .clear
MetalKit.MTKView:19:14: note: mutation of this property is only permitted within the actor
17 | open var depthStencilStorageMode: MTLStorageMode { get set }
18 | open var sampleCount: Int { get set }
19 | open var clearColor: MTLClearColor { get set }
| `- note: mutation of this property is only permitted within the actor
20 | open var clearDepth: Double { get set }
21 | open var clearStencil: UInt32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:77:14: warning: main actor-isolated property 'depthStencilPixelFormat' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
:
75 | view.clearDepth = 1.0
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
77 | view.depthStencilPixelFormat = config.depthPixelFormat
| `- warning: main actor-isolated property 'depthStencilPixelFormat' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
78 | view.backgroundColor = .clear
79 | view.sampleCount = config.sampleCount
MetalKit.MTKView:15:14: note: mutation of this property is only permitted within the actor
13 | open var presentsWithTransaction: Bool { get set }
14 | open var colorPixelFormat: MTLPixelFormat { get set }
15 | open var depthStencilPixelFormat: MTLPixelFormat { get set }
| `- note: mutation of this property is only permitted within the actor
16 | @available(macOS 13.0, *)
17 | open var depthStencilStorageMode: MTLStorageMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:79:14: warning: main actor-isolated property 'sampleCount' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
:
77 | view.depthStencilPixelFormat = config.depthPixelFormat
78 | view.backgroundColor = .clear
79 | view.sampleCount = config.sampleCount
| `- warning: main actor-isolated property 'sampleCount' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 |
MetalKit.MTKView:18:14: note: mutation of this property is only permitted within the actor
16 | @available(macOS 13.0, *)
17 | open var depthStencilStorageMode: MTLStorageMode { get set }
18 | open var sampleCount: Int { get set }
| `- note: mutation of this property is only permitted within the actor
19 | open var clearColor: MTLClearColor { get set }
20 | open var clearDepth: Double { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:157:35: warning: main actor-isolated property 'currentDrawable' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
151 | }
152 |
153 | private func executePasses(view: MTKView, completion: @escaping () -> Void) {
| `- note: add '@MainActor' to make instance method 'executePasses(view:completion:)' part of global actor 'MainActor'
154 | guard let commandBuffer = commandQueue.makeCommandBuffer() else {
155 | return
156 | }
157 | guard let drawable = view.currentDrawable else {
| `- warning: main actor-isolated property 'currentDrawable' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
158 | return
159 | }
MetalKit.MTKView:7:14: note: property declared here
5 | @MainActor weak open var delegate: (any MTKViewDelegate)? { get set }
6 | open var device: (any MTLDevice)? { get set }
7 | open var currentDrawable: (any CAMetalDrawable)? { get }
| `- note: property declared here
8 | open var framebufferOnly: Bool { get set }
9 | @available(macOS 10.15, *)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:160:37: warning: main actor-isolated property 'currentRenderPassDescriptor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
151 | }
152 |
153 | private func executePasses(view: MTKView, completion: @escaping () -> Void) {
| `- note: add '@MainActor' to make instance method 'executePasses(view:completion:)' part of global actor 'MainActor'
154 | guard let commandBuffer = commandQueue.makeCommandBuffer() else {
155 | return
:
158 | return
159 | }
160 | guard let descriptor = view.currentRenderPassDescriptor else {
| `- warning: main actor-isolated property 'currentRenderPassDescriptor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
161 | return
162 | }
MetalKit.MTKView:25:14: note: property declared here
23 | open var multisampleColorTexture: (any MTLTexture)? { get }
24 | open func releaseDrawables()
25 | open var currentRenderPassDescriptor: MTLRenderPassDescriptor? { get }
| `- note: property declared here
26 | open var preferredFramesPerSecond: Int { get set }
27 | open var enableSetNeedsDisplay: Bool { get set }
[32/36] Compiling Creamy3D Camera.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:78:14: error: value of type 'MTKView' has no member 'backgroundColor'
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
77 | view.depthStencilPixelFormat = config.depthPixelFormat
78 | view.backgroundColor = .clear
| `- error: value of type 'MTKView' has no member 'backgroundColor'
79 | view.sampleCount = config.sampleCount
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:78:33: error: cannot infer contextual base in reference to member 'clear'
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
77 | view.depthStencilPixelFormat = config.depthPixelFormat
78 | view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
79 | view.sampleCount = config.sampleCount
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:71:14: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | view.device = device
73 | view.colorPixelFormat = config.colorPixelFormat
MetalKit.MTKView:5:30: note: mutation of this property is only permitted within the actor
3 | public init(frame frameRect: CGRect, device: (any MTLDevice)?)
4 | public init(coder: NSCoder)
5 | @MainActor weak open var delegate: (any MTKViewDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
6 | open var device: (any MTLDevice)? { get set }
7 | open var currentDrawable: (any CAMetalDrawable)? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:72:14: warning: main actor-isolated property 'device' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
| `- warning: main actor-isolated property 'device' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | view.colorPixelFormat = config.colorPixelFormat
74 | view.framebufferOnly = true
MetalKit.MTKView:6:14: note: mutation of this property is only permitted within the actor
4 | public init(coder: NSCoder)
5 | @MainActor weak open var delegate: (any MTKViewDelegate)? { get set }
6 | open var device: (any MTLDevice)? { get set }
| `- note: mutation of this property is only permitted within the actor
7 | open var currentDrawable: (any CAMetalDrawable)? { get }
8 | open var framebufferOnly: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:73:14: warning: main actor-isolated property 'colorPixelFormat' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
73 | view.colorPixelFormat = config.colorPixelFormat
| `- warning: main actor-isolated property 'colorPixelFormat' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
74 | view.framebufferOnly = true
75 | view.clearDepth = 1.0
MetalKit.MTKView:14:14: note: mutation of this property is only permitted within the actor
12 | open var multisampleColorAttachmentTextureUsage: MTLTextureUsage { get set }
13 | open var presentsWithTransaction: Bool { get set }
14 | open var colorPixelFormat: MTLPixelFormat { get set }
| `- note: mutation of this property is only permitted within the actor
15 | open var depthStencilPixelFormat: MTLPixelFormat { get set }
16 | @available(macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:74:14: warning: main actor-isolated property 'framebufferOnly' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
73 | view.colorPixelFormat = config.colorPixelFormat
74 | view.framebufferOnly = true
| `- warning: main actor-isolated property 'framebufferOnly' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
75 | view.clearDepth = 1.0
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
MetalKit.MTKView:8:14: note: mutation of this property is only permitted within the actor
6 | open var device: (any MTLDevice)? { get set }
7 | open var currentDrawable: (any CAMetalDrawable)? { get }
8 | open var framebufferOnly: Bool { get set }
| `- note: mutation of this property is only permitted within the actor
9 | @available(macOS 10.15, *)
10 | open var depthStencilAttachmentTextureUsage: MTLTextureUsage { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:75:14: warning: main actor-isolated property 'clearDepth' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
73 | view.colorPixelFormat = config.colorPixelFormat
74 | view.framebufferOnly = true
75 | view.clearDepth = 1.0
| `- warning: main actor-isolated property 'clearDepth' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
77 | view.depthStencilPixelFormat = config.depthPixelFormat
MetalKit.MTKView:20:14: note: mutation of this property is only permitted within the actor
18 | open var sampleCount: Int { get set }
19 | open var clearColor: MTLClearColor { get set }
20 | open var clearDepth: Double { get set }
| `- note: mutation of this property is only permitted within the actor
21 | open var clearStencil: UInt32 { get set }
22 | open var depthStencilTexture: (any MTLTexture)? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:76:14: warning: main actor-isolated property 'clearColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
:
74 | view.framebufferOnly = true
75 | view.clearDepth = 1.0
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
| `- warning: main actor-isolated property 'clearColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
77 | view.depthStencilPixelFormat = config.depthPixelFormat
78 | view.backgroundColor = .clear
MetalKit.MTKView:19:14: note: mutation of this property is only permitted within the actor
17 | open var depthStencilStorageMode: MTLStorageMode { get set }
18 | open var sampleCount: Int { get set }
19 | open var clearColor: MTLClearColor { get set }
| `- note: mutation of this property is only permitted within the actor
20 | open var clearDepth: Double { get set }
21 | open var clearStencil: UInt32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:77:14: warning: main actor-isolated property 'depthStencilPixelFormat' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
:
75 | view.clearDepth = 1.0
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
77 | view.depthStencilPixelFormat = config.depthPixelFormat
| `- warning: main actor-isolated property 'depthStencilPixelFormat' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
78 | view.backgroundColor = .clear
79 | view.sampleCount = config.sampleCount
MetalKit.MTKView:15:14: note: mutation of this property is only permitted within the actor
13 | open var presentsWithTransaction: Bool { get set }
14 | open var colorPixelFormat: MTLPixelFormat { get set }
15 | open var depthStencilPixelFormat: MTLPixelFormat { get set }
| `- note: mutation of this property is only permitted within the actor
16 | @available(macOS 13.0, *)
17 | open var depthStencilStorageMode: MTLStorageMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:79:14: warning: main actor-isolated property 'sampleCount' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
:
77 | view.depthStencilPixelFormat = config.depthPixelFormat
78 | view.backgroundColor = .clear
79 | view.sampleCount = config.sampleCount
| `- warning: main actor-isolated property 'sampleCount' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 |
MetalKit.MTKView:18:14: note: mutation of this property is only permitted within the actor
16 | @available(macOS 13.0, *)
17 | open var depthStencilStorageMode: MTLStorageMode { get set }
18 | open var sampleCount: Int { get set }
| `- note: mutation of this property is only permitted within the actor
19 | open var clearColor: MTLClearColor { get set }
20 | open var clearDepth: Double { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:157:35: warning: main actor-isolated property 'currentDrawable' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
151 | }
152 |
153 | private func executePasses(view: MTKView, completion: @escaping () -> Void) {
| `- note: add '@MainActor' to make instance method 'executePasses(view:completion:)' part of global actor 'MainActor'
154 | guard let commandBuffer = commandQueue.makeCommandBuffer() else {
155 | return
156 | }
157 | guard let drawable = view.currentDrawable else {
| `- warning: main actor-isolated property 'currentDrawable' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
158 | return
159 | }
MetalKit.MTKView:7:14: note: property declared here
5 | @MainActor weak open var delegate: (any MTKViewDelegate)? { get set }
6 | open var device: (any MTLDevice)? { get set }
7 | open var currentDrawable: (any CAMetalDrawable)? { get }
| `- note: property declared here
8 | open var framebufferOnly: Bool { get set }
9 | @available(macOS 10.15, *)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:160:37: warning: main actor-isolated property 'currentRenderPassDescriptor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
151 | }
152 |
153 | private func executePasses(view: MTKView, completion: @escaping () -> Void) {
| `- note: add '@MainActor' to make instance method 'executePasses(view:completion:)' part of global actor 'MainActor'
154 | guard let commandBuffer = commandQueue.makeCommandBuffer() else {
155 | return
:
158 | return
159 | }
160 | guard let descriptor = view.currentRenderPassDescriptor else {
| `- warning: main actor-isolated property 'currentRenderPassDescriptor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
161 | return
162 | }
MetalKit.MTKView:25:14: note: property declared here
23 | open var multisampleColorTexture: (any MTLTexture)? { get }
24 | open func releaseDrawables()
25 | open var currentRenderPassDescriptor: MTLRenderPassDescriptor? { get }
| `- note: property declared here
26 | open var preferredFramesPerSecond: Int { get set }
27 | open var enableSetNeedsDisplay: Bool { get set }
[33/36] Compiling Creamy3D ColorMaterialFunction.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:78:14: error: value of type 'MTKView' has no member 'backgroundColor'
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
77 | view.depthStencilPixelFormat = config.depthPixelFormat
78 | view.backgroundColor = .clear
| `- error: value of type 'MTKView' has no member 'backgroundColor'
79 | view.sampleCount = config.sampleCount
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:78:33: error: cannot infer contextual base in reference to member 'clear'
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
77 | view.depthStencilPixelFormat = config.depthPixelFormat
78 | view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
79 | view.sampleCount = config.sampleCount
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:71:14: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | view.device = device
73 | view.colorPixelFormat = config.colorPixelFormat
MetalKit.MTKView:5:30: note: mutation of this property is only permitted within the actor
3 | public init(frame frameRect: CGRect, device: (any MTLDevice)?)
4 | public init(coder: NSCoder)
5 | @MainActor weak open var delegate: (any MTKViewDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
6 | open var device: (any MTLDevice)? { get set }
7 | open var currentDrawable: (any CAMetalDrawable)? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:72:14: warning: main actor-isolated property 'device' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
| `- warning: main actor-isolated property 'device' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | view.colorPixelFormat = config.colorPixelFormat
74 | view.framebufferOnly = true
MetalKit.MTKView:6:14: note: mutation of this property is only permitted within the actor
4 | public init(coder: NSCoder)
5 | @MainActor weak open var delegate: (any MTKViewDelegate)? { get set }
6 | open var device: (any MTLDevice)? { get set }
| `- note: mutation of this property is only permitted within the actor
7 | open var currentDrawable: (any CAMetalDrawable)? { get }
8 | open var framebufferOnly: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:73:14: warning: main actor-isolated property 'colorPixelFormat' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
73 | view.colorPixelFormat = config.colorPixelFormat
| `- warning: main actor-isolated property 'colorPixelFormat' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
74 | view.framebufferOnly = true
75 | view.clearDepth = 1.0
MetalKit.MTKView:14:14: note: mutation of this property is only permitted within the actor
12 | open var multisampleColorAttachmentTextureUsage: MTLTextureUsage { get set }
13 | open var presentsWithTransaction: Bool { get set }
14 | open var colorPixelFormat: MTLPixelFormat { get set }
| `- note: mutation of this property is only permitted within the actor
15 | open var depthStencilPixelFormat: MTLPixelFormat { get set }
16 | @available(macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:74:14: warning: main actor-isolated property 'framebufferOnly' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
73 | view.colorPixelFormat = config.colorPixelFormat
74 | view.framebufferOnly = true
| `- warning: main actor-isolated property 'framebufferOnly' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
75 | view.clearDepth = 1.0
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
MetalKit.MTKView:8:14: note: mutation of this property is only permitted within the actor
6 | open var device: (any MTLDevice)? { get set }
7 | open var currentDrawable: (any CAMetalDrawable)? { get }
8 | open var framebufferOnly: Bool { get set }
| `- note: mutation of this property is only permitted within the actor
9 | @available(macOS 10.15, *)
10 | open var depthStencilAttachmentTextureUsage: MTLTextureUsage { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:75:14: warning: main actor-isolated property 'clearDepth' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
73 | view.colorPixelFormat = config.colorPixelFormat
74 | view.framebufferOnly = true
75 | view.clearDepth = 1.0
| `- warning: main actor-isolated property 'clearDepth' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
77 | view.depthStencilPixelFormat = config.depthPixelFormat
MetalKit.MTKView:20:14: note: mutation of this property is only permitted within the actor
18 | open var sampleCount: Int { get set }
19 | open var clearColor: MTLClearColor { get set }
20 | open var clearDepth: Double { get set }
| `- note: mutation of this property is only permitted within the actor
21 | open var clearStencil: UInt32 { get set }
22 | open var depthStencilTexture: (any MTLTexture)? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:76:14: warning: main actor-isolated property 'clearColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
:
74 | view.framebufferOnly = true
75 | view.clearDepth = 1.0
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
| `- warning: main actor-isolated property 'clearColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
77 | view.depthStencilPixelFormat = config.depthPixelFormat
78 | view.backgroundColor = .clear
MetalKit.MTKView:19:14: note: mutation of this property is only permitted within the actor
17 | open var depthStencilStorageMode: MTLStorageMode { get set }
18 | open var sampleCount: Int { get set }
19 | open var clearColor: MTLClearColor { get set }
| `- note: mutation of this property is only permitted within the actor
20 | open var clearDepth: Double { get set }
21 | open var clearStencil: UInt32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:77:14: warning: main actor-isolated property 'depthStencilPixelFormat' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
:
75 | view.clearDepth = 1.0
76 | view.clearColor = .init(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.0)
77 | view.depthStencilPixelFormat = config.depthPixelFormat
| `- warning: main actor-isolated property 'depthStencilPixelFormat' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
78 | view.backgroundColor = .clear
79 | view.sampleCount = config.sampleCount
MetalKit.MTKView:15:14: note: mutation of this property is only permitted within the actor
13 | open var presentsWithTransaction: Bool { get set }
14 | open var colorPixelFormat: MTLPixelFormat { get set }
15 | open var depthStencilPixelFormat: MTLPixelFormat { get set }
| `- note: mutation of this property is only permitted within the actor
16 | @available(macOS 13.0, *)
17 | open var depthStencilStorageMode: MTLStorageMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:79:14: warning: main actor-isolated property 'sampleCount' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 |
70 | func setup(view: MTKView) {
| `- note: add '@MainActor' to make instance method 'setup(view:)' part of global actor 'MainActor'
71 | view.delegate = self
72 | view.device = device
:
77 | view.depthStencilPixelFormat = config.depthPixelFormat
78 | view.backgroundColor = .clear
79 | view.sampleCount = config.sampleCount
| `- warning: main actor-isolated property 'sampleCount' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 |
MetalKit.MTKView:18:14: note: mutation of this property is only permitted within the actor
16 | @available(macOS 13.0, *)
17 | open var depthStencilStorageMode: MTLStorageMode { get set }
18 | open var sampleCount: Int { get set }
| `- note: mutation of this property is only permitted within the actor
19 | open var clearColor: MTLClearColor { get set }
20 | open var clearDepth: Double { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:157:35: warning: main actor-isolated property 'currentDrawable' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
151 | }
152 |
153 | private func executePasses(view: MTKView, completion: @escaping () -> Void) {
| `- note: add '@MainActor' to make instance method 'executePasses(view:completion:)' part of global actor 'MainActor'
154 | guard let commandBuffer = commandQueue.makeCommandBuffer() else {
155 | return
156 | }
157 | guard let drawable = view.currentDrawable else {
| `- warning: main actor-isolated property 'currentDrawable' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
158 | return
159 | }
MetalKit.MTKView:7:14: note: property declared here
5 | @MainActor weak open var delegate: (any MTKViewDelegate)? { get set }
6 | open var device: (any MTLDevice)? { get set }
7 | open var currentDrawable: (any CAMetalDrawable)? { get }
| `- note: property declared here
8 | open var framebufferOnly: Bool { get set }
9 | @available(macOS 10.15, *)
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:160:37: warning: main actor-isolated property 'currentRenderPassDescriptor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
151 | }
152 |
153 | private func executePasses(view: MTKView, completion: @escaping () -> Void) {
| `- note: add '@MainActor' to make instance method 'executePasses(view:completion:)' part of global actor 'MainActor'
154 | guard let commandBuffer = commandQueue.makeCommandBuffer() else {
155 | return
:
158 | return
159 | }
160 | guard let descriptor = view.currentRenderPassDescriptor else {
| `- warning: main actor-isolated property 'currentRenderPassDescriptor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
161 | return
162 | }
MetalKit.MTKView:25:14: note: property declared here
23 | open var multisampleColorTexture: (any MTLTexture)? { get }
24 | open func releaseDrawables()
25 | open var currentRenderPassDescriptor: MTLRenderPassDescriptor? { get }
| `- note: property declared here
26 | open var preferredFramesPerSecond: Int { get set }
27 | open var enableSetNeedsDisplay: Bool { get set }
[34/36] Compiling Creamy3D EmptyObject.swift
[35/36] Compiling Creamy3D Mesh.swift
[36/36] Compiling Creamy3D Object.swift
BUILD FAILURE 6.0 macosSpm