The Swift Package Index logo.Swift Package Index

Build Information

Failed to build manifold-swift, reference main (c401f1), with Swift 6.1 for Wasm on 28 Feb 2026 16:28:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tomasf/manifold-swift.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/tomasf/manifold-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c401f10 Merge branch 'dev'
Submodule path 'External/clipper2': checked out 'ef88ee97c0e759792e43a2b2d8072def6c9244e8'
Submodule path 'External/manifold': checked out 'bf2a603432de12421a1267fce080ceca9bf25960'
Submodule path 'External/oneTBB': checked out 'ab7761b71fd4d4b80c7b833149feadd4bbdf6918'
Submodule 'clipper2' (https://github.com/AngusJohnson/Clipper2) registered for path 'External/clipper2'
Submodule 'manifold' (https://github.com/elalish/manifold.git) registered for path 'External/manifold'
Submodule 'oneTBB' (https://github.com/tomasf/oneTBB.git) registered for path 'External/oneTBB'
Cloning into '/host/spi-builder-workspace/External/clipper2'...
Cloning into '/host/spi-builder-workspace/External/manifold'...
Cloning into '/host/spi-builder-workspace/External/oneTBB'...
Cloned https://github.com/tomasf/manifold-swift.git
Revision (git rev-parse @):
c401f108c0e5424b4bb0781ce7e51e5e364f0b14
SUCCESS checkout https://github.com/tomasf/manifold-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tomasf/manifold-swift.git
https://github.com/tomasf/manifold-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++17",
  "dependencies" : [
  ],
  "manifest_display_name" : "manifold-swift",
  "name" : "manifold-swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Manifold",
      "targets" : [
        "Manifold3D"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "oneTBB",
      "module_type" : "ClangTarget",
      "name" : "oneTBB",
      "path" : "External/oneTBB",
      "product_memberships" : [
        "Manifold"
      ],
      "sources" : [
        "src/tbb/address_waiter.cpp",
        "src/tbb/allocator.cpp",
        "src/tbb/arena.cpp",
        "src/tbb/arena_slot.cpp",
        "src/tbb/concurrent_bounded_queue.cpp",
        "src/tbb/dynamic_link.cpp",
        "src/tbb/exception.cpp",
        "src/tbb/global_control.cpp",
        "src/tbb/governor.cpp",
        "src/tbb/itt_notify.cpp",
        "src/tbb/market.cpp",
        "src/tbb/misc.cpp",
        "src/tbb/misc_ex.cpp",
        "src/tbb/observer_proxy.cpp",
        "src/tbb/parallel_pipeline.cpp",
        "src/tbb/private_server.cpp",
        "src/tbb/profiling.cpp",
        "src/tbb/queuing_rw_mutex.cpp",
        "src/tbb/rml_tbb.cpp",
        "src/tbb/rtm_mutex.cpp",
        "src/tbb/rtm_rw_mutex.cpp",
        "src/tbb/semaphore.cpp",
        "src/tbb/small_object_pool.cpp",
        "src/tbb/task.cpp",
        "src/tbb/task_dispatcher.cpp",
        "src/tbb/task_group_context.cpp",
        "src/tbb/tbb.cpp",
        "src/tbb/tcm_adaptor.cpp",
        "src/tbb/thread_dispatcher.cpp",
        "src/tbb/thread_request_serializer.cpp",
        "src/tbb/threading_control.cpp",
        "src/tbb/tools_api/ittnotify_static.c",
        "src/tbb/version.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ManifoldCPP",
      "module_type" : "ClangTarget",
      "name" : "ManifoldCPP",
      "path" : "External/manifold",
      "product_memberships" : [
        "Manifold"
      ],
      "sources" : [
        "src/boolean3.cpp",
        "src/boolean_result.cpp",
        "src/constructors.cpp",
        "src/cross_section/cross_section.cpp",
        "src/csg_tree.cpp",
        "src/edge_op.cpp",
        "src/face_op.cpp",
        "src/impl.cpp",
        "src/lazy_collider.cpp",
        "src/manifold.cpp",
        "src/minkowski.cpp",
        "src/polygon.cpp",
        "src/properties.cpp",
        "src/quickhull.cpp",
        "src/sdf.cpp",
        "src/smoothing.cpp",
        "src/sort.cpp",
        "src/subdivision.cpp",
        "src/tree2d.cpp"
      ],
      "target_dependencies" : [
        "Clipper2",
        "oneTBB"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ManifoldBridge",
      "module_type" : "ClangTarget",
      "name" : "ManifoldBridge",
      "path" : "Sources/ManifoldBridge",
      "product_memberships" : [
        "Manifold"
      ],
      "sources" : [
        "src/bridge.cpp"
      ],
      "target_dependencies" : [
        "ManifoldCPP"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Manifold3DTests",
      "module_type" : "SwiftTarget",
      "name" : "Manifold3DTests",
      "path" : "Tests/Manifold3DTests",
      "sources" : [
        "CrossSectionDefaultsTests.swift",
        "CrossSectionOperationsTests.swift",
        "ManifoldDefaultsTests.swift",
        "ManifoldOperationsTests.swift",
        "QualityAndErrorTests.swift",
        "TestSupport.swift"
      ],
      "target_dependencies" : [
        "Manifold3D"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Manifold3D",
      "module_type" : "SwiftTarget",
      "name" : "Manifold3D",
      "path" : "Sources/Manifold3D",
      "product_memberships" : [
        "Manifold"
      ],
      "sources" : [
        "CrossSection/CrossSection+Operations.swift",
        "CrossSection/CrossSection+Properties.swift",
        "CrossSection/CrossSection+Shapes.swift",
        "CrossSection/CrossSection+Transforms.swift",
        "CrossSection/CrossSection.swift",
        "Extensions.swift",
        "Geometry.swift",
        "Manifold/Manifold+Composition.swift",
        "Manifold/Manifold+Operations.swift",
        "Manifold/Manifold+Properties.swift",
        "Manifold/Manifold+Shapes.swift",
        "Manifold/Manifold+Smoothing.swift",
        "Manifold/Manifold+Transforms.swift",
        "Manifold/Manifold+VertexProperties.swift",
        "Manifold/Manifold.swift",
        "MeshGL.swift",
        "Quality.swift",
        "Types/BooleanOperation.swift",
        "Types/CrossSectionTypes.swift",
        "Types/Matrices.swift",
        "Types/Polygon.swift",
        "Types/Triangle.swift",
        "Types/Vectors.swift"
      ],
      "target_dependencies" : [
        "ManifoldCPP",
        "ManifoldBridge"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Clipper2",
      "module_type" : "ClangTarget",
      "name" : "Clipper2",
      "path" : "External/clipper2/CPP/Clipper2Lib",
      "product_memberships" : [
        "Manifold"
      ],
      "sources" : [
        "src/clipper.engine.cpp",
        "src/clipper.offset.cpp",
        "src/clipper.rectclip.cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/version.cpp:17:
In file included from /host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/version.h:22:
In file included from /host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_config.h:37:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:27:6: error: "Unknown platform/compiler"
   27 |     #error "Unknown platform/compiler"
      |      ^
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/version.cpp:17:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/version.h:109:12: error: unknown type name '__TBB_EXPORT'
  109 | extern "C" TBB_EXPORT const char* __TBB_EXPORTED_FUNC TBB_runtime_version();
      |            ^
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:31:24: note: expanded from macro 'TBB_EXPORT'
   31 |     #define TBB_EXPORT __TBB_EXPORT
      |                        ^
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/version.cpp:17:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/version.h:116:12: error: unknown type name '__TBB_EXPORT'
  116 | extern "C" TBB_EXPORT int __TBB_EXPORTED_FUNC TBB_runtime_interface_version();
      |            ^
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:31:24: note: expanded from macro 'TBB_EXPORT'
   31 |     #define TBB_EXPORT __TBB_EXPORT
      |                        ^
3 errors generated.
[0/58] Compiling version.cpp
[0/58] Compiling thread_dispatcher.cpp
[0/58] Compiling tcm_adaptor.cpp
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/tbb.cpp:17:
In file included from /host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_config.h:37:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:27:6: error: "Unknown platform/compiler"
   27 |     #error "Unknown platform/compiler"
      |      ^
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/tbb.cpp:19:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/main.h:20:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/governor.h:20:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/rml_tbb.h:22:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/version.h:109:12: error: unknown type name '__TBB_EXPORT'
  109 | extern "C" TBB_EXPORT const char* __TBB_EXPORTED_FUNC TBB_runtime_version();
      |            ^
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:31:24: note: expanded from macro 'TBB_EXPORT'
   31 |     #define T[0/58] Compiling tbb.cpp
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/tools_api/ittnotify_static.c:19:
/host/spi-builder-workspace/External/oneTBB/src/tbb/tools_api/ittnotify_config.h:279:10: fatal error: 'pthread.h' file not found
  279 | #include <pthread.h>
      |          ^~~~~~~~~~~
[0/58] Compiling ittnotify_static.c
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/thread_request_serializer.cpp:17:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/misc.h:20:
In file included from /host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_config.h:37:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:27:6: error: "Unknown platform/compiler"
   27 |     #error "Unknown platform/compiler"
      |      ^
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/thread_request_serializer.cpp:17:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/misc.h:21:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_assert.h:33:1: error: unknown type name '__TBB_EXPORT'
   33 | TBB_EXPORT void __TBB_EXPORTED_FUNC assertion_failure(const char* location, int line, const char* expression, const char* comment);
      | ^
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:31:24: note: expanded from macro 'TBB_EXPORT'
   31 |     #define TBB_EXPORT __TBB_EXPORT
      |                        ^
[0/58] Compiling thread_request_serializer.cpp
[0/58] Compiling threading_control.cpp
[0/58] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/version.cpp:17:
In file included from /host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/version.h:22:
In file included from /host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_config.h:37:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:27:6: error: "Unknown platform/compiler"
   27 |     #error "Unknown platform/compiler"
      |      ^
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/version.cpp:17:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/version.h:109:12: error: unknown type name '__TBB_EXPORT'
  109 | extern "C" TBB_EXPORT const char* __TBB_EXPORTED_FUNC TBB_runtime_version();
      |            ^
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:31:24: note: expanded from macro 'TBB_EXPORT'
   31 |     #define TBB_EXPORT __TBB_EXPORT
      |                        ^
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/version.cpp:17:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/version.h:116:12: error: unknown type name '__TBB_EXPORT'
  116 | extern "C" TBB_EXPORT int __TBB_EXPORTED_FUNC TBB_runtime_interface_version();
      |            ^
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:31:24: note: expanded from macro 'TBB_EXPORT'
   31 |     #define TBB_EXPORT __TBB_EXPORT
      |                        ^
3 errors generated.
[0/58] Compiling version.cpp
[0/58] Compiling threading_control.cpp
[0/58] Compiling tcm_adaptor.cpp
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/tools_api/ittnotify_static.c:19:
/host/spi-builder-workspace/External/oneTBB/src/tbb/tools_api/ittnotify_config.h:279:10: fatal error: 'pthread.h' file not found
  279 | #include <pthread.h>
      |          ^~~~~~~~~~~
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/tbb.cpp:17:
In file included from /host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_config.h:37:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:27:6: error: "Unknown platform/compiler"
   27 |     #error "Unknown platform/compiler"
      |      ^
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/tbb.cpp:19:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/main.h:20:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/governor.h:20:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/rml_tbb.h:22:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/version.h:109:12: error: unknown type name '__TBB_EXPORT'
  109 | extern "C" TBB_EXPORT const char* __TBB_EXPORTED_FUNC TBB_runtime_version();
      |            ^
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:31:24: note: expanded from macro 'TBB_EXPORT'
   31 |     #define TBB_EXPORT __TBB_EXPORT
      |                        ^
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/tbb.cpp:19:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/main.h:20:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/governor.h:20:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/rml_tbb.h:22:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/version.h:116:12: error: unknown type name '__TBB_EXPORT'
  116 | extern "C" TBB_EXPORT int __TBB_EXPORTED_FUNC TBB_runtime_interface_version();
      |            ^
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:31:24: note: expanded from macro 'TBB_EXPORT'
   31 |     #define TBB_EXPORT __TBB_EXPORT
      |                        ^
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/tbb.cpp:19:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/main.h:20:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/governor.h:22:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/misc.h:21:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_assert.h:33:1: error: unknown type name '__TBB_EXPORT'
   33 | TBB_EXPORT void __TBB_EXPORTED_FUNC assertion_failure(const char* location, int line, const char* expression, const char* comment);
      | ^
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:31:24: note: expanded from macro 'TBB_EXPORT'
   31 |     #define TBB_EXPORT __TBB_EXPORT
      |                        ^
[0/58] Compiling tbb.cpp
[0/58] Compiling ittnotify_static.c
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/thread_request_serializer.cpp:17:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/misc.h:20:
In file included from /host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_config.h:37:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:27:6: error: "Unknown platform/compiler"
   27 |     #error "Unknown platform/compiler"
      |      ^
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/thread_request_serializer.cpp:17:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/misc.h:21:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_assert.h:33:1: error: unknown type name '__TBB_EXPORT'
   33 | TBB_EXPORT void __TBB_EXPORTED_FUNC assertion_failure(const char* location, int line, const char* expression, const char* comment);
      | ^
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:31:24: note: expanded from macro 'TBB_EXPORT'
   31 |     #define TBB_EXPORT __TBB_EXPORT
      |                        ^
[0/58] Compiling thread_request_serializer.cpp
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/thread_dispatcher.cpp:17:
In file included from /host/spi-builder-workspace/External/oneTBB/src/tbb/thread_dispatcher.h:20:
In file included from /host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_config.h:37:
/host/spi-builder-workspace/External/oneTBB/include/oneapi/tbb/detail/_export.h:27:6: error: "Unknown platform/compiler"
   27 |     #error "Unknown platform/compiler"
      |      ^
[0/58] Compiling thread_dispatcher.cpp
[0/58] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm