The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Creamy3D, reference 0.2.7 (4ca1d9), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 09:29:35 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/alex566/Creamy3D.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Copying common.metal
[0/8] Write sources
[2/8] Copying material_common.h
[3/8] Copying texture_material.metal
[3/8] Copying color_material.metal
[3/8] Copying fresnel_material.metal
[3/8] Copying matcap_material.metal
[7/8] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/34] 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
[10/36] Compiling Creamy3D FresnelMaterial.swift
[11/36] Compiling Creamy3D MatcapMaterial.swift
[12/36] Compiling Creamy3D Material+Blend.swift
[13/36] Compiling Creamy3D Projection.swift
[14/36] Compiling Creamy3D resource_bundle_accessor.swift
[15/36] Compiling Creamy3D TextureMaterialFunction.swift
[16/36] Compiling Creamy3D MaterialState.swift
[17/36] Compiling Creamy3D CubeMeshLoader.swift
[18/36] Compiling Creamy3D ColorRGB.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/CreamyView.swift:20:13: error: static method 'buildExpression' requires that 'MetalView' conform to 'View'
18 |     public var body: some View {
19 |         GeometryReader { proxy in
20 |             MetalView(
   |             `- error: static method 'buildExpression' requires that 'MetalView' conform to 'View'
21 |                 projection: .init(width: proxy.size.width,
22 |                                   height: proxy.size.height,
SwiftUI.ViewBuilder.buildExpression:2:20: note: where 'Content' = 'MetalView'
1 | struct ViewBuilder {
2 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View}
  |                    `- note: where 'Content' = 'MetalView'
3 |
[19/36] Compiling Creamy3D CreamyView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/CreamyView.swift:20:13: error: static method 'buildExpression' requires that 'MetalView' conform to 'View'
18 |     public var body: some View {
19 |         GeometryReader { proxy in
20 |             MetalView(
   |             `- error: static method 'buildExpression' requires that 'MetalView' conform to 'View'
21 |                 projection: .init(width: proxy.size.width,
22 |                                   height: proxy.size.height,
SwiftUI.ViewBuilder.buildExpression:2:20: note: where 'Content' = 'MetalView'
1 | struct ViewBuilder {
2 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View}
  |                    `- note: where 'Content' = 'MetalView'
3 |
[20/36] Compiling Creamy3D ColorMaterial.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creamy3D/CreamyView.swift:20:13: error: static method 'buildExpression' requires that 'MetalView' conform to 'View'
18 |     public var body: some View {
19 |         GeometryReader { proxy in
20 |             MetalView(
   |             `- error: static method 'buildExpression' requires that 'MetalView' conform to 'View'
21 |                 projection: .init(width: proxy.size.width,
22 |                                   height: proxy.size.height,
SwiftUI.ViewBuilder.buildExpression:2:20: note: where 'Content' = 'MetalView'
1 | struct ViewBuilder {
2 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View}
  |                    `- note: where 'Content' = 'MetalView'
3 |
[21/36] Compiling Creamy3D SphereMeshLoader.swift
[22/36] Compiling Creamy3D MeshNode.swift
[23/36] Compiling Creamy3D MeshLoader.swift
[24/36] Compiling Creamy3D ModelMeshLoader.swift
[25/36] Compiling Creamy3D FresnelMaterialFunction.swift
[26/36] Compiling Creamy3D MatcapMaterialFunction.swift
[27/36] Compiling Creamy3D MaterialFunction.swift
[28/36] Compiling Creamy3D EmptyObject.swift
[29/36] Compiling Creamy3D Mesh.swift
[30/36] Compiling Creamy3D Object.swift
[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 |     }
[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 |     }
[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 |     }
[34/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
[35/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
[36/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
BUILD FAILURE 6.2 macosSpm