The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Satin, reference main (a91c46), with Swift 6.1 for Wasm on 28 May 2025 19:07:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Hi-Rez/Satin.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Hi-Rez/Satin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a91c469 updated README.md credits typo
Cloned https://github.com/Hi-Rez/Satin.git
Revision (git rev-parse @):
a91c469f517cef1946d5ed4dd9771df4843a30ef
SUCCESS checkout https://github.com/Hi-Rez/Satin.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Hi-Rez/Satin.git
https://github.com/Hi-Rez/Satin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++17",
  "dependencies" : [
  ],
  "manifest_display_name" : "Satin",
  "name" : "Satin",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "Satin",
      "targets" : [
        "Satin",
        "SatinCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SatinTests",
      "module_type" : "SwiftTarget",
      "name" : "SatinTests",
      "path" : "Tests/SatinTests",
      "sources" : [
        "MutexTests.swift",
        "ObjectTests.swift",
        "RenderableTests.swift"
      ],
      "target_dependencies" : [
        "Satin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SatinCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SatinCoreTests",
      "path" : "Tests/SatinCoreTests",
      "sources" : [
        "BezierTests.swift",
        "BoundsTests.swift",
        "MD5.swift",
        "TriangulatorTests.swift"
      ],
      "target_dependencies" : [
        "SatinCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SatinCore",
      "module_type" : "ClangTarget",
      "name" : "SatinCore",
      "path" : "Sources/SatinCore",
      "product_memberships" : [
        "Satin"
      ],
      "sources" : [
        "Bezier.mm",
        "Bounds.mm",
        "Bvh.mm",
        "Conversions.mm",
        "Generators.mm",
        "Geometry.mm",
        "Hermite.mm",
        "PoissonDiskSampler.mm",
        "Rectangle.mm",
        "SignedDistanceFunctions.mm",
        "Transforms.mm",
        "Triangulator.mm",
        "Types.mm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Satin",
      "module_type" : "SwiftTarget",
      "name" : "Satin",
      "path" : "Sources/Satin",
      "product_memberships" : [
        "Satin"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Satin/Pipelines",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AR/ARBackgroundDepthRenderer.swift",
        "AR/ARBackgroundRenderer.swift",
        "AR/ARCompositor.swift",
        "AR/ARDepthMaskGenerator.swift",
        "AR/ARDepthUpscaler.swift",
        "AR/ARFeatheredDepthMaskGenerator.swift",
        "AR/ARLidarMesh.swift",
        "AR/ARMatteRenderer.swift",
        "AR/ARPerspectiveCamera.swift",
        "AR/ARPlaneMesh.swift",
        "AR/ARPostProcessor.swift",
        "AR/ARSessionPublisher.swift",
        "Animation/Easing.swift",
        "Animation/Easings.swift",
        "Animation/Tween.swift",
        "Animation/Tweener.swift",
        "Buffers/InstanceMatrixUniformBuffer.swift",
        "Buffers/StructBuffer.swift",
        "Buffers/UniformBuffer.swift",
        "Buffers/VertexUniformBuffer.swift",
        "CameraControllers/CameraController.swift",
        "CameraControllers/OrbitPerspectiveCameraController.swift",
        "CameraControllers/OrthographicCameraController.swift",
        "CameraControllers/PerspectiveCameraController.swift",
        "Cameras/OrthographicCamera.swift",
        "Cameras/PerspectiveCamera.swift",
        "Codable/AnyMaterial.swift",
        "Compute/BufferComputeSystem.swift",
        "Compute/ComputeProcessor.swift",
        "Compute/ComputeSystem.swift",
        "Compute/TessellationProcessor.swift",
        "Compute/TextureComputeProcessor.swift",
        "Compute/TextureComputeSystem.swift",
        "Compute/Utilities/ComputeConfiguration.swift",
        "Compute/Utilities/ComputeShader.swift",
        "Compute/Utilities/ComputeShaderConfiguration.swift",
        "Compute/Utilities/ComputeShaderLibraryCache.swift",
        "Compute/Utilities/ComputeShaderLibraryConfiguration.swift",
        "Compute/Utilities/ComputeShaderLibrarySourceCache.swift",
        "Compute/Utilities/ComputeShaderPipelineCache.swift",
        "Constants/Blending.swift",
        "Constants/Constants.swift",
        "Constants/Lighting.swift",
        "Constants/Pipelines/ComputeConstants.swift",
        "Constants/Pipelines/FragmentConstants.swift",
        "Constants/Pipelines/MeshConstants.swift",
        "Constants/Pipelines/ObjectConstants.swift",
        "Constants/Pipelines/PBRConstants.swift",
        "Constants/Pipelines/VertexConstants.swift",
        "Constants/Tonemapping.swift",
        "Converters/YCbCrToRGBConverter.swift",
        "Core/Camera.swift",
        "Core/Context.swift",
        "Core/Geometry.swift",
        "Core/Material.swift",
        "Core/Mesh.swift",
        "Core/Object.swift",
        "Core/Renderer.swift",
        "Core/Shader.swift",
        "Extensions/BVH+Extensions.swift",
        "Extensions/Bounds+Extensions.swift",
        "Extensions/Bundle+Extensions.swift",
        "Extensions/CGPoint+Extensions.swift",
        "Extensions/CGSize+Extensions.swift",
        "Extensions/CodingUserInfoKey+Extensions.swift",
        "Extensions/Float+Extensions.swift",
        "Extensions/MTLClearColor+Extensions.swift",
        "Extensions/MTLSamplerDescriptor+Extensions.swift",
        "Extensions/MTLTexture+Extensions.swift",
        "Extensions/MTLVertexFormat+Extension.swift",
        "Extensions/MTLVertexStepFunction+Extensions.swift",
        "Extensions/MTLViewport+Extensions.swift",
        "Extensions/Metal+Extensions.swift",
        "Extensions/NSAppearanceCustomization+Extensions.swift",
        "Extensions/Ray+Extensions.swift",
        "Extensions/Rectangle+Extensions.swift",
        "Extensions/Simd+Extensions.swift",
        "Extensions/String+Extensions.swift",
        "Extensions/UIWindow+Extensions.swift",
        "Extensions/Vertex+Extensions.swift",
        "Generators/BrdfGenerator.swift",
        "Generators/CubemapGenerator.swift",
        "Generators/DiffuseIBLGenerator.swift",
        "Generators/RandomNoiseGenerator.swift",
        "Generators/SpecularIBLGenerator.swift",
        "Geometry/ArcGeometry.swift",
        "Geometry/BoxGeometry.swift",
        "Geometry/CapsuleGeometry.swift",
        "Geometry/CircleGeometry.swift",
        "Geometry/ConeGeometry.swift",
        "Geometry/CylinderGeometry.swift",
        "Geometry/ExtrudedRoundedRectGeometry.swift",
        "Geometry/ExtrudedTextGeometry.swift",
        "Geometry/IcoSphereGeometry.swift",
        "Geometry/LineGeometry.swift",
        "Geometry/OctaSphereGeometry.swift",
        "Geometry/ParametricGeometry.swift",
        "Geometry/PlaneGeometry.swift",
        "Geometry/PointGeometry.swift",
        "Geometry/QuadGeometry.swift",
        "Geometry/RoundedBoxGeometry.swift",
        "Geometry/RoundedRectGeometry.swift",
        "Geometry/SatinGeometry.swift",
        "Geometry/SkyboxGeometry.swift",
        "Geometry/SphereGeometry.swift",
        "Geometry/SquircleGeometry.swift",
        "Geometry/TesselatedTextGeometry.swift",
        "Geometry/TessellationGeometry.swift",
        "Geometry/TextGeometry.swift",
        "Geometry/TorusGeometry.swift",
        "Geometry/TriangleGeometry.swift",
        "Geometry/TubeGeometry.swift",
        "Geometry/UVDiskGeometry.swift",
        "Geometry/Utilities/AnyBufferAttribute.swift",
        "Geometry/Utilities/Attribute.swift",
        "Geometry/Utilities/BufferAttribute.swift",
        "Geometry/Utilities/ElementBuffer.swift",
        "Geometry/Utilities/InterleavedBuffer.swift",
        "Geometry/Utilities/InterleavedBufferAttribute.swift",
        "Geometry/Utilities/VertexAttribute.swift",
        "Lights/DirectionalLight.swift",
        "Lights/PointLight.swift",
        "Lights/SpotLight.swift",
        "Materials/ARBackgroundDepthMaterial.swift",
        "Materials/ARBackgroundMaterial.swift",
        "Materials/ARCompositorMaterial.swift",
        "Materials/ARMatteMaterial.swift",
        "Materials/ARPostMaterial.swift",
        "Materials/BasicColorMaterial.swift",
        "Materials/BasicDiffuseMaterial.swift",
        "Materials/BasicPointMaterial.swift",
        "Materials/BasicTextureMaterial.swift",
        "Materials/DepthMaterial.swift",
        "Materials/MatCapMaterial.swift",
        "Materials/NormalColorMaterial.swift",
        "Materials/PhysicalMaterial.swift",
        "Materials/ShadowMaterial.swift",
        "Materials/SkyboxMaterial.swift",
        "Materials/SourceMaterial.swift",
        "Materials/StandardMaterial.swift",
        "Materials/TextMaterial.swift",
        "Materials/UVColorMaterial.swift",
        "Objects/IBLScene.swift",
        "Objects/InstancedMesh.swift",
        "Objects/Submesh.swift",
        "Objects/TessellationMesh.swift",
        "Parameters/AnyParameter.swift",
        "Parameters/BoolParameter.swift",
        "Parameters/DoubleParameter.swift",
        "Parameters/Float2Parameter.swift",
        "Parameters/Float2x2Parameter.swift",
        "Parameters/Float3Parameter.swift",
        "Parameters/Float3x3Parameter.swift",
        "Parameters/Float4Parameter.swift",
        "Parameters/Float4x4Parameter.swift",
        "Parameters/FloatParameter.swift",
        "Parameters/GenericParameter.swift",
        "Parameters/Int2Parameter.swift",
        "Parameters/Int3Parameter.swift",
        "Parameters/Int4Parameter.swift",
        "Parameters/IntParameter.swift",
        "Parameters/PackedFloat3Parameter.swift",
        "Parameters/Parameter.swift",
        "Parameters/ParameterGroup.swift",
        "Parameters/StringParameter.swift",
        "Parameters/UInt32Parameter.swift",
        "Protocols/IBLEnvironment.swift",
        "Protocols/Light.swift",
        "Protocols/Renderable.swift",
        "Protocols/Shadow.swift",
        "Raycast/Raycast.swift",
        "Raycast/RaycastOptions.swift",
        "Raycast/RaycastResult.swift",
        "Renderer/RenderEncoderState.swift",
        "Renderer/RenderList.swift",
        "Satin.swift",
        "Shaders/PBRShader.swift",
        "Shaders/PhysicalShader.swift",
        "Shaders/SkyboxShader.swift",
        "Shaders/SourceShader.swift",
        "Shaders/StandardShader.swift",
        "Shaders/Utilities/RenderingConfiguration.swift",
        "Shaders/Utilities/ShaderBlending.swift",
        "Shaders/Utilities/ShaderConfiguration.swift",
        "Shaders/Utilities/ShaderDefine.swift",
        "Shaders/Utilities/ShaderLibraryCache.swift",
        "Shaders/Utilities/ShaderLibraryConfiguration.swift",
        "Shaders/Utilities/ShaderLibrarySourceCache.swift",
        "Shaders/Utilities/ShaderPipelineCache.swift",
        "Shaders/Utilities/ShaderSourceCache.swift",
        "Shaders/Utilities/ShaderSourceInjections.swift",
        "Shaders/Utilities/ShaderSourceParsers.swift",
        "Shadows/DirectionalLightShadow.swift",
        "Text/FontAtlas.swift",
        "Text/TextMesh.swift",
        "Types/InstanceMatrixUniforms.swift",
        "Types/LightData.swift",
        "Types/ShadowData.swift",
        "Utilities/FileWatcher.swift",
        "Utilities/Helpers.swift",
        "Utilities/Loader.swift",
        "Utilities/Locks.swift",
        "Utilities/MetalFileCompiler.swift",
        "Utilities/MetalSourceCompiler.swift",
        "Utilities/Paths.swift",
        "Utilities/PostProcessor.swift",
        "Utilities/Textures.swift",
        "Utilities/ValueCache.swift",
        "Utilities/VertexDescriptors.swift",
        "Views/MetalLayerRenderer.swift",
        "Views/MetalView.swift",
        "Views/MetalViewController.swift",
        "Views/MetalViewRenderer.swift",
        "Views/MetalViewRendererDelegate.swift",
        "Views/SatinImmersiveSpace.swift",
        "Views/SatinMetalView.swift"
      ],
      "target_dependencies" : [
        "SatinCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/16] Compiling SatinCore Conversions.mm
[1/16] Copying Pipelines
/host/spi-builder-workspace/Sources/SatinCore/Bounds.mm:8:10: fatal error: 'simd/simd.h' file not found
    8 | #include <simd/simd.h>
      |          ^~~~~~~~~~~~~
1 error generated.
[2/16] Compiling SatinCore Bounds.mm
[2/16] Compiling SatinCore Transforms.mm
In file included from /host/spi-builder-workspace/Sources/SatinCore/Bvh.mm:8:
In file included from /host/spi-builder-workspace/Sources/SatinCore/include/Bvh.h:13:
/host/spi-builder-workspace/Sources/SatinCore/include/Types.h:12:9: fatal error: 'simd/simd.h' file not found
   12 | #import <simd/simd.h>
      |         ^~~~~~~~~~~~~
1 error generated.
[2/16] Compiling SatinCore Bvh.mm
/host/spi-builder-workspace/Sources/SatinCore/Types.mm:8:10: fatal error: 'malloc/_malloc.h' file not found
    8 | #include <malloc/_malloc.h>
      |          ^~~~~~~~~~~~~~~~~~
1 error generated.
[2/16] Compiling SatinCore Types.mm
[2/16] Compiling SatinCore Triangulator.mm
[2/16] Compiling SatinCore Geometry.mm
/host/spi-builder-workspace/Sources/SatinCore/Generators.mm:8:10: fatal error: 'CoreText/CoreText.h' file not found
    8 | #include <CoreText/CoreText.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
[2/16] Compiling SatinCore Generators.mm
[2/16] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/15] Write sources
In file included from /host/spi-builder-workspace/Sources/SatinCore/SignedDistanceFunctions.mm:8:
/host/spi-builder-workspace/Sources/SatinCore/include/SignedDistanceFunctions.h:11:9: fatal error: 'simd/simd.h' file not found
   11 | #import <simd/simd.h>
      |         ^~~~~~~~~~~~~
1 error generated.
[1/14] Compiling SatinCore SignedDistanceFunctions.mm
In file included from /host/spi-builder-workspace/Sources/SatinCore/Transforms.mm:9:
/host/spi-builder-workspace/Sources/SatinCore/include/Transforms.h:11:9: fatal error: 'simd/simd.h' file not found
   11 | #import <simd/simd.h>
      |         ^~~~~~~~~~~~~
[1/14] Compiling SatinCore Transforms.mm
[1/14] Compiling SatinCore Triangulator.mm
/host/spi-builder-workspace/Sources/SatinCore/Rectangle.mm:9:10: fatal error: 'simd/simd.h' file not found
    9 | #include <simd/simd.h>
      |          ^~~~~~~~~~~~~
[1/14] Compiling SatinCore Rectangle.mm
/host/spi-builder-workspace/Sources/SatinCore/PoissonDiskSampler.mm:8:10: fatal error: 'malloc/_malloc.h' file not found
    8 | #include <malloc/_malloc.h>
      |          ^~~~~~~~~~~~~~~~~~
[1/14] Compiling SatinCore PoissonDiskSampler.mm
[1/14] Compiling SatinCore Hermite.mm
/host/spi-builder-workspace/Sources/SatinCore/Types.mm:8:10: fatal error: 'malloc/_malloc.h' file not found
    8 | #include <malloc/_malloc.h>
      |          ^~~~~~~~~~~~~~~~~~
[1/14] Compiling SatinCore Types.mm
[1/14] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm