Build Information
Failed to build VectorPlus, reference main (ca549e), with Swift 6.2 for Wasm on 20 Feb 2026 01:21:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/VectorPlus.git
Reference: main
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/richardpiazza/VectorPlus
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ca549e3 Added Platform Builds (#11)
Cloned https://github.com/richardpiazza/VectorPlus.git
Revision (git rev-parse @):
ca549e38620f2db9e004c5bb71c2720df36ae276
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/richardpiazza/VectorPlus.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/richardpiazza/VectorPlus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/swiftlang/swift-testing.git
Fetching https://github.com/richardpiazza/SwiftSVG.git
Fetching https://github.com/richardpiazza/SwiftColor.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/193] Fetching swiftcolor
[194/836] Fetching swiftcolor, swiftsvg
[510/17995] Fetching swiftcolor, swiftsvg, swift-argument-parser
[17996/18975] Fetching swiftcolor, swiftsvg, swift-argument-parser, shellout
[18055/52988] Fetching swiftcolor, swiftsvg, swift-argument-parser, shellout, swift-testing
Fetched https://github.com/richardpiazza/SwiftColor.git from cache (1.58s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.58s)
Fetched https://github.com/richardpiazza/SwiftSVG.git from cache (1.58s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.59s)
Fetched https://github.com/swiftlang/swift-testing.git from cache (1.61s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (4.16s)
Computing version for https://github.com/richardpiazza/SwiftColor.git
Computed https://github.com/richardpiazza/SwiftColor.git at 0.3.2 (0.40s)
Computing version for https://github.com/richardpiazza/SwiftSVG.git
Computed https://github.com/richardpiazza/SwiftSVG.git at 0.12.0 (1.09s)
Fetching https://github.com/richardpiazza/Swift2D.git
Fetching https://github.com/CoreOffice/XMLCoder.git
[1/300] Fetching swift2d
[301/10382] Fetching swift2d, xmlcoder
Fetched https://github.com/richardpiazza/Swift2D.git from cache (0.50s)
Fetched https://github.com/CoreOffice/XMLCoder.git from cache (0.51s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (0.95s)
Computing version for https://github.com/richardpiazza/Swift2D.git
Computed https://github.com/richardpiazza/Swift2D.git at 2.2.1 (0.38s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.18.0 (4.88s)
Computing version for https://github.com/swiftlang/swift-testing.git
Computed https://github.com/swiftlang/swift-testing.git at 6.2.3 (1.30s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/74303] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.19s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (11.32s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/richardpiazza/SwiftSVG.git
Working copy of https://github.com/richardpiazza/SwiftSVG.git resolved at 0.12.0
Creating working copy for https://github.com/CoreOffice/XMLCoder.git
Working copy of https://github.com/CoreOffice/XMLCoder.git resolved at 0.18.0
Creating working copy for https://github.com/richardpiazza/Swift2D.git
Working copy of https://github.com/richardpiazza/Swift2D.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.0
Creating working copy for https://github.com/swiftlang/swift-testing.git
Working copy of https://github.com/swiftlang/swift-testing.git resolved at 6.2.3
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/richardpiazza/SwiftColor.git
Working copy of https://github.com/richardpiazza/SwiftColor.git resolved at 0.3.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.41s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[10/21] Write swift-version-24593BA9C3E375BF.txt
[12/88] Emitting module XMLCoder
[13/94] Compiling Swift2D Size.swift
[14/94] Emitting module ArgumentParserToolInfo
[15/94] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/95] Wrapping AST for ArgumentParserToolInfo for debugging
[18/141] Compiling Swift2D Point.swift
[19/141] Emitting module ArgumentParser
[20/147] Compiling ArgumentParser BashCompletionsGenerator.swift
[21/147] Compiling ArgumentParser CompletionsGenerator.swift
[22/147] Compiling ArgumentParser FishCompletionsGenerator.swift
[23/147] Compiling ArgumentParser ZshCompletionsGenerator.swift
[24/147] Compiling ArgumentParser Argument.swift
[25/147] Compiling ArgumentParser ArgumentDiscussion.swift
[26/147] Compiling ArgumentParser Foundation.swift
[27/147] Compiling ArgumentParser Mutex.swift
[28/147] Compiling ArgumentParser Platform.swift
[29/147] Compiling ArgumentParser SequenceExtensions.swift
[30/147] Compiling ArgumentParser StringExtensions.swift
[31/147] Compiling ArgumentParser SwiftExtensions.swift
[38/147] Emitting module SwiftColor
[41/148] Compiling ArgumentParser InputKey.swift
[42/148] Compiling ArgumentParser InputOrigin.swift
[43/148] Compiling ArgumentParser Name.swift
[44/148] Compiling ArgumentParser Parsed.swift
[45/148] Compiling ArgumentParser ParsedValues.swift
[46/148] Compiling ArgumentParser ParserError.swift
[47/148] Compiling ArgumentParser SplitArguments.swift
[48/148] Compiling ArgumentParser Option.swift
[49/148] Compiling ArgumentParser OptionGroup.swift
[50/148] Compiling ArgumentParser ParentCommand.swift
[51/148] Compiling ArgumentParser AsyncParsableCommand.swift
[52/148] Compiling ArgumentParser CommandConfiguration.swift
[53/148] Compiling ArgumentParser CommandGroup.swift
[54/148] Compiling ArgumentParser EnumerableFlag.swift
[57/148] Compiling SwiftColor Pigment+SwiftUI.swift
[58/148] Compiling SwiftColor Pigment+UIKit.swift
[59/148] Compiling SwiftColor Pigment+String.swift
[62/148] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/SwiftColor/Sources/SwiftColor/Pigment+Hex.swift:134:33: error: integer literal '4278190080' overflows when stored into 'Int'
132 | hex: Int
133 | ) -> (red: Double, green: Double, blue: Double, alpha: Double) {
134 | let red = Double((hex & 0xFF00_0000) >> 24) / 255.0
| `- error: integer literal '4278190080' overflows when stored into 'Int'
135 | let green = Double((hex & 0x00FF_0000) >> 16) / 255.0
136 | let blue = Double((hex & 0x0000_FF00) >> 8) / 255.0
[63/148] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/.build/checkouts/SwiftColor/Sources/SwiftColor/Pigment+Hex.swift:134:33: error: integer literal '4278190080' overflows when stored into 'Int'
132 | hex: Int
133 | ) -> (red: Double, green: Double, blue: Double, alpha: Double) {
134 | let red = Double((hex & 0xFF00_0000) >> 24) / 255.0
| `- error: integer literal '4278190080' overflows when stored into 'Int'
135 | let green = Double((hex & 0x00FF_0000) >> 16) / 255.0
136 | let blue = Double((hex & 0x0000_FF00) >> 8) / 255.0
[64/148] Compiling ArgumentParser ExpressibleByArgument.swift
[65/148] Compiling ArgumentParser ParsableArguments.swift
[66/148] Compiling ArgumentParser ParsableCommand.swift
[67/148] Compiling ArgumentParser ArgumentDecoder.swift
[68/148] Compiling ArgumentParser ArgumentDefinition.swift
[69/148] Compiling ArgumentParser ArgumentSet.swift
[70/148] Compiling ArgumentParser CommandParser.swift
[73/148] Compiling ArgumentParser CompletionKind.swift
[74/148] Compiling ArgumentParser Errors.swift
[75/148] Compiling ArgumentParser Flag.swift
[76/148] Compiling ArgumentParser NameSpecification.swift
[77/148] Compiling ArgumentParser Tree.swift
[78/148] Compiling ArgumentParser CodingKeyValidator.swift
[79/148] Compiling ArgumentParser NonsenseFlagsValidator.swift
[80/148] Compiling ArgumentParser ParsableArgumentsValidation.swift
[81/148] Compiling ArgumentParser PositionalArgumentsValidator.swift
[82/148] Compiling ArgumentParser UniqueNamesValidator.swift
[83/148] Compiling ArgumentParser DumpHelpGenerator.swift
[84/148] Compiling ArgumentParser HelpCommand.swift
[85/148] Compiling ArgumentParser HelpGenerator.swift
[86/148] Compiling ArgumentParser MessageInfo.swift
[87/148] Compiling ArgumentParser UsageGenerator.swift
[88/148] Compiling ArgumentParser CollectionExtensions.swift
[90/149] Compiling Swift2D Rect.swift
[91/149] Compiling Swift2D Rect+CoreGraphics.swift
[92/149] Compiling Swift2D Point+CoreGraphics.swift
[93/149] Emitting module Swift2D
[94/149] Compiling Swift2D Size+CoreGraphics.swift
[95/150] Wrapping AST for Swift2D for debugging
[97/150] Compiling SwiftColor Pigment.swift
[97/150] Wrapping AST for XMLCoder for debugging
BUILD FAILURE 6.2 wasm