Build Information
Failed to build manifold-swift, reference main (a0942d
), with Swift 6.1 for Wasm on 31 May 2025 01:52:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/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 a0942d2 Merge branch 'dev'
Submodule path 'External/clipper2': checked out 'a8269cafe92cdbf92572bceda5e9fdacc4684b51'
Submodule path 'External/manifold': checked out '061c5e7a489dfc91c8a0ba2519fca656075fa5d5'
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 @):
a0942d2aa55d5c03bb288d7e94e349e34380f006
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/manifold.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" : "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-2":/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 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...
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"
| ^
1 error generated.
[0/56] Compiling version.cpp
[0/56] Compiling quickhull.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"
| ^
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"
| ^
[0/56] Compiling thread_request_serializer.cpp
[0/56] Compiling thread_dispatcher.cpp
[0/56] Compiling threading_control.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/56] Compiling ittnotify_static.c
[0/56] Compiling sdf.cpp
[0/56] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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...
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>
| ^~~~~~~~~~~
1 error generated.
[0/56] Compiling ittnotify_static.c
[0/56] Compiling threading_control.cpp
[0/56] Compiling tcm_adaptor.cpp
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"
| ^
[0/56] 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/56] Compiling thread_dispatcher.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"
| ^
[0/56] Compiling tbb.cpp
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"
| ^
1 error generated.
[0/56] Compiling version.cpp
[0/56] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm