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 11.2.0 (1448d6), with Swift 6.2 (beta) for Wasm on 26 Jun 2025 14:01:20 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: 11.2.0
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
 * tag               11.2.0     -> FETCH_HEAD
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 11.2.0
========================================
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.78s)
Computing version for https://github.com/GEOSwift/geos.git
Computed https://github.com/GEOSwift/geos.git at 9.0.0 (1.59s)
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 math.cpp
[1/445] Compiling string.cpp
[2/445] Compiling Interrupt.cpp
[3/445] Write swift-version-24593BA9C3E375BF.txt
[4/445] Compiling Angle.cpp
[5/445] Compiling Area.cpp
[6/445] Compiling Profiler.cpp
[7/445] Compiling Assert.cpp
[8/445] Compiling GeometricShapeFactory.cpp
[9/445] Compiling TriangulationBuilder.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/capi/geos_ts_c.cpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/algorithm/construct/MaximumInscribedCircle.h:25:
In file included from /host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/algorithm/locate/IndexedPointInAreaLocator.h:22:
/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::operation::distance::FacetSequence *, geos::index::strtree::EnvelopeTraits>'
  779 |     using TemplateSTRtreeImpl<ItemType*, EnvelopeTraits>::query;
      |                                                           ^
/host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/operation/distance/FacetSequenceTreeBuilder.h:43:38: note: in instantiation of template class 'geos::index::strtree::TemplateSTRtree<const geos::operation::distance::FacetSequence *>' requested here
   43 |     class FacetSequenceTree : public geos::index::strtree::TemplateSTRtree<const FacetSequence*> {
      |                                      ^
/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::operation::distance::FacetSequence *, 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 {
      |                                                            ^~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/capi/geos_ts_c.cpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/algorithm/construct/MaximumInscribedCircle.h:26:
In file included from /host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/operation/distance/IndexedFacetDistance.h:21:
/host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/operation/distance/FacetSequenceTreeBuilder.h:47:13: error: member initializer 'TemplateSTRtree' does not name a non-static data member or base class
   47 |             TemplateSTRtree(STR_TREE_NODE_CAPACITY, seq.size()), sequences(seq) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/operation/distance/FacetSequenceTreeBuilder.h:49:17: error: use of undeclared identifier 'TemplateSTRtree'
   49 |                 TemplateSTRtree::insert(fs.getEnvelope(), &fs);
      |                 ^
In file included from /host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/capi/geos_ts_c.cpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/algorithm/construct/MaximumInscribedCircle.h:25:
In file included from /host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/algorithm/locate/IndexedPointInAreaLocator.h:22:
/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<geos::algorithm::locate::IndexedPointInAreaLocator *, geos::index::strtree::EnvelopeTraits>'
  779 |     using TemplateSTRtreeImpl<ItemType*, EnvelopeTraits>::query;
      |                                                           ^
/host/spi-builder-workspace/.build/checkouts/geos/Sources/geos/include/geos/algorithm/construct/IndexedPointInPolygonsLocator.h:75:49: note: in instantiation of template class 'geos::index::strtree::TemplateSTRtree<geos::algorithm::locate::IndexedPointInAreaLocator *>' requested here
   75 |     TemplateSTRtree<IndexedPointInAreaLocator*> 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<geos::algorithm::locate::IndexedPointInAreaLocator *, 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 {
      |                                                            ^~~~~~~~
/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/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/.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 {
      |                                                                             ^~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[10/445] Compiling geos_ts_c.cpp
[10/445] Compiling LocateFailureException.cpp
[10/445] Compiling TriEdge.cpp
[10/445] Compiling QuadEdge.cpp
[10/445] Compiling TrianglePredicate.cpp
[10/445] Compiling QuadEdgeSubdivision.cpp
[10/445] Compiling Tri.cpp
[10/445] Compiling Vertex.cpp
BUILD FAILURE 6.2 wasm