The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ValhallaMobile, reference 0.5.1 (fe12a5), with Swift 6.1 for Linux on 14 Apr 2026 03:54:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Rallista/valhalla-mobile.git
Reference: 0.5.1
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/Rallista/valhalla-mobile
 * tag               0.5.1      -> FETCH_HEAD
HEAD is now at fe12a51 Publish Package.swift and bump version to 0.5.1 [skip ci]
Submodule path 'src/valhalla': checked out 'e2f017b16080f49203de245a211b09efab09cf72'
Submodule path 'src/valhalla/third_party/cpp-statsd-client': checked out 'b60bc7bb930df664b4ab9573ad8bee80d29dc72d'
Submodule path 'src/valhalla/third_party/cxxopts': checked out '63d1b65a694cfceafc20863afa75df49dfbe6b2a'
Submodule path 'src/valhalla/third_party/date': checked out 'b2e917ce6ca8dc11403772f6161b8f69f808c38b'
Submodule path 'src/valhalla/third_party/dirent': checked out '287ba928bfe9d20796bf0428d449abc8d6f29d79'
Submodule path 'src/valhalla/third_party/fastcov': checked out '40dffe81d62c0d897afe4108f3b5489487ff3bce'
Submodule path 'src/valhalla/third_party/googletest': checked out '52eb8108c5bdec04579160ae17225d66034bd723'
Submodule path 'src/valhalla/third_party/just_gtfs': checked out 'b5da7d6b0e21ba660b112923f9c0646dbec29333'
Submodule path 'src/valhalla/third_party/just_gtfs/doctest': checked out 'f25235f4c2f8a5fcf8e888114a90864ef5e4bf56'
Submodule path 'src/valhalla/third_party/libosmium': checked out 'a44ae7be0fc161dc4b110c01fa176cfe5bf45503'
Submodule path 'src/valhalla/third_party/libosmium/test/data-tests/osm-testdata': checked out 'ecfdeb0d5ffcfcb60939651d517d5d7d1bb041a3'
Submodule path 'src/valhalla/third_party/microtar': checked out '27076e1b9290e9c7842bb7890a54fcf172406c84'
Submodule path 'src/valhalla/third_party/nanobind': checked out '116e098cfa96effca2a54e32e0ce5b93abe25393'
Submodule path 'src/valhalla/third_party/nanobind/ext/robin_map': checked out '4ec1bf19c6a96125ea22062f38c2cf5b958e448e'
Submodule path 'src/valhalla/third_party/protozero': checked out 'f379578a3f7c8162aac0ac31c2696de09a5b5f93'
Submodule path 'src/valhalla/third_party/rapidjson': checked out '083f359f5c36198accc2b9360ce1e32a333231d9'
Submodule path 'src/valhalla/third_party/rapidjson/thirdparty/gtest': checked out 'ba96d0b1161f540656efdaed035b3c062b60e006'
Submodule path 'src/valhalla/third_party/tz': checked out 'b81d0be187f04ca856fc5a68a7ec2b8e460bafef'
Submodule path 'src/valhalla/third_party/unordered_dense': checked out '73f3cbb237e84d483afafc743f1f14ec53e12314'
Submodule path 'src/valhalla/third_party/vtzero': checked out 'd4e8e099a32c37dfb54c04539ce73851bbe35917'
Submodule path 'src/valhalla/third_party/vtzero/test/mvt-fixtures': checked out 'a351144a7aa6ca4b826295cd4454cd4ce3a6f71f'
Submodule path 'src/valhalla/third_party/vtzero/test/mvt-fixtures/vector-tile-spec': checked out '452ef14841f3e1288de8b355f722682b63c1b13f'
Submodule 'src/valhalla' (https://github.com/valhalla/valhalla.git) registered for path 'src/valhalla'
Cloning into '/host/spi-builder-workspace/src/valhalla'...
Submodule 'third_party/cpp-statsd-client' (https://github.com/vthiery/cpp-statsd-client) registered for path 'src/valhalla/third_party/cpp-statsd-client'
Submodule 'third_party/cxxopts' (https://github.com/jarro2783/cxxopts.git) registered for path 'src/valhalla/third_party/cxxopts'
Submodule 'third_party/date' (https://github.com/HowardHinnant/date.git) registered for path 'src/valhalla/third_party/date'
Submodule 'third_party/dirent' (https://github.com/tronkko/dirent) registered for path 'src/valhalla/third_party/dirent'
Submodule 'third_party/fastcov' (https://github.com/RPGillespie6/fastcov.git) registered for path 'src/valhalla/third_party/fastcov'
Submodule 'third_party/googletest' (https://github.com/google/googletest.git) registered for path 'src/valhalla/third_party/googletest'
Submodule 'third_party/just_gtfs' (https://github.com/valhalla/just_gtfs) registered for path 'src/valhalla/third_party/just_gtfs'
Submodule 'third_party/libosmium' (https://github.com/osmcode/libosmium.git) registered for path 'src/valhalla/third_party/libosmium'
Submodule 'third_party/microtar' (https://github.com/rxi/microtar.git) registered for path 'src/valhalla/third_party/microtar'
Submodule 'third_party/nanobind' (https://github.com/wjakob/nanobind) registered for path 'src/valhalla/third_party/nanobind'
Submodule 'third_party/protozero' (https://github.com/mapbox/protozero.git) registered for path 'src/valhalla/third_party/protozero'
Submodule 'rapidjson' (https://github.com/miloyip/rapidjson) registered for path 'src/valhalla/third_party/rapidjson'
Submodule 'third_party/tz' (https://github.com/eggert/tz.git) registered for path 'src/valhalla/third_party/tz'
Submodule 'third_party/unordered_dense' (https://github.com/martinus/unordered_dense) registered for path 'src/valhalla/third_party/unordered_dense'
Submodule 'third_party/vtzero' (https://github.com/mapbox/vtzero.git) registered for path 'src/valhalla/third_party/vtzero'
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/cpp-statsd-client'...
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/cxxopts'...
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/date'...
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/dirent'...
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/fastcov'...
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/googletest'...
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/just_gtfs'...
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/libosmium'...
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/microtar'...
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/nanobind'...
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/protozero'...
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/rapidjson'...
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/tz'...
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/unordered_dense'...
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/vtzero'...
Submodule 'doctest' (https://github.com/onqtam/doctest) registered for path 'src/valhalla/third_party/just_gtfs/doctest'
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/just_gtfs/doctest'...
Submodule 'test/data-tests/osm-testdata' (https://github.com/osmcode/osm-testdata) registered for path 'src/valhalla/third_party/libosmium/test/data-tests/osm-testdata'
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/libosmium/test/data-tests/osm-testdata'...
Submodule 'ext/robin_map' (https://github.com/Tessil/robin-map) registered for path 'src/valhalla/third_party/nanobind/ext/robin_map'
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/nanobind/ext/robin_map'...
Submodule 'thirdparty/gtest' (https://github.com/google/googletest.git) registered for path 'src/valhalla/third_party/rapidjson/thirdparty/gtest'
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/rapidjson/thirdparty/gtest'...
Submodule 'test/mvt-fixtures' (https://github.com/mapbox/mvt-fixtures.git) registered for path 'src/valhalla/third_party/vtzero/test/mvt-fixtures'
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/vtzero/test/mvt-fixtures'...
Submodule 'vector-tile-spec' (https://github.com/mapbox/vector-tile-spec) registered for path 'src/valhalla/third_party/vtzero/test/mvt-fixtures/vector-tile-spec'
Cloning into '/host/spi-builder-workspace/src/valhalla/third_party/vtzero/test/mvt-fixtures/vector-tile-spec'...
Cloned https://github.com/Rallista/valhalla-mobile.git
Revision (git rev-parse @):
fe12a51499db3be67ed03ae20a974be6ffdbd867
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Rallista/valhalla-mobile.git at 0.5.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Rallista/valhalla-mobile.git
https://github.com/Rallista/valhalla-mobile.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Fetching https://github.com/UInt2048/Light-Swift-Untar.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/Rallista/valhalla-openapi-models-swift.git
[1/33] Fetching light-swift-untar
[14/402] Fetching light-swift-untar, valhalla-openapi-models-swift
[265/2673] Fetching light-swift-untar, valhalla-openapi-models-swift, swift-docc-plugin
Fetched https://github.com/Rallista/valhalla-openapi-models-swift.git from cache (0.80s)
Fetched https://github.com/UInt2048/Light-Swift-Untar.git from cache (0.80s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.80s)
Computing version for https://github.com/UInt2048/Light-Swift-Untar.git
Computed https://github.com/UInt2048/Light-Swift-Untar.git at 1.0.4 (3.70s)
Computing version for https://github.com/Rallista/valhalla-openapi-models-swift.git
Computed https://github.com/Rallista/valhalla-openapi-models-swift.git at 0.2.0 (0.72s)
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.27s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (1.13s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.91s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.39s)
Creating working copy for https://github.com/Rallista/valhalla-openapi-models-swift.git
Working copy of https://github.com/Rallista/valhalla-openapi-models-swift.git resolved at 0.2.0
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for https://github.com/UInt2048/Light-Swift-Untar.git
Working copy of https://github.com/UInt2048/Light-Swift-Untar.git resolved at 1.0.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
Downloading binary artifact https://github.com/Rallista/valhalla-mobile/releases/download/0.5.1/valhalla-wrapper.xcframework.zip
[16375/56953222] Downloading https://github.com/Rallista/valhalla-mobile/releases/download/0.5.1/valhalla-wrapper.xcframework.zip
Downloaded https://github.com/Rallista/valhalla-mobile/releases/download/0.5.1/valhalla-wrapper.xcframework.zip (13.73s)
warning: 'valhalla-openapi-models-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/valhalla-openapi-models-swift/Sources/ValhallaModels/openapi.yaml
warning: 'valhalla-openapi-models-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/valhalla-openapi-models-swift/Sources/ValhallaConfigModels/openapi.yaml
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/11] Write sources
[2/11] Copying default.json
[2/11] Write sources
[8/11] Copying tzdata.tar
[9/11] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/apple/Sources/ValhallaObjc/ValhallaWrapper.mm:1:
/host/spi-builder-workspace/apple/Sources/ValhallaObjc/include/ValhallaWrapper.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[10/17] Compiling ValhallaObjc ValhallaWrapper.mm
[11/17] Emitting module Light_Swift_Untar
/host/spi-builder-workspace/.build/checkouts/Light-Swift-Untar/Light-Swift-Untar.swift:106:11: error: cannot find 'autoreleasepool' in scope
104 |         var length = _len, location = _loc
105 |         while length > maxSize {
106 |           autoreleasepool { // Needed to prevent heap overflow when reading large files
    |           `- error: cannot find 'autoreleasepool' in scope
107 |             destinationFile.write(fileHandle.readData(ofLength: Int(maxSize)))
108 |           }
/host/spi-builder-workspace/.build/checkouts/Light-Swift-Untar/Light-Swift-Untar.swift:112:9: error: cannot find 'autoreleasepool' in scope
110 |           length -= maxSize
111 |         }
112 |         autoreleasepool { // Needed to prevent heap overflow when reading large files
    |         `- error: cannot find 'autoreleasepool' in scope
113 |           destinationFile.write(fileHandle.readData(ofLength: Int(length)))
114 |         }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
warning: 'valhalla-openapi-models-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/valhalla-openapi-models-swift/Sources/ValhallaModels/openapi.yaml
warning: 'valhalla-openapi-models-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/valhalla-openapi-models-swift/Sources/ValhallaConfigModels/openapi.yaml
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
In file included from /host/spi-builder-workspace/apple/Sources/ValhallaObjc/ValhallaWrapper.mm:1:
/host/spi-builder-workspace/apple/Sources/ValhallaObjc/include/ValhallaWrapper.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/4] Compiling ValhallaObjc ValhallaWrapper.mm
[2/4] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux