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 (c7d417), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 04:18:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/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 c7d4179 Clarify minimum requirements
Cloned https://github.com/GEOSwift/geos.git
Revision (git rev-parse @):
c7d417976bda6aea9b77501838a3e341eca6c160
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-2":/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
Building for debugging...
[0/440] Compiling BoundaryNodeRule.cpp
[1/440] Compiling Angle.cpp
[2/440] Compiling PointLocation.cpp
[3/440] Compiling CGAlgorithmsDD.cpp
[4/440] Compiling Centroid.cpp
[5/440] Compiling string.cpp
[6/440] Compiling Area.cpp
[7/440] Compiling math.cpp
[8/440] Compiling Interrupt.cpp
In file included from /host/spi-builder-workspace/Sources/geos/capi/geos_c.cpp:19:
/host/spi-builder-workspace/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/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/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:779:59: error: 'query' is a protected member of 'geos::index::strtree::TemplateSTRtreeImpl<void *, geos::index::strtree::EnvelopeTraits>'
  779 |     using TemplateSTRtreeImpl<ItemType*, EnvelopeTraits>::query;
      |                                                           ^
/host/spi-builder-workspace/Sources/geos/capi/geos_c.cpp:1645:16: note: in instantiation of template class 'geos::index::strtree::TemplateSTRtree<void *>' requested here
 1645 |         return GEOSSTRtree_build_r(handle, tree);
      |                ^
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:592:10: note: declared protected here
  592 |     bool query(const BoundsType& queryEnv,
      |          ^
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:780:59: error: 'remove' is a protected member of 'geos::index::strtree::TemplateSTRtreeImpl<void *, geos::index::strtree::EnvelopeTraits>'
  780 |     using TemplateSTRtreeImpl<ItemType*, EnvelopeTraits>::remove;
      |                                                           ^
/host/spi-builder-workspace/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:644:10: note: declared protected here
  644 |     bool remove(const BoundsType& queryEnv,
      |          ^
/host/spi-builder-workspace/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/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/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/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.
[9/440] Compiling geos_c.cpp
[9/440] Compiling Tri.cpp
[9/440] Compiling TriangulationBuilder.cpp
[9/440] Compiling Assert.cpp
[9/440] Compiling Profiler.cpp
[9/440] Compiling GeometricShapeFactory.cpp
[9/440] Compiling TriEdge.cpp
In file included from /host/spi-builder-workspace/Sources/geos/capi/geos_ts_c.cpp:25:
In file included from /host/spi-builder-workspace/Sources/geos/include/geos/algorithm/construct/MaximumInscribedCircle.h:25:
In file included from /host/spi-builder-workspace/Sources/geos/include/geos/algorithm/locate/IndexedPointInAreaLocator.h:22:
/host/spi-builder-workspace/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/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/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/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/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:592:10: note: declared protected here
  592 |     bool query(const BoundsType& queryEnv,
      |          ^
/host/spi-builder-workspace/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/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:644:10: note: declared protected here
  644 |     bool remove(const BoundsType& queryEnv,
      |          ^
/host/spi-builder-workspace/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/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/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/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/Sources/geos/capi/geos_ts_c.cpp:25:
In file included from /host/spi-builder-workspace/Sources/geos/include/geos/algorithm/construct/MaximumInscribedCircle.h:26:
In file included from /host/spi-builder-workspace/Sources/geos/include/geos/operation/distance/IndexedFacetDistance.h:21:
/host/spi-builder-workspace/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/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/Sources/geos/capi/geos_ts_c.cpp:25:
In file included from /host/spi-builder-workspace/Sources/geos/include/geos/algorithm/construct/MaximumInscribedCircle.h:25:
In file included from /host/spi-builder-workspace/Sources/geos/include/geos/algorithm/locate/IndexedPointInAreaLocator.h:22:
/host/spi-builder-workspace/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/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/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:592:10: note: declared protected here
  592 |     bool query(const BoundsType& queryEnv,
      |          ^
/host/spi-builder-workspace/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/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:644:10: note: declared protected here
  644 |     bool remove(const BoundsType& queryEnv,
      |          ^
/host/spi-builder-workspace/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/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/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/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/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/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:592:10: note: declared protected here
  592 |     bool query(const BoundsType& queryEnv,
      |          ^
/host/spi-builder-workspace/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/Sources/geos/include/geos/index/strtree/TemplateSTRtree.h:644:10: note: declared protected here
  644 |     bool remove(const BoundsType& queryEnv,
      |          ^
/host/spi-builder-workspace/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=]
[9/440] Compiling geos_ts_c.cpp
BUILD FAILURE 6.2 wasm