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 main (f04e12), with Swift 6.1 for Wasm on 2 Aug 2025 13:03:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Outdooractive/mvt-tools.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/Outdooractive/mvt-tools
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f04e12e Documentation update
Cloned https://github.com/Outdooractive/mvt-tools.git
Revision (git rev-parse @):
f04e12e7e1f9faf5c4e869b47550f9e03fdf2fc7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Outdooractive/mvt-tools.git at main
========================================
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.2",
            "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.1",
            "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.30.0",
            "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-3":/host -w "$PWD" 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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/Outdooractive/gis-tools
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/apple/swift-argument-parser
[1/1557] Fetching gzipswift
[905/4652] Fetching gzipswift, gis-tools
[4653/20254] Fetching gzipswift, gis-tools, swift-argument-parser
Fetched https://github.com/1024jp/GzipSwift.git from cache (0.74s)
Fetched https://github.com/Outdooractive/gis-tools from cache (0.75s)
Fetching https://github.com/apple/swift-log.git
[781/15602] Fetching swift-argument-parser
[12639/19482] Fetching swift-argument-parser, swift-log
[19483/59410] Fetching swift-argument-parser, swift-log, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (0.93s)
[17998/55530] Fetching swift-argument-parser, swift-protobuf
Fetched https://github.com/apple/swift-argument-parser from cache (1.85s)
[3195/39928] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf from cache (10.37s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.30.0 (11.31s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.91s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.93s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 5.2.0 (3.35s)
Computing version for https://github.com/Outdooractive/gis-tools
Computed https://github.com/Outdooractive/gis-tools at 1.13.2 (0.82s)
Creating working copy for https://github.com/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.30.0
Creating working copy for https://github.com/Outdooractive/gis-tools
Working copy of https://github.com/Outdooractive/gis-tools resolved at 1.13.2
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
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
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/24] Write sources
[4/24] Copying PrivacyInfo.xcprivacy
[4/24] Write sources
[12/24] Compiling system-zlib anchor.c
[13/24] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/198] Emitting module GISTools
/host/spi-builder-workspace/.build/checkouts/gis-tools/Sources/GISTools/Algorithms/Along.swift:2:8: error: no such module 'CoreLocation'
 1 | #if !os(Linux)
 2 | import CoreLocation
   |        `- error: no such module 'CoreLocation'
 3 | #endif
 4 | import Foundation
[16/209] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/209] Emitting module ArgumentParserToolInfo
[18/210] Wrapping AST for ArgumentParserToolInfo for debugging
[20/210] Compiling Logging MetadataProvider.swift
[21/254] Compiling Logging LogHandler.swift
[22/254] Emitting module Logging
[23/254] Compiling Logging Locks.swift
[24/254] Compiling Logging Logging.swift
[25/255] Wrapping AST for Logging for debugging
[27/255] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/255] 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 |
[29/255] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[30/255] Compiling ArgumentParser Mutex.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[31/255] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[32/255] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[33/255] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
[34/255] Compiling ArgumentParser SwiftExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift:17:30: error: no such module 'Dispatch'
 15 | internal import class Foundation.ProcessInfo
 16 | #else
 17 | @preconcurrency import class Dispatch.DispatchSemaphore
    |                              `- error: no such module 'Dispatch'
 18 | import class Foundation.NSLock
 19 | import class Foundation.ProcessInfo
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/188] Compiling Logging MetadataProvider.swift
[6/188] Compiling Logging Locks.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/188] 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 |
[8/188] 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 |
[9/188] Compiling Logging LogHandler.swift
[10/188] Emitting module Logging
[11/188] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm