The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Rainbow, reference 4.2.1 (cdf146), with Swift 6.2 for Wasm on 19 Dec 2025 14:30:24 UTC.

Swift 6 data race errors: 0

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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/onevcat/Rainbow.git
Reference: 4.2.1
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
 * tag               4.2.1      -> FETCH_HEAD
HEAD is now at cdf146a Bump version to 4.2.1
Cloned https://github.com/onevcat/Rainbow.git
Revision (git rev-parse @):
cdf146ae671b2624917648b61c908d1244b98ca1
SUCCESS checkout https://github.com/onevcat/Rainbow.git at 4.2.1
========================================
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-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:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
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] Emitting module Rainbow
[5/23] Compiling Rainbow StringGenerator.swift
[6/23] Compiling Rainbow Style.swift
[7/23] Compiling Rainbow String+ConditionalStyling.swift
[8/23] Compiling Rainbow String+Rainbow.swift
[9/23] Compiling Rainbow StyledStringBuilder.swift
[10/23] Compiling Rainbow HSLColorConverter.swift
[11/23] Compiling Rainbow ModesExtractor.swift
[12/23] Compiling Rainbow Color.swift
[13/23] Compiling Rainbow ColorApproximation.swift
[14/23] Compiling Rainbow ConditionalStyleBuilder.swift
[15/23] Compiling Rainbow ControlCode.swift
[16/23] Compiling Rainbow OutputTarget.swift
[17/23] Compiling Rainbow Rainbow.swift
[18/23] Compiling Rainbow BackgroundColor.swift
[19/23] Compiling Rainbow CodesParser.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! (14.58s)
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:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Done.