The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Creamy3D with Swift 5.10 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alex566/Creamy3D.git
Reference: 0.2.7
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "creamy3d",
      "name": "Creamy3D",
      "url": "https://github.com/alex566/Creamy3D.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Creamy3D",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/alex566/Creamy3D.git
[1/315] Fetching creamy3d
Fetched https://github.com/alex566/Creamy3D.git from cache (0.22s)
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:             5.10
Building package at path:  $workDir
https://github.com/alex566/Creamy3D.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Copying texture_material.metal
[0/8] Copying color_material.metal
[2/8] Copying matcap_material.metal
[2/8] Write sources
[2/8] Copying fresnel_material.metal
[3/8] Copying common.metal
[6/8] Copying material_common.h
[7/8] Write swift-version-6044DDE57671499D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/33] Emitting module Creamy3D
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:19:30: error: cannot find type 'Context' in scope
    func makeUIView(context: Context) -> MTKView {
                             ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:27:51: error: cannot find type 'Context' in scope
    func updateUIView(_ uiView: MTKView, context: Context) {
                                                  ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:11:19: error: cannot find type 'UIViewRepresentable' in scope
struct MetalView: UIViewRepresentable {
                  ^~~~~~~~~~~~~~~~~~~
[10/36] Compiling Creamy3D MatcapMaterial.swift
[11/36] Compiling Creamy3D Material+Blend.swift
[12/36] Compiling Creamy3D Material.swift
[13/36] Compiling Creamy3D TextureMaterial.swift
[14/36] Compiling Creamy3D MeshLoader.swift
[15/36] Compiling Creamy3D ModelMeshLoader.swift
[16/36] Compiling Creamy3D SphereMeshLoader.swift
[17/36] Compiling Creamy3D MeshNode.swift
[18/36] Compiling Creamy3D Projection.swift
[19/36] Compiling Creamy3D resource_bundle_accessor.swift
[20/36] Compiling Creamy3D TextureMaterialFunction.swift
[21/36] Compiling Creamy3D MaterialState.swift
[22/36] Compiling Creamy3D CubeMeshLoader.swift
[23/36] Compiling Creamy3D FresnelMaterialFunction.swift
[24/36] Compiling Creamy3D MatcapMaterialFunction.swift
[25/36] Compiling Creamy3D MaterialFunction.swift
[26/36] Compiling Creamy3D ColorRGB.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/CreamyView.swift:20:13: error: static method 'buildExpression' requires that 'MetalView' conform to 'View'
            MetalView(
            ^
SwiftUI.ViewBuilder:3:24: note: where 'Content' = 'MetalView'
    public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
                       ^
[27/36] Compiling Creamy3D CreamyView.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/CreamyView.swift:20:13: error: static method 'buildExpression' requires that 'MetalView' conform to 'View'
            MetalView(
            ^
SwiftUI.ViewBuilder:3:24: note: where 'Content' = 'MetalView'
    public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
                       ^
[28/36] Compiling Creamy3D ColorMaterial.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/CreamyView.swift:20:13: error: static method 'buildExpression' requires that 'MetalView' conform to 'View'
            MetalView(
            ^
SwiftUI.ViewBuilder:3:24: note: where 'Content' = 'MetalView'
    public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
                       ^
[29/36] Compiling Creamy3D FresnelMaterial.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/CreamyView.swift:20:13: error: static method 'buildExpression' requires that 'MetalView' conform to 'View'
            MetalView(
            ^
SwiftUI.ViewBuilder:3:24: note: where 'Content' = 'MetalView'
    public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
                       ^
[30/36] Compiling Creamy3D MetalView.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:19:30: error: cannot find type 'Context' in scope
    func makeUIView(context: Context) -> MTKView {
                             ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:27:51: error: cannot find type 'Context' in scope
    func updateUIView(_ uiView: MTKView, context: Context) {
                                                  ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:11:19: error: cannot find type 'UIViewRepresentable' in scope
struct MetalView: UIViewRepresentable {
                  ^~~~~~~~~~~~~~~~~~~
[31/36] Compiling Creamy3D EmptyObject.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:19:30: error: cannot find type 'Context' in scope
    func makeUIView(context: Context) -> MTKView {
                             ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:27:51: error: cannot find type 'Context' in scope
    func updateUIView(_ uiView: MTKView, context: Context) {
                                                  ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:11:19: error: cannot find type 'UIViewRepresentable' in scope
struct MetalView: UIViewRepresentable {
                  ^~~~~~~~~~~~~~~~~~~
[32/36] Compiling Creamy3D Mesh.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:19:30: error: cannot find type 'Context' in scope
    func makeUIView(context: Context) -> MTKView {
                             ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:27:51: error: cannot find type 'Context' in scope
    func updateUIView(_ uiView: MTKView, context: Context) {
                                                  ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:11:19: error: cannot find type 'UIViewRepresentable' in scope
struct MetalView: UIViewRepresentable {
                  ^~~~~~~~~~~~~~~~~~~
[33/36] Compiling Creamy3D Object.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:19:30: error: cannot find type 'Context' in scope
    func makeUIView(context: Context) -> MTKView {
                             ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:27:51: error: cannot find type 'Context' in scope
    func updateUIView(_ uiView: MTKView, context: Context) {
                                                  ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:11:19: error: cannot find type 'UIViewRepresentable' in scope
struct MetalView: UIViewRepresentable {
                  ^~~~~~~~~~~~~~~~~~~
[34/36] Compiling Creamy3D Renderer.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:78:14: error: value of type 'MTKView' has no member 'backgroundColor'
        view.backgroundColor = .clear
        ~~~~ ^~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:78:33: error: cannot infer contextual base in reference to member 'clear'
        view.backgroundColor = .clear
                               ~^~~~~
[35/36] Compiling Creamy3D Camera.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:78:14: error: value of type 'MTKView' has no member 'backgroundColor'
        view.backgroundColor = .clear
        ~~~~ ^~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:78:33: error: cannot infer contextual base in reference to member 'clear'
        view.backgroundColor = .clear
                               ~^~~~~
[36/36] Compiling Creamy3D ColorMaterialFunction.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:78:14: error: value of type 'MTKView' has no member 'backgroundColor'
        view.backgroundColor = .clear
        ~~~~ ^~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:78:33: error: cannot infer contextual base in reference to member 'clear'
        view.backgroundColor = .clear
                               ~^~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-6044DDE57671499D.txt
[2/12] Compiling Creamy3D ColorMaterial.swift
[3/12] Compiling Creamy3D FresnelMaterial.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/13] Compiling Creamy3D Object.swift
[5/13] Emitting module Creamy3D
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:19:30: error: cannot find type 'Context' in scope
    func makeUIView(context: Context) -> MTKView {
                             ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:27:51: error: cannot find type 'Context' in scope
    func updateUIView(_ uiView: MTKView, context: Context) {
                                                  ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:11:19: error: cannot find type 'UIViewRepresentable' in scope
struct MetalView: UIViewRepresentable {
                  ^~~~~~~~~~~~~~~~~~~
[6/13] Compiling Creamy3D Mesh.swift
[7/15] Compiling Creamy3D Camera.swift
[8/15] Compiling Creamy3D MetalView.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:19:30: error: cannot find type 'Context' in scope
    func makeUIView(context: Context) -> MTKView {
                             ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:27:51: error: cannot find type 'Context' in scope
    func updateUIView(_ uiView: MTKView, context: Context) {
                                                  ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:11:19: error: cannot find type 'UIViewRepresentable' in scope
struct MetalView: UIViewRepresentable {
                  ^~~~~~~~~~~~~~~~~~~
[9/15] Compiling Creamy3D EmptyObject.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:19:30: error: cannot find type 'Context' in scope
    func makeUIView(context: Context) -> MTKView {
                             ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:27:51: error: cannot find type 'Context' in scope
    func updateUIView(_ uiView: MTKView, context: Context) {
                                                  ^~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/MetalView.swift:11:19: error: cannot find type 'UIViewRepresentable' in scope
struct MetalView: UIViewRepresentable {
                  ^~~~~~~~~~~~~~~~~~~
[10/15] Compiling Creamy3D Renderer.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:78:14: error: value of type 'MTKView' has no member 'backgroundColor'
        view.backgroundColor = .clear
        ~~~~ ^~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/Renderer.swift:78:33: error: cannot infer contextual base in reference to member 'clear'
        view.backgroundColor = .clear
                               ~^~~~~
[11/15] Compiling Creamy3D ColorRGB.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/CreamyView.swift:20:13: error: static method 'buildExpression' requires that 'MetalView' conform to 'View'
            MetalView(
            ^
SwiftUI.ViewBuilder:3:24: note: where 'Content' = 'MetalView'
    public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
                       ^
[12/15] Compiling Creamy3D CreamyView.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Creamy3D/CreamyView.swift:20:13: error: static method 'buildExpression' requires that 'MetalView' conform to 'View'
            MetalView(
            ^
SwiftUI.ViewBuilder:3:24: note: where 'Content' = 'MetalView'
    public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
                       ^
[13/15] Compiling Creamy3D ColorMaterialFunction.swift
[14/15] Compiling Creamy3D Material.swift
[15/15] Compiling Creamy3D MeshNode.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm