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 ColorPaletteCodable, reference 6.7.2 (bae0a8), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 07:10:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/dagronf/ColorPaletteCodable.git
Reference: 6.7.2
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/dagronf/ColorPaletteCodable
 * tag               6.7.2      -> FETCH_HEAD
HEAD is now at bae0a8f Fixed compile error on older Xcode
Cloned https://github.com/dagronf/ColorPaletteCodable.git
Revision (git rev-parse @):
bae0a8fad95f8184ea0f2094cc3ba201e2920da6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/dagronf/ColorPaletteCodable.git at 6.7.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dagronf/ColorPaletteCodable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/dagronf/SwiftImageReadWrite
Fetching https://github.com/dagronf/DSFRegex
Fetching https://github.com/dagronf/TinyCSV
Fetching https://github.com/dagronf/BytesParser
[1/378] Fetching swiftimagereadwrite
[379/655] Fetching swiftimagereadwrite, tinycsv
[625/895] Fetching swiftimagereadwrite, tinycsv, dsfregex
[769/1351] Fetching swiftimagereadwrite, tinycsv, dsfregex, bytesparser
Fetched https://github.com/dagronf/SwiftImageReadWrite from cache (0.39s)
Fetched https://github.com/dagronf/TinyCSV from cache (0.41s)
Fetched https://github.com/dagronf/DSFRegex from cache (0.41s)
Fetched https://github.com/dagronf/BytesParser from cache (0.41s)
Computing version for https://github.com/dagronf/BytesParser
Computed https://github.com/dagronf/BytesParser at 3.2.1 (1.45s)
Computing version for https://github.com/dagronf/DSFRegex
Computed https://github.com/dagronf/DSFRegex at 3.4.0 (0.49s)
Computing version for https://github.com/dagronf/TinyCSV
Computed https://github.com/dagronf/TinyCSV at 1.2.0 (0.46s)
Computing version for https://github.com/dagronf/SwiftImageReadWrite
Computed https://github.com/dagronf/SwiftImageReadWrite at 1.9.2 (0.48s)
Creating working copy for https://github.com/dagronf/BytesParser
Working copy of https://github.com/dagronf/BytesParser resolved at 3.2.1
Creating working copy for https://github.com/dagronf/SwiftImageReadWrite
Working copy of https://github.com/dagronf/SwiftImageReadWrite resolved at 1.9.2
Creating working copy for https://github.com/dagronf/DSFRegex
Working copy of https://github.com/dagronf/DSFRegex resolved at 3.4.0
Creating working copy for https://github.com/dagronf/TinyCSV
Working copy of https://github.com/dagronf/TinyCSV resolved at 1.2.0
Building for debugging...
[0/19] Write sources
[0/19] Copying PrivacyInfo.xcprivacy
[6/19] Write sources
[7/19] Copying PrivacyInfo.xcprivacy
[8/19] Write sources
[9/19] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/65] Emitting module TinyCSV
/host/spi-builder-workspace/.build/checkouts/TinyCSV/Sources/TinyCSV/TinyCSV+Decode.swift:22:8: error: no such module 'Foundation'
20 | // CSV decoding routines
21 |
22 | import Foundation
   |        `- error: no such module 'Foundation'
23 |
24 | public extension TinyCSV.Coder {
[12/66] Compiling DSFRegex resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:27:8: error: no such module 'Foundation'
 25 | //
 26 |
 27 | import Foundation
    |        `- error: no such module 'Foundation'
 28 |
 29 | /// A regex class wrapper for Swift
[13/66] Compiling DSFRegex String+CursorExtensions.swift
/host/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:27:8: error: no such module 'Foundation'
 25 | //
 26 |
 27 | import Foundation
    |        `- error: no such module 'Foundation'
 28 |
 29 | /// A regex class wrapper for Swift
[14/66] Compiling TinyCSV resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/TinyCSV/Sources/TinyCSV/TinyCSV+Decode.swift:22:8: error: no such module 'Foundation'
20 | // CSV decoding routines
21 |
22 | import Foundation
   |        `- error: no such module 'Foundation'
