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 SwiftDithering, reference 1.4.0 (18605f), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 23:10:55 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/lugalu/SwiftDithering.git
Reference: 1.4.0
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/lugalu/SwiftDithering
 * tag               1.4.0      -> FETCH_HEAD
HEAD is now at 18605f4 Updated Readme
Cloned https://github.com/lugalu/SwiftDithering.git
Revision (git rev-parse @):
18605f4eb2dae26f3062029cbb36603741507838
SUCCESS checkout https://github.com/lugalu/SwiftDithering.git at 1.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/lugalu/SwiftDithering.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
warning: 'spi-builder-workspace': Invalid Resource 'Resources/bayer8x8.png': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Resources/balancedCenteredPoint6x6.png': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Resources/centralWhitePoint6x6.png': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Resources/clusteredDots6x6.png': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Resources/diagonalOrdered8x8.png': File not found.
Building for debugging...
[0/7] Copying clusteredDots6x6.png
[0/7] Copying diagonalOrdered8x8.png
[0/7] Copying bayer8x8.png
[1/7] Copying centralWhitePoint6x6.png
[1/7] Copying balancedCenteredPoint6x6.png
[5/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/23] Emitting module SwiftDithering
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[9/25] Compiling SwiftDithering OrderedDithering.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[10/25] Compiling SwiftDithering Stucki.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[11/25] Compiling SwiftDithering Thresholding.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[12/25] Compiling SwiftDithering resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[13/25] Compiling SwiftDithering QuantizationMath.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[14/25] Compiling SwiftDithering Bayer.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[15/25] Compiling SwiftDithering ErrorDifusion.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[16/25] Compiling SwiftDithering FloydSteinberg.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[17/25] Compiling SwiftDithering Downsamplers.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[18/25] Compiling SwiftDithering GeneralMath.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[19/25] Compiling SwiftDithering ColorSpace.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[20/25] Compiling SwiftDithering Creators.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[21/25] Compiling SwiftDithering ImageErrors.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[22/25] Compiling SwiftDithering ImageLoopers.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[23/25] Compiling SwiftDithering BayerMatrix.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[24/25] Compiling SwiftDithering Ordered.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
[25/25] Compiling SwiftDithering OrderedKernel.swift
/host/spi-builder-workspace/Sources/SwiftDithering/CIFilter/BayerMatrix.swift:3:8: error: no such module 'Foundation'
 1 | //Created by Lugalu on 08/08/24.
 2 |
 3 | import Foundation
   |        `- error: no such module 'Foundation'
 4 |
 5 | /**
BUILD FAILURE 6.2 wasm