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 VectorPlus, reference main (318611), with Swift 6.1 for Wasm on 29 May 2025 15:22:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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 3186119 SwiftPackageIndex Configuration (#7)
Cloned https://github.com/richardpiazza/VectorPlus.git
Revision (git rev-parse @):
318611972e49bf2626ca3cad26dc5525474cd202
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/richardpiazza/VectorPlus.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/richardpiazza/VectorPlus.git
https://github.com/richardpiazza/VectorPlus.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swiftsvg",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.11.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/richardpiazza/SwiftSVG.git"
    },
    {
      "identity" : "swiftcolor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/richardpiazza/SwiftColor.git"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut.git"
    }
  ],
  "manifest_display_name" : "VectorPlus",
  "name" : "VectorPlus",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "vectorplus",
      "targets" : [
        "Executable"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "VectorPlus",
      "targets" : [
        "VectorPlus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VectorPlusTests",
      "module_type" : "SwiftTarget",
      "name" : "VectorPlusTests",
      "path" : "Tests/VectorPlusTests",
      "product_dependencies" : [
        "SwiftSVG"
      ],
      "sources" : [
        "Extensions.swift",
        "InstructionTranslationTests.swift",
        "VectorPlusTests.swift"
      ],
      "target_dependencies" : [
        "Executable",
        "VectorPlus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VectorPlus",
      "module_type" : "SwiftTarget",
      "name" : "VectorPlus",
      "path" : "Sources/VectorPlus",
      "product_dependencies" : [
        "SwiftSVG",
        "SwiftColor"
      ],
      "product_memberships" : [
        "vectorplus",
        "VectorPlus"
      ],
      "sources" : [
        "AppKit/SVG+NSImage.swift",
        "CoreGraphics/CGContext+Render.swift",
        "CoreGraphics/CGMutablePath+Instruction.swift",
        "CoreGraphics/Fill+CoreGraphics.swift",
        "CoreGraphics/SVG+CGPath.swift",
        "CoreGraphics/Stroke+CoreGraphics.swift",
        "Fill+VectorPlus.swift",
        "Path+VectorPlus.swift",
        "Path.Command+VectorPlus.swift",
        "Pigment+VectorPlus.swift",
        "Point+VectorPlus.swift",
        "Rect+VectorPlus.swift",
        "SVG+AppleSymbols.swift",
        "SVG+Template.swift",
        "Size+VectorPlus.swift",
        "Stroke+VectorPlus.swift",
        "SwiftUI/SVG+Example.swift",
        "SwiftUI/SVGView.swift",
        "SwiftUI/SwiftUI.Color+VectorPlus.swift",
        "SwiftUI/SwiftUI.Path+VectorPlus.swift",
        "Template+UIImageView.swift",
        "UIKit/SVG+UIImage.swift",
        "UIKit/SVGImageView.swift",
        "VectorPoint.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Executable",
      "module_type" : "SwiftTarget",
      "name" : "Executable",
      "path" : "Sources/Executable",
      "product_dependencies" : [
        "SwiftSVG",
        "ArgumentParser",
        "ShellOut"
      ],
      "product_memberships" : [
        "vectorplus"
      ],
      "sources" : [
        "AppDelegate.swift",
        "Convert.swift",
        "FileManager+Document.swift",
        "Inspect.swift",
        "Preview.swift",
        "Render.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "VectorPlus"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/richardpiazza/SwiftColor.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/94] Fetching swiftcolor
[95/1054] Fetching swiftcolor, shellout
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.49s)
[1/15379] Fetching swift-argument-parser
Fetched https://github.com/richardpiazza/SwiftColor.git from cache (1.42s)
Fetching https://github.com/richardpiazza/SwiftSVG.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.45s)
[1/542] Fetching swiftsvg
Fetched https://github.com/richardpiazza/SwiftSVG.git from cache (0.44s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (6.12s)
Computing version for https://github.com/richardpiazza/SwiftColor.git
Computed https://github.com/richardpiazza/SwiftColor.git at 0.2.0 (3.44s)
Computing version for https://github.com/richardpiazza/SwiftSVG.git
Computed https://github.com/richardpiazza/SwiftSVG.git at 0.11.0 (0.95s)
Fetching https://github.com/CoreOffice/XMLCoder.git
Fetching https://github.com/richardpiazza/Swift2D.git
[1/274] Fetching swift2d
[207/10285] Fetching swift2d, xmlcoder
Fetched https://github.com/richardpiazza/Swift2D.git from cache (0.37s)
[901/10011] Fetching xmlcoder
Fetched https://github.com/CoreOffice/XMLCoder.git from cache (0.79s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.69s)
Computing version for https://github.com/richardpiazza/Swift2D.git
Computed https://github.com/richardpiazza/Swift2D.git at 2.2.1 (0.85s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.17.1 (0.98s)
Creating working copy for https://github.com/CoreOffice/XMLCoder.git
Working copy of https://github.com/CoreOffice/XMLCoder.git resolved at 0.17.1
Creating working copy for https://github.com/richardpiazza/SwiftSVG.git
Working copy of https://github.com/richardpiazza/SwiftSVG.git resolved at 0.11.0
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.5.1
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.2.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/22] Write sources
[10/22] Write swift-version-24593BA9C3E375BF.txt
[12/89] Emitting module XMLCoder
[13/95] Compiling Swift2D Size.swift
[14/95] Compiling Swift2D Rect.swift
[15/95] Emitting module ArgumentParserToolInfo
[16/95] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/96] Compiling XMLCoder DoubleBox.swift
[18/96] Compiling XMLCoder FloatBox.swift
[19/96] Compiling XMLCoder IntBox.swift
[20/96] Compiling XMLCoder KeyedBox.swift
[21/96] Compiling XMLCoder NullBox.swift
[22/96] Compiling XMLCoder SharedBox.swift
[23/96] Compiling XMLCoder SingleKeyedBox.swift
[24/96] Wrapping AST for ArgumentParserToolInfo for debugging
[26/134] Compiling SwiftColor Pigment+UIKit.swift
[27/135] Compiling Swift2D Size+CoreGraphics.swift
[28/135] Compiling ArgumentParser BashCompletionsGenerator.swift
[29/135] Compiling ArgumentParser CompletionsGenerator.swift
[30/135] Compiling ArgumentParser FishCompletionsGenerator.swift
[31/135] Compiling ArgumentParser ZshCompletionsGenerator.swift
[32/135] Compiling ArgumentParser Argument.swift
[33/135] Compiling ArgumentParser ArgumentHelp.swift
[34/135] Compiling ArgumentParser ArgumentVisibility.swift
[35/135] Compiling SwiftColor Pigment+Keyword.swift
[36/135] Compiling SwiftColor Pigment+String.swift
[37/135] Compiling SwiftColor Pigment+Int.swift
[38/135] Emitting module SwiftColor
[41/135] Compiling Swift2D Point.swift
[42/135] Compiling Swift2D Point+CoreGraphics.swift
[43/135] Emitting module Swift2D
[44/135] Compiling Swift2D Rect+CoreGraphics.swift
/host/spi-builder-workspace/.build/checkouts/SwiftColor/Sources/SwiftColor/Pigment+Hex.swift:34:29: error: integer literal '4278190080' overflows when stored into 'Int'
32 |     /// bits for the alpha component.
33 |     init(hex8 hex: Int) {
34 |         red = Double((hex & 0xFF000000) >> 24) / 255.0
   |                             `- error: integer literal '4278190080' overflows when stored into 'Int'
35 |         green = Double((hex & 0x00FF0000) >> 16) / 255.0
36 |         blue = Double((hex & 0x0000FF00) >> 8) / 255.0
/host/spi-builder-workspace/.build/checkouts/SwiftColor/Sources/SwiftColor/Pigment+Hex.swift:34:29: error: integer literal '4278190080' overflows when stored into 'Int'
32 |     /// bits for the alpha component.
33 |     init(hex8 hex: Int) {
34 |         red = Double((hex & 0xFF000000) >> 24) / 255.0
   |                             `- error: integer literal '4278190080' overflows when stored into 'Int'
35 |         green = Double((hex & 0x00FF0000) >> 16) / 255.0
36 |         blue = Double((hex & 0x0000FF00) >> 8) / 255.0
[47/136] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[48/136] Compiling ArgumentParser ParsableArgumentsValidation.swift
[49/136] Compiling ArgumentParser ParsableCommand.swift
[50/136] Compiling ArgumentParser ArgumentDecoder.swift
[51/136] Compiling ArgumentParser ArgumentDefinition.swift
[52/136] Compiling ArgumentParser ArgumentSet.swift
[53/136] Compiling ArgumentParser CommandParser.swift
[54/136] Compiling ArgumentParser InputKey.swift
[55/136] Compiling ArgumentParser InputOrigin.swift
[56/136] Compiling ArgumentParser OptionGroup.swift
[57/136] Compiling ArgumentParser AsyncParsableCommand.swift
[58/136] Compiling ArgumentParser CommandConfiguration.swift
[59/136] Compiling ArgumentParser CommandGroup.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/136] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[67/136] Compiling ArgumentParser EnumerableFlag.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Write swift-version-24593BA9C3E375BF.txt
[3/80] Compiling Swift2D Size+CoreGraphics.swift
[4/80] Compiling Swift2D Rect+CoreGraphics.swift
[5/80] Compiling XMLCoder DoubleBox.swift
[6/80] Compiling XMLCoder FloatBox.swift
[7/81] Emitting module ArgumentParserToolInfo
[8/81] Compiling SwiftColor Pigment+UIKit.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/81] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[10/81] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
BUILD FAILURE 6.1 wasm