23 |
24 | public extension TinyCSV.Coder {
[15/66] Compiling SwiftImageReadWrite CGImage+platform.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[16/66] Compiling SwiftImageReadWrite CIImage+extensions.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[17/68] Compiling SwiftImageReadWrite PlatformImage+codable.swift
/host/spi-builder-workspace/.build/checkouts/BytesParser/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[18/68] Compiling SwiftImageReadWrite PlatformImage+export.swift
/host/spi-builder-workspace/.build/checkouts/BytesParser/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/68] Compiling SwiftImageReadWrite CGImage+SVG.swift
/host/spi-builder-workspace/.build/checkouts/BytesParser/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[20/68] Compiling SwiftImageReadWrite CGImage+codable.swift
/host/spi-builder-workspace/.build/checkouts/BytesParser/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[21/68] Compiling SwiftImageReadWrite CGImage+colorspace.swift
/host/spi-builder-workspace/.build/checkouts/BytesParser/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[22/68] Emitting module BytesParser
/host/spi-builder-workspace/.build/checkouts/BytesParser/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
/host/spi-builder-workspace/.build/checkouts/BytesParser/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
/host/spi-builder-workspace/.build/checkouts/BytesParser/Sources/BytesParser/BytesParser.swift:20:8: error: no such module 'Foundation'
18 | //
19 |
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 |
22 | public class BytesParser {
[25/70] Compiling SwiftImageReadWrite PlatformImage.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[26/70] Compiling SwiftImageReadWrite Utils.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/70] Emitting module SwiftImageReadWrite
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[31/70] Compiling SwiftImageReadWrite CGImage+export.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[32/70] Compiling SwiftImageReadWrite CGImage+extensions.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[33/70] Compiling SwiftImageReadWrite CGImage+import.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[36/70] Compiling BytesParser InputStreamSource.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[37/70] Compiling SwiftImageReadWrite resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/70] Emitting module DSFRegex
/host/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:27:8: error: no such module 'Foundation'
 25 | //
 26 |
 27 | import Foundation
    |        `- error: no such module 'Foundation'
 28 |
 29 | /// A regex class wrapper for Swift
[39/70] Compiling DSFRegex DSFRegex.swift
/host/spi-builder-workspace/.build/checkouts/DSFRegex/Sources/DSFRegex/DSFRegex.swift:27:8: error: no such module 'Foundation'
 25 | //
 26 |
 27 | import Foundation
    |        `- error: no such module 'Foundation'
 28 |
 29 | /// A regex class wrapper for Swift
[40/70] Compiling SwiftImageReadWrite Errors.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[41/70] Compiling SwiftImageReadWrite ImageExportTypes.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[42/70] Compiling SwiftImageReadWrite PlatformImage+import.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[43/70] Compiling BytesParser InMemorySource.swift
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SwiftImageReadWrite.build/DerivedSources/resource_bundle_accessor.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension Foundation.Bundle {
[44/70] Compiling TinyCSV TinyCSV+EventDrivenDecoder.swift
/host/spi-builder-workspace/.build/checkouts/TinyCSV/Sources/TinyCSV/TinyCSV+Decode.swift:22:8: error: no such module 'Foundation'
20 | // CSV decoding routines
21 |
22 | import Foundation
   |        `- error: no such module 'Foundation'
23 |
24 | public extension TinyCSV.Coder {
/host/spi-builder-workspace/.build/checkouts/TinyCSV/Sources/TinyCSV/TinyCSV+Decode.swift:22:8: error: no such module 'Foundation'
20 | // CSV decoding routines
21 |
22 | import Foundation
   |        `- error: no such module 'Foundation'
23 |
24 | public extension TinyCSV.Coder {
BUILD FAILURE 6.2 wasm