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 (e8651d), with Swift 6.1 for Wasm on 29 May 2025 16:58:28 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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 e8651d6 Revert GzipSwift to 5.2.0
Cloned https://github.com/Outdooractive/mvt-tools.git
Revision (git rev-parse @):
e8651d6b74a370347cf11852f650a29bf2b5f895
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.8.4",
            "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.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.26.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" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.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" : [
        "ArrayExtensionsTests.swift",
        "DictionaryExtensionsTests.swift",
        "FixtureInfo.swift",
        "GeoJsonTests.swift",
        "MVTDecoderTests.swift",
        "MVTEncoderTests.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" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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-argument-parser
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/Outdooractive/gis-tools
Fetching https://github.com/apple/swift-log.git
[1/2840] Fetching gis-tools
[2841/4389] Fetching gis-tools, gzipswift
[4390/8225] Fetching gis-tools, gzipswift, swift-log
Fetched https://github.com/Outdooractive/gis-tools from cache (0.47s)
[3928/5385] Fetching gzipswift, swift-log
[5386/20764] Fetching gzipswift, swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (0.66s)
[3087/16928] Fetching gzipswift, swift-argument-parser
[16929/56239] Fetching gzipswift, swift-argument-parser, swift-protobuf
Fetched https://github.com/apple/swift-argument-parser from cache (1.31s)
[4694/40860] Fetching gzipswift, swift-protobuf
Fetched https://github.com/1024jp/GzipSwift.git from cache (7.94s)
Fetched https://github.com/apple/swift-protobuf from cache (8.01s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 5.2.0 (10.52s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.67s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.78s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.30.0 (0.53s)
Computing version for https://github.com/Outdooractive/gis-tools
Computed https://github.com/Outdooractive/gis-tools at 1.12.3 (0.53s)
Creating working copy for https://github.com/Outdooractive/gis-tools
Working copy of https://github.com/Outdooractive/gis-tools resolved at 1.12.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
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-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.30.0
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.3
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/23] Write sources
[8/23] Copying PrivacyInfo.xcprivacy
[9/23] Write sources
[11/23] Compiling system-zlib anchor.c
[12/23] Write swift-version-24593BA9C3E375BF.txt
[14/197] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/197] 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 |
[16/197] Emitting module ArgumentParserToolInfo
[17/197] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/198] Wrapping AST for ArgumentParserToolInfo for debugging
[20/236] Compiling Logging MetadataProvider.swift
[21/236] Compiling Logging Logging.swift
[22/236] Compiling Logging LogHandler.swift
[23/236] Compiling Logging Locks.swift
[24/237] Wrapping AST for Logging for debugging
[26/237] Compiling ArgumentParser OptionGroup.swift
[27/237] Compiling ArgumentParser AsyncParsableCommand.swift
[28/237] Compiling ArgumentParser CommandConfiguration.swift
[29/237] Compiling ArgumentParser CommandGroup.swift
[30/237] Compiling ArgumentParser EnumerableFlag.swift
[31/242] 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 |
[32/242] Compiling ArgumentParser CompletionsGenerator.swift
/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
[33/242] Compiling ArgumentParser FishCompletionsGenerator.swift
/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
[34/242] Compiling ArgumentParser ZshCompletionsGenerator.swift
/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
[35/242] Compiling ArgumentParser Argument.swift
/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
[36/242] Compiling ArgumentParser ArgumentHelp.swift
/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
[37/242] Compiling ArgumentParser ExpressibleByArgument.swift
/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
[38/242] Compiling ArgumentParser ParsableArguments.swift
/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
[39/242] Compiling ArgumentParser ParsableArgumentsValidation.swift
/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
[40/242] Compiling ArgumentParser ParsableCommand.swift
/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
[41/242] Compiling ArgumentParser ArgumentDecoder.swift
/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
[42/242] Compiling ArgumentParser ArgumentDefinition.swift
/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
[43/242] Compiling ArgumentParser ArgumentSet.swift
/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/242] 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
/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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
Building for debugging...
[2/13] Write swift-version-24593BA9C3E375BF.txt
[4/157] Compiling Logging Locks.swift
[5/187] Compiling Logging LogHandler.swift
[6/187] Compiling Logging MetadataProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/187] 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/187] 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/187] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm