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 GEOSwift, reference main (1448d6), with Swift 6.2 (beta) for Wasm on 26 Jun 2025 14:00:06 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Yamasee/GEOSwift.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/Yamasee/GEOSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1448d60 Merge branch 'GEOSwift:main' into main
Cloned https://github.com/Yamasee/GEOSwift.git
Revision (git rev-parse @):
1448d60e2e6abc2d8cc3dcf9bd1288c0c0e684d6
SUCCESS checkout https://github.com/Yamasee/GEOSwift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Yamasee/GEOSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/GEOSwift/geos.git
[1/4416] Fetching geos
Fetched https://github.com/GEOSwift/geos.git from cache (0.85s)
Computing version for https://github.com/GEOSwift/geos.git
Computed https://github.com/GEOSwift/geos.git at 9.0.0 (1.54s)
Creating working copy for https://github.com/GEOSwift/geos.git
Working copy of https://github.com/GEOSwift/geos.git resolved at 9.0.0
Building for debugging...
[0/445] Compiling CGAlgorithmsDD.cpp
[1/445] Write swift-version-24593BA9C3E375BF.txt
[2/445] Compiling EnvelopeUtil.cpp
[3/445] Compiling GeometryItemDistance.cpp
[4/445] Compiling Distance.cpp
[5/445] Compiling CircularArcs.cpp
[6/445] Compiling Centroid.cpp
[7/445] Compiling math.cpp
[8/445] Compiling string.cpp
[9/445] Compiling ConvexHull.cpp
[10/445] Compiling Interrupt.cpp
[11/445] Compiling Assert.cpp
[12/445] Compiling Profiler.cpp
[13/445] Compiling GeometricShapeFactory.cpp
[14/445] Compiling TriangulationBuilder.cpp
[15/445] Compiling TriEdge.cpp
[16/445] Compiling TrianglePredicate.cpp
[17/445] Compiling Vertex.cpp
[18/445] Compiling LocateFailureException.cpp
[19/445] Compiling Tri.cpp
[20/445] Compiling QuadEdge.cpp
[21/445] Compiling LastFoundQuadEdgeLocator.cpp
[22/445] Compiling TriDelaunayImprover.cpp
[23/445] Compiling PolygonTriangulator.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/src/triangulate/polygon/PolygonNoder.cpp:17:
In file included from /host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/noding/MCIndexNoder.h:25:
/host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:412:10: error: no type named 'mutex' in namespace 'std'
  412 |     std::mutex lock_;
      |     ~~~~~^
/host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:379:30: error: no member named 'mutex' in namespace 'std'
  379 |         std::lock_guard<std::mutex> lock(lock_);
      |                         ~~~~~^
/host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:779:59: error: 'query' is a protected member of 'geos::index::strtree::TemplateSTRtreeImpl<const geos::index::chain::MonotoneChain *, geos::index::strtree::EnvelopeTraits>'
  779 |     using TemplateSTRtreeImpl<ItemType*, EnvelopeTraits>::query;
      |                                                           ^
/host/spi-builder-workspace/.build/checkouts/geos/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/.build/checkouts/geos/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:592:10: note: declared protected here
  592 |     bool query(const BoundsType& queryEnv,
      |          ^
/host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:780:59: error: 'remove' is a protected member of 'geos::index::strtree::TemplateSTRtreeImpl<const geos::index::chain::MonotoneChain *, geos::index::strtree::EnvelopeTraits>'
  780 |     using TemplateSTRtreeImpl<ItemType*, EnvelopeTraits>::remove;
      |                                                           ^
/host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:644:10: note: declared protected here
  644 |     bool remove(const BoundsType& queryEnv,
      |          ^
/host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:783:77: error: only virtual member functions can be marked 'override'
  783 |     void query(const geom::Envelope* queryEnv, std::vector<void*>& results) override {
      |                                                                             ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:789:70: error: only virtual member functions can be marked 'override'
  789 |     void query(const geom::Envelope* queryEnv, ItemVisitor& visitor) override {
      |                                                                      ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:795:60: error: only virtual member functions can be marked 'override'
  795 |     bool remove(const geom::Envelope* itemEnv, void* item) override {
      |                                                            ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:799:60: error: only virtual member functions can be marked 'override'
  799 |     void insert(const geom::Envelope* itemEnv, void* item) override {
      |                                                            ^~~~~~~~
8 errors generated.
[24/445] Compiling PolygonNoder.cpp
[24/445] Compiling IncrementalDelaunayTriangulator.cpp
[24/445] Compiling PolygonEarClipper.cpp
[24/445] Compiling ConstrainedDelaunayTriangulator.cpp
[24/445] Compiling DelaunayTriangulationBuilder.cpp
[24/445] Compiling VoronoiDiagramBuilder.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/src/triangulate/polygon/PolygonHoleJoiner.cpp:26:
In file included from /host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/noding/MCIndexSegmentSetMutualIntersector.h:20:
/host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:412:10: error: no type named 'mutex' in namespace 'std'
  412 |     std::mutex lock_;
      |     ~~~~~^
/host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:379:30: error: no member named 'mutex' in namespace 'std'
  379 |         std::lock_guard<std::mutex> lock(lock_);
      |                         ~~~~~^
[24/445] Compiling PolygonHoleJoiner.cpp
[24/445] Compiling QuadEdgeSubdivision.cpp
BUILD FAILURE 6.2 wasm