The Swift Package Index logo.Swift Package Index

Build Information

Failed to build geos, reference main (171c45), with Swift 6.4 for Wasm on 23 Sep 2026 06:53:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path:  $PWD
https://github.com/GEOSwift/geos.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:8:69: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 6 | let package = Package(
 7 |     name: "geos",
 8 |     platforms: [.iOS(.v12), .macOS(.v10_13), .tvOS(.v12), .watchOS(.v4), .visionOS(.v1)],
   |                                                                     `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
 9 |     products: [
10 |         // Products define the executables and libraries a package produces, making them visible to other packages.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[Planning deferred tasks]
[25 / 467] geos
[26 / 467] geos
[27 / 467] geos
[28 / 467] geos
[29 / 467] geos
[31 / 467] geos
[32 / 467] geos
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: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<void *, geos::index::strtree::EnvelopeTraits>'
  789 |     using TemplateSTRtreeImpl<ItemType*, EnvelopeTraits>::query;
      |                                                           ^
/host/spi-builder-workspace/Sources/geos/capi/geos_c.cpp:1824:16: note: in instantiation of template class 'geos::index::strtree::TemplateSTRtree<void *>' requested here
 1824 |         return GEOSSTRtree_build_r(handle, tree);
      |                ^
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: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<void *, 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.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/geos.build/Debug-webassembly-wasm32/geos-t.build/Objects-normal/wasm32/geos_c.o /host/spi-builder-workspace/Sources/geos/capi/geos_c.cpp normal wasm32 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/geos.build/Debug-webassembly-wasm32/geos-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp

    /usr/bin/clang -x c++ -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/geos.build/Debug-webassembly-wasm32/geos-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/geos.build/Debug-webassembly-wasm32/geos-t.build/Objects-normal/wasm32/geos_c.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/geos.build/Debug-webassembly-wasm32/geos-t.build/Objects-normal/wasm32/geos_c.dia -c /host/spi-builder-workspace/Sources/geos/capi/geos_c.cpp -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/geos.build/Debug-webassembly-wasm32/geos-t.build/Objects-normal/wasm32/geos_c.o
error: Build failed
BUILD FAILURE 6.4 wasm