The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PMTiles, reference 0.2.0 (3cca5d), with Swift 6.1 for macOS (SPM) on 9 Oct 2026 18:48:23 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Xenoglyphiq/pmtiles-swift.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Xenoglyphiq/pmtiles-swift
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 3cca5df Spec v0.2.0; release 0.2.0 (#6)
Cloned https://github.com/Xenoglyphiq/pmtiles-swift.git
Revision (git rev-parse @):
3cca5df649f253316bda17382f455a4aeb338c8f
SUCCESS checkout https://github.com/Xenoglyphiq/pmtiles-swift.git at 0.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Xenoglyphiq/pmtiles-swift.git
https://github.com/Xenoglyphiq/pmtiles-swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PMTiles",
  "name" : "PMTiles",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "PMTiles",
      "targets" : [
        "PMTiles"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PMTilesIO",
      "targets" : [
        "PMTilesIO"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "remote_metadata",
      "targets" : [
        "remote_metadata"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "pmtiles-fuzz",
      "targets" : [
        "pmtiles-fuzz"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "pmtiles-conformance",
      "targets" : [
        "pmtiles-conformance"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "pmtiles-bench",
      "targets" : [
        "pmtiles-bench"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "inspect_archive",
      "targets" : [
        "inspect_archive"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "fetch_one_tile",
      "targets" : [
        "fetch_one_tile"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "remote_metadata",
      "module_type" : "SwiftTarget",
      "name" : "remote_metadata",
      "path" : "Examples/remote_metadata",
      "product_memberships" : [
        "remote_metadata"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "PMTilesIO"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "pmtiles_fuzz",
      "module_type" : "SwiftTarget",
      "name" : "pmtiles-fuzz",
      "path" : "Sources/pmtiles-fuzz",
      "product_memberships" : [
        "pmtiles-fuzz"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "PMTiles",
        "PMTilesIO"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "pmtiles_conformance",
      "module_type" : "SwiftTarget",
      "name" : "pmtiles-conformance",
      "path" : "Sources/pmtiles-conformance",
      "product_memberships" : [
        "pmtiles-conformance"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "PMTiles",
        "PMTilesIO"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "pmtiles_bench",
      "module_type" : "SwiftTarget",
      "name" : "pmtiles-bench",
      "path" : "Sources/pmtiles-bench",
      "product_memberships" : [
        "pmtiles-bench"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "PMTiles",
        "PMTilesIO"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "inspect_archive",
      "module_type" : "SwiftTarget",
      "name" : "inspect_archive",
      "path" : "Examples/inspect_archive",
      "product_memberships" : [
        "inspect_archive"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "PMTiles"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "fetch_one_tile",
      "module_type" : "SwiftTarget",
      "name" : "fetch_one_tile",
      "path" : "Examples/fetch_one_tile",
      "product_memberships" : [
        "fetch_one_tile"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "PMTiles",
        "PMTilesIO"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PMTilesTests",
      "module_type" : "SwiftTarget",
      "name" : "PMTilesTests",
      "path" : "Tests/PMTilesTests",
      "sources" : [
        "GzipVectors.swift",
        "PMTilesTests.swift"
      ],
      "target_dependencies" : [
        "PMTiles",
        "PMTilesIO"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PMTilesIO",
      "module_type" : "SwiftTarget",
      "name" : "PMTilesIO",
      "path" : "Sources/PMTilesIO",
      "product_memberships" : [
        "PMTilesIO",
        "remote_metadata",
        "pmtiles-fuzz",
        "pmtiles-conformance",
        "pmtiles-bench",
        "fetch_one_tile"
      ],
      "sources" : [
        "Gzip.swift",
        "HTTPSource.swift",
        "IO.swift"
      ],
      "target_dependencies" : [
        "PMTiles"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PMTiles",
      "module_type" : "SwiftTarget",
      "name" : "PMTiles",
      "path" : "Sources/PMTiles",
      "product_memberships" : [
        "PMTiles",
        "PMTilesIO",
        "remote_metadata",
        "pmtiles-fuzz",
        "pmtiles-conformance",
        "pmtiles-bench",
        "inspect_archive",
        "fetch_one_tile"
      ],
      "sources" : [
        "Core.swift",
        "Types.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/33] Write sources
[4/33] Write pmtiles-bench-entitlement.plist
[5/33] Write inspect_archive-entitlement.plist
[5/33] Write pmtiles-conformance-entitlement.plist
[6/33] Write sources
[8/33] Write remote_metadata-entitlement.plist
[8/33] Write pmtiles-fuzz-entitlement.plist
[8/33] Write sources
[12/33] Write fetch_one_tile-entitlement.plist
[12/33] Write sources
[14/33] Write swift-version-2F0A5646E1D333AE.txt
[16/36] Compiling PMTiles Types.swift
[17/36] Emitting module PMTiles
[18/36] Compiling PMTiles Core.swift
[19/42] Compiling PMTilesIO IO.swift
[20/42] Emitting module inspect_archive
[21/42] Compiling inspect_archive main.swift
[22/42] Compiling PMTilesIO HTTPSource.swift
[22/42] Write Objects.LinkFileList
[23/42] Linking inspect_archive
[24/42] Applying inspect_archive
[26/42] Emitting module PMTilesIO
[27/42] Compiling PMTilesIO Gzip.swift
/Users/admin/builder/spi-builder-workspace/Sources/PMTilesIO/Gzip.swift:67:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 65 | package func crc32(_ bytes: [UInt8]) -> UInt32 {
 66 |     var c: UInt32 = 0xFFFF_FFFF
 67 |     crcTables.withUnsafeBufferPointer { t in
    |     `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 68 |         bytes.withUnsafeBufferPointer { b in
 69 |             var i = 0
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/19] Write swift-version-2F0A5646E1D333AE.txt
[2/22] Emitting module PMTiles
[3/22] Compiling PMTiles Types.swift
[4/22] Compiling PMTiles Core.swift
[5/28] Emitting module inspect_archive
[6/28] Compiling inspect_archive main.swift
[7/27] Compiling PMTilesIO IO.swift
[7/27] Linking inspect_archive
[8/27] Applying inspect_archive
[10/27] Compiling PMTilesIO HTTPSource.swift
[11/27] Emitting module PMTilesIO
[12/27] Compiling PMTilesIO Gzip.swift
/Users/admin/builder/spi-builder-workspace/Sources/PMTilesIO/Gzip.swift:67:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 65 | package func crc32(_ bytes: [UInt8]) -> UInt32 {
 66 |     var c: UInt32 = 0xFFFF_FFFF
 67 |     crcTables.withUnsafeBufferPointer { t in
    |     `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 68 |         bytes.withUnsafeBufferPointer { b in
 69 |             var i = 0
BUILD FAILURE 6.1 macosSpm