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

Successful build of Rainbow, reference master (dcabc6), with Swift 6.2 for Wasm on 10 Dec 2025 06:40:40 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/onevcat/Rainbow.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/onevcat/Rainbow
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at dcabc6a Update README with demo
Cloned https://github.com/onevcat/Rainbow.git
Revision (git rev-parse @):
dcabc6a86ddeb06c4d45e5e9a691dd63357aee45
SUCCESS checkout https://github.com/onevcat/Rainbow.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/onevcat/Rainbow.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
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
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/22] Compiling Rainbow ConditionalStyleBuilder.swift
[5/22] Compiling Rainbow ControlCode.swift
[6/23] Compiling Rainbow String+ConditionalStyling.swift
[7/23] Compiling Rainbow String+Rainbow.swift
[8/23] Compiling Rainbow StringGenerator.swift
[9/23] Compiling Rainbow Style.swift
[10/23] Compiling Rainbow OutputTarget.swift
[11/23] Compiling Rainbow Rainbow.swift
[12/23] Compiling Rainbow HSLColorConverter.swift
[13/23] Compiling Rainbow ModesExtractor.swift
[14/23] Compiling Rainbow Color.swift
[15/23] Compiling Rainbow ColorApproximation.swift
[16/23] Emitting module Rainbow
[17/23] Compiling Rainbow BackgroundColor.swift
[18/23] Compiling Rainbow CodesParser.swift
[19/23] Compiling Rainbow StyledStringBuilder.swift
[20/24] Wrapping AST for Rainbow for debugging
[22/26] Emitting module RainbowPlayground
[23/26] Compiling RainbowPlayground main.swift
[24/27] Wrapping AST for RainbowPlayground for debugging
[25/27] Write Objects.LinkFileList
[26/27] Linking RainbowPlayground.wasm
Build complete! (19.02s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Rainbow",
  "name" : "Rainbow",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Rainbow",
      "targets" : [
        "Rainbow"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RainbowPlayground",
      "targets" : [
        "RainbowPlayground"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RainbowTests",
      "module_type" : "SwiftTarget",
      "name" : "RainbowTests",
      "path" : "Tests",
      "sources" : [
        "RainbowTests/ColorApproximatedTests.swift",
        "RainbowTests/ColorTests.swift",
        "RainbowTests/ConditionalStylingTests.swift",
        "RainbowTests/ConsoleStringTests.swift",
        "RainbowTests/ConsoleTextParserTests.swift",
        "RainbowTests/EdgeCaseTests.swift",
        "RainbowTests/HSLColorTests.swift",
        "RainbowTests/PerformanceTests.swift",
        "RainbowTests/RainbowTests.swift",
        "RainbowTests/StyledStringBuilderTests.swift"
      ],
      "target_dependencies" : [
        "Rainbow"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RainbowPlayground",
      "module_type" : "SwiftTarget",
      "name" : "RainbowPlayground",
      "path" : "Playground",
      "product_memberships" : [
        "RainbowPlayground"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Rainbow"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Rainbow",
      "module_type" : "SwiftTarget",
      "name" : "Rainbow",
      "path" : "Sources",
      "product_memberships" : [
        "Rainbow",
        "RainbowPlayground"
      ],
      "sources" : [
        "BackgroundColor.swift",
        "CodesParser.swift",
        "Color.swift",
        "ColorApproximation.swift",
        "ConditionalStyleBuilder.swift",
        "ControlCode.swift",
        "HSLColorConverter.swift",
        "ModesExtractor.swift",
        "OutputTarget.swift",
        "Rainbow.swift",
        "String+ConditionalStyling.swift",
        "String+Rainbow.swift",
        "StringGenerator.swift",
        "Style.swift",
        "StyledStringBuilder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Done.