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 mvt-tools, reference v1.10.3 (74ccfa), with Swift 6.1 for Wasm on 30 Oct 2025 06:22:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Outdooractive/mvt-tools.git
Reference: v1.10.3
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/Outdooractive/mvt-tools
 * tag               v1.10.3    -> FETCH_HEAD
HEAD is now at 74ccfa1 Replace os(Linux) with canImport(CoreLocation)
Cloned https://github.com/Outdooractive/mvt-tools.git
Revision (git rev-parse @):
74ccfa17072c38bb070891ca7016879ada70d2e6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Outdooractive/mvt-tools.git at v1.10.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Outdooractive/mvt-tools.git
https://github.com/Outdooractive/mvt-tools.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "gis-tools",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.13.6",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Outdooractive/gis-tools"
    },
    {
      "identity" : "gzipswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.2.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/1024jp/GzipSwift.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.33.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-protobuf"
    }
  ],
  "manifest_display_name" : "mvt-tools",
  "name" : "mvt-tools",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "mvt",
      "targets" : [
        "MVTCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "MVTTools",
      "targets" : [
        "MVTTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MVTToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "MVTToolsTests",
      "path" : "Tests/MVTToolsTests",
      "sources" : [
        "Coders/MVTDecoderTests.swift",
        "Coders/MVTEncoderTests.swift",
        "Extensions/ArrayExtensionsTests.swift",
        "Extensions/DictionaryExtensionsTests.swift",
        "GeoJsonTests.swift",
        "ProjectionTests.swift",
        "QueryParserTests.swift",
        "QueryTests.swift",
        "TestData.swift",
        "VectorTileTests.swift"
      ],
      "target_dependencies" : [
        "MVTTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MVTTools",
      "module_type" : "SwiftTarget",
      "name" : "MVTTools",
      "path" : "Sources/MVTTools",
      "product_dependencies" : [
        "GISTools",
        "Gzip",
        "Logging",
        "SwiftProtobuf"
      ],
      "product_memberships" : [
        "mvt",
        "MVTTools"
      ],
      "sources" : [
        "Coders/MVTDecoder.swift",
        "Coders/MVTEncoder.swift",
        "ExportOptions.swift",
        "Extensions/ArrayExtensions.swift",
        "Extensions/DictionaryExtensions.swift",
        "Extensions/DoubleExtensions.swift",
        "Extensions/IntExtensions.swift",
        "Extensions/RingExtensions.swift",
        "Extensions/StringExtensions.swift",
        "GeoJson.swift",
        "Info.swift",
        "Merge.swift",
        "Query.swift",
        "QueryParser.swift",
        "VectorTile.swift",
        "VectorTile_Tile.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MVTCLI",
      "module_type" : "SwiftTarget",
      "name" : "MVTCLI",
      "path" : "Sources/MVTCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "mvt"
      ],
      "sources" : [
        "CLI.swift",
        "Dump.swift",
        "Export.swift",
        "Extensions/ArrayExtensions.swift",
        "Extensions/IntExtensions.swift",
        "Extensions/OptionalProtocol.swift",
        "Extensions/SetExtensions.swift",
        "Extensions/StringExtensions.swift",
        "Import.swift",
        "Info.swift",
        "Merge.swift",
        "Query.swift",
        "Version.swift"
      ],
      "target_dependencies" : [
        "MVTTools"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/1024jp/GzipSwift.git
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Outdooractive/gis-tools
[1/1557] Fetching gzipswift
[1558/5712] Fetching gzipswift, swift-log
[1849/8969] Fetching gzipswift, swift-log, gis-tools
Fetched https://github.com/1024jp/GzipSwift.git from cache (0.58s)
[7205/7412] Fetching swift-log, gis-tools
Fetched https://github.com/Outdooractive/gis-tools from cache (0.67s)
Fetched https://github.com/apple/swift-log.git from cache (0.70s)
[1/40662] Fetching swift-protobuf
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/apple/swift-protobuf from cache (12.30s)
[1/16685] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.91s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (13.84s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.66s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 5.2.0 (2.90s)
Computing version for https://github.com/Outdooractive/gis-tools
Computed https://github.com/Outdooractive/gis-tools at 1.13.6 (0.76s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.33.3 (1.27s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/1024jp/GzipSwift.git
Working copy of https://github.com/1024jp/GzipSwift.git resolved at 5.2.0
Creating working copy for https://github.com/Outdooractive/gis-tools
Working copy of https://github.com/Outdooractive/gis-tools resolved at 1.13.6
Creating working copy for https://github.com/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.33.3
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/24] Write sources
[3/24] Copying PrivacyInfo.xcprivacy
[3/24] Write sources
[12/24] Compiling system-zlib anchor.c
[13/24] Write swift-version-24593BA9C3E375BF.txt
[15/199] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/199] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
 32 |     import zlibLinux
 33 | #else
 34 |     import zlib
    |            `- error: no such module 'zlib'
 35 | #endif
 36 |
[17/199] Emitting module ArgumentParserToolInfo
[18/199] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/200] Emitting module GISTools
[20/211] Wrapping AST for ArgumentParserToolInfo for debugging
[22/255] Compiling Logging MetadataProvider.swift
[23/255] Compiling Logging LogHandler.swift
[24/255] Compiling Logging Locks.swift
[25/255] Compiling Logging Logging.swift
[26/256] Wrapping AST for Logging for debugging
[28/256] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
 32 |     import zlibLinux
 33 | #else
 34 |     import zlib
    |            `- error: no such module 'zlib'
 35 | #endif
 36 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/14] Write swift-version-24593BA9C3E375BF.txt
[5/189] Emitting module ArgumentParserToolInfo
[6/189] Compiling Logging MetadataProvider.swift
[7/189] Compiling Logging Locks.swift
[8/189] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/189] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
 32 |     import zlibLinux
 33 | #else
 34 |     import zlib
    |            `- error: no such module 'zlib'
 35 | #endif
 36 |
[10/189] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
 32 |     import zlibLinux
 33 | #else
 34 |     import zlib
    |            `- error: no such module 'zlib'
 35 | #endif
 36 |
BUILD FAILURE 6.1 wasm