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 hex-grid, reference 0.4.11 (d02177), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 00:34:30 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fananek/hex-grid.git
Reference: 0.4.11
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/fananek/hex-grid
 * tag               0.4.11     -> FETCH_HEAD
HEAD is now at d021778 update GH actions
Cloned https://github.com/fananek/hex-grid.git
Revision (git rev-parse @):
d021778edfc8775197b6922569cd274a984661df
SUCCESS checkout https://github.com/fananek/hex-grid.git at 0.4.11
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fananek/hex-grid.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin.git
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.90s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.4 (1.32s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.90s)
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/26] Compiling HexGrid Attribute.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[6/26] Compiling HexGrid AttributeDecodable.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[7/26] Compiling HexGrid AttributeEncodable.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[8/29] Compiling HexGrid OrientationEnumeration.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[9/29] Compiling HexGrid RotationEnumeration.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[10/29] Compiling HexGrid Generator.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/29] Emitting module HexGrid
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[12/29] Compiling HexGrid DirectionsEnumeration.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[13/29] Compiling HexGrid GridShapeEnumeration.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[14/29] Compiling HexGrid OffsetLayoutEnumeration.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[15/29] Compiling HexGrid OffsetCoordinates.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[16/29] Compiling HexGrid Heap.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[17/29] Compiling HexGrid HexSize.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[18/29] Compiling HexGrid AxialCoordinates.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[19/29] Compiling HexGrid CubeCoordinates.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[20/29] Compiling HexGrid CubeFractionalCoordinates.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[21/29] Compiling HexGrid Node.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[22/29] Compiling HexGrid Point.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[23/29] Compiling HexGrid PriorityQueue.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[24/29] Compiling HexGrid Cell.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[25/29] Compiling HexGrid Convertor.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[26/29] Compiling HexGrid InvalidArgumentError.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[27/29] Compiling HexGrid HexGrid.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[28/29] Compiling HexGrid Math.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
[29/29] Compiling HexGrid OrientationMatrix.swift
/host/spi-builder-workspace/Sources/HexGrid/DataStructures/Attributes/Attribute.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /**
BUILD FAILURE 6.2 wasm