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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 9.0.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/GEOSwift/geos
 * tag               9.0.0      -> FETCH_HEAD
HEAD is now at 4d8af49 Update to GEOS 3.13.0, Update Apple Platform Deployment Targets, Update CI Environment (#26)
Cloned https://github.com/GEOSwift/geos.git
Revision (git rev-parse @):
4d8af495e7507f48f1ae9104102debdd2043917b
SUCCESS checkout https://github.com/GEOSwift/geos.git at 9.0.0
========================================
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-4606859-0":/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 Angle.cpp
[1/440] Compiling Area.cpp
[2/440] Compiling PolygonNodeTopology.cpp
In file included from /host/spi-builder-workspace/Sources/geos/src/algorithm/construct/IndexedPointInPolygonsLocator.cpp:20:
In file included from /host/spi-builder-workspace/Sources/geos/include/geos/algorithm/construct/IndexedPointInPolygonsLocator.h:25:
/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<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 {
      |                                                            ^~~~~~~~
8 errors generated.
[3/440] Compiling IndexedPointInPolygonsLocator.cpp
[3/440] Compiling math.cpp
[3/440] Compiling Profiler.cpp
[3/440] Compiling string.cpp
In file included from /host/spi-builder-workspace/Sources/geos/src/algorithm/construct/LargestEmptyCircle.cpp:20:
In file included from /host/spi-builder-workspace/Sources/geos/include/geos/algorithm/construct/LargestEmptyCircle.h:25:
In file included from /host/spi-builder-workspace/Sources/geos/include/geos/algorithm/construct/IndexedDistanceToPoint.h:25:
In file included from /host/spi-builder-workspace/Sources/geos/include/geos/algorithm/construct/IndexedPointInPolygonsLocator.h:25:
/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<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* [3/440] Compiling LargestEmptyCircle.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 {
      |                                                            ^~~~~~~~
[3/440] Compiling geos_ts_c.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_);
      |                         ~~~~~^
[3/440] Compiling geos_c.cpp
[3/440] Compiling MaximumInscribedCircle.cpp
BUILD FAILURE 6.2 wasm