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 SwiftSVG, reference master (88b9ee), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 23:17:33 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/mchoe/SwiftSVG.git
Reference: master
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/mchoe/SwiftSVG
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 88b9ee0 Merge pull request #161 from okipol88/fix/cssColorNamesMissing
Cloned https://github.com/mchoe/SwiftSVG.git
Revision (git rev-parse @):
88b9ee086b29019e35f6f49c8e30e5552eb8fa9d
SUCCESS checkout https://github.com/mchoe/SwiftSVG.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mchoe/SwiftSVG.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/45] Emitting module SwiftSVG
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[4/51] Compiling SwiftSVG CoordinateLexer.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[5/51] Compiling SwiftSVG PathCommand.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[6/51] Compiling SwiftSVG PathDLexer.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[7/51] Compiling SwiftSVG NSXMLSVGParser.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[8/51] Compiling SwiftSVG SVGParser.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[9/51] Compiling SwiftSVG SVGParserSupportedElements.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[10/51] Compiling SwiftSVG CrossPlatform.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[11/51] Compiling SwiftSVG NSBezierPath+CrossPlatform.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[12/51] Compiling SwiftSVG CALayer+SVG.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[13/51] Compiling SwiftSVG CAShapeLayer+SVG.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[14/51] Compiling SwiftSVG SVGLayer.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[15/51] Compiling SwiftSVG SVGView.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[16/51] Compiling SwiftSVG Scalar+FromByteArray.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[17/51] Compiling SwiftSVG Stack.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[18/51] Compiling SwiftSVG String+Subscript.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[19/51] Compiling SwiftSVG String+Trim.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[20/51] Compiling SwiftSVG UIColor+Extensions.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[21/51] Compiling SwiftSVG Unown.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[22/51] Compiling SwiftSVG UIBezierPath+SVG.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[23/51] Compiling SwiftSVG UIView+SVG.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[24/51] Compiling SwiftSVG DelaysApplyingAttributes.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[25/51] Compiling SwiftSVG Fillable.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[26/51] Compiling SwiftSVG Identifiable.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[27/51] Compiling SwiftSVG Strokable.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[28/51] Compiling SwiftSVG Data+CacheKey.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[29/51] Compiling SwiftSVG Dictionary+Add.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[30/51] Compiling SwiftSVG Dictionary+JSON.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[31/51] Compiling SwiftSVG DispatchQueue+Extensions.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[32/51] Compiling SwiftSVG FloatingPoint+DegreesRadians.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[33/51] Compiling SwiftSVG Print.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[34/51] Compiling SwiftSVG SVGPolyline.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[35/51] Compiling SwiftSVG SVGRectangle.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[36/51] Compiling SwiftSVG SVGRootElement.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[37/51] Compiling SwiftSVG SVGShapeElement.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[38/51] Compiling SwiftSVG BinaryFloatingPoint+ParseLengthString.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[39/51] Compiling SwiftSVG CALayer+Sublayers.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[40/51] Compiling SwiftSVG SVGElement.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[41/51] Compiling SwiftSVG SVGEllipse.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[42/51] Compiling SwiftSVG SVGGroup.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[43/51] Compiling SwiftSVG SVGLine.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[44/51] Compiling SwiftSVG SVGPath.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[45/51] Compiling SwiftSVG SVGPolygon.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[46/51] Compiling SwiftSVG Stylable.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[47/51] Compiling SwiftSVG Transformable.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[48/51] Compiling SwiftSVG SVGCache.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[49/51] Compiling SwiftSVG ParsesAsynchronously.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[50/51] Compiling SwiftSVG SVGCircle.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
[51/51] Compiling SwiftSVG SVGContainerElement.swift
/host/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:31:8: error: no such module 'Foundation'
29 |
30 |
31 | import Foundation
   |        `- error: no such module 'Foundation'
32 |
33 | #if os(iOS) || os(tvOS)
BUILD FAILURE 6.2 wasm