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 geos, reference main (171c45), with Swift 6.2 for Wasm on 29 Oct 2025 04:12:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GEOSwift/geos.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/GEOSwift/geos
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 171c45f Remove Cocoapods from CI config.
Cloned https://github.com/GEOSwift/geos.git
Revision (git rev-parse @):
171c45f3a5cabb41a0ef18b09aaeaa41085c0c0e
SUCCESS checkout https://github.com/GEOSwift/geos.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/GEOSwift/geos.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Building for debugging...
[0/451] Compiling Interrupt.cpp
[1/451] Compiling math.cpp
[2/451] Compiling CircularArcs.cpp
[3/451] Compiling string.cpp
[4/451] Compiling BoundaryNodeRule.cpp
[5/451] Compiling Centroid.cpp
[6/451] Compiling CGAlgorithmsDD.cpp
[7/451] Compiling Profiler.cpp
[8/451] Compiling TriangulationBuilder.cpp
[9/451] Compiling GeometricShapeFactory.cpp
[10/451] Compiling Assert.cpp
[11/451] Compiling Vertex.cpp
[12/451] Compiling TriEdge.cpp
[13/451] Compiling Tri.cpp
[14/451] Compiling TrianglePredicate.cpp
[15/451] Compiling LocateFailureException.cpp
[16/451] Compiling QuadEdge.cpp
[17/451] Compiling QuadEdgeSubdivision.cpp
[18/451] Compiling LastFoundQuadEdgeLocator.cpp
[19/451] Compiling TriDelaunayImprover.cpp
In file included from /host/spi-builder-workspace/Sources/geos/src/triangulate/polygon/PolygonNoder.cpp:17:
In file included from /host/spi-builder-workspace/Sources/geos/include/geos/noding/MCIndexNoder.h:25:
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:416:10: error: no type named 'mutex' in namespace 'std'
  416 |     std::mutex lock_;
      |     ~~~~~^
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:383:30: error: no member named 'mutex' in namespace 'std'
  383 |         std::lock_guard<std::mutex> lock(lock_);
      |                         ~~~~~^
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:789:59: error: 'query' is a protected member of 'geos::index::strtree::TemplateSTRtreeImpl<const geos::index::chain::MonotoneChain *, geos::index::strtree::EnvelopeTraits>'
  789 |     using TemplateSTRtreeImpl<ItemType*, EnvelopeTraits>::query;
      |                                                           ^
/host/spi-builder-workspace/Sources/geos/include/geos/noding/MCIndexNoder.h:69:73: note: in instantiation of template class 'geos::index::strtree::TemplateSTRtree<const geos::index::chain::MonotoneChain *>' requested here
   69 |     index::strtree::TemplateSTRtree<const index::chain::MonotoneChain*> index;
      |                                                                         ^
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:596:10: note: declared protected here
  596 |     bool query(const BoundsType& queryEnv,
      |          ^
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:790:59: error: 'remove' is a protected member of 'geos::index::strtree::TemplateSTRtreeImpl<const geos::index::chain::MonotoneChain *, geos::index::strtree::EnvelopeTraits>'
  790 |     using TemplateSTRtreeImpl<ItemType*, EnvelopeTraits>::remove;
      |                                                           ^
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:648:10: note: declared protected here
  648 |     bool remove(const BoundsType& queryEnv,
      |          ^
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:793:77: error: only virtual member functions can be marked 'override'
  793 |     void query(const geom::Envelope* queryEnv, std::vector<void*>& results) override {
      |                                                                             ^~~~~~~~
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:799:70: error: only virtual member functions can be marked 'override'
  799 |     void query(const geom::Envelope* queryEnv, ItemVisitor& visitor) override {
      |                                                                      ^~~~~~~~
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:805:60: error: only virtual member functions can be marked 'override'
  805 |     bool remove(const geom::Envelope* itemEnv, void* item) override {
      |                                                            ^~~~~~~~
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:809:60: error: only virtual member functions can be marked 'override'
  809 |     void insert(const geom::Envelope* itemEnv, void* item) override {
      |                                                            ^~~~~~~~
8 errors generated.
[20/451] Compiling PolygonNoder.cpp
[20/451] Compiling DelaunayTriangulationBuilder.cpp
[20/451] Compiling PolygonTriangulator.cpp
In file included from /host/spi-builder-workspace/Sources/geos/src/triangulate/polygon/PolygonHoleJoiner.cpp:26:
In file included from /host/spi-builder-workspace/Sources/geos/include/geos/noding/MCIndexSegmentSetMutualIntersector.h:20:
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:416:10: error: no type named 'mutex' in namespace 'std'
  416 |     std::mutex lock_;
      |     ~~~~~^
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:383:30: error: no member named 'mutex' in namespace 'std'
  383 |         std::lock_guard<std::mutex> lock(lock_);
      |                         ~~~~~^
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:789:59: error: 'query' is a protected member of 'geos::index::strtree::TemplateSTRtreeImpl<const geos::index::chain::MonotoneChain *, geos::index::strtree::EnvelopeTraits>'
  789 |     using TemplateSTRtreeImpl<ItemType*, EnvelopeTraits>::query;
      |                                                           ^
/host/spi-builder-workspace/Sources/geos/include/geos/noding/MCIndexSegmentSetMutualIntersector.h:122:73: note: in instantiation of template class 'geos::index::strtree::TemplateSTRtree<const geos::index::chain::MonotoneChain *>' requested here
  122 |     index::strtree::TemplateSTRtree<const index::chain::MonotoneChain*> index;
      |                                                                         ^
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:596:10: note: declared protected here
  596 |     bool query(const BoundsType& queryEnv,
      |          ^
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:790:59: error: 'remove' is a protected member of 'geos::index::strtree::TemplateSTRtreeImpl<const geos::index::chain::MonotoneChain *, geos::index::strtree::EnvelopeTraits>'
  790 |     using TemplateSTRtreeImpl<ItemType*, EnvelopeTraits>::remove;
      |                                                           ^
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:648:10: note: declared protected here
  648 |     bool remove(const BoundsType& queryEnv,
      |          ^
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:793:77: error: only virtual member functions can be marked 'override'
  793 |     void query(const geom::Envelope* queryEnv, std::vector<void*>& results) override {
      |                                                                             ^~~~~~~~
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:799:70: error: only virtual member functions can be marked 'override'
  799 |     void query(const geom::Envelope* queryEnv, ItemVisitor& visitor) override {
      |                                                                      ^~~~~~~~
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:805:60: error: only virtual member functions can be marked 'override'
  805 |     bool remove(const geom::Envelope* itemEnv, void* item) override {
      |                                                            ^~~~~~~~
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:809:60: error: only virtual member functions can be marked 'override'
  809 |     void insert(const geom::Envelope* itemEnv, void* item) override {
      |                                                            ^~~~~~~~
[20/451] Compiling PolygonHoleJoiner.cpp
[20/451] Compiling IncrementalDelaunayTriangulator.cpp
[20/451] Compiling ConstrainedDelaunayTriangulator.cpp
[20/451] Compiling VoronoiDiagramBuilder.cpp
[20/451] Compiling PolygonEarClipper.cpp
BUILD FAILURE 6.2 wasm