The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Rainbow, reference master (f0e6dc), with Swift 6.1 for Wasm on 10 Apr 2026 01:50:11 UTC.

Swift 6 data race errors: 8

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
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 f0e6dc6 Merge pull request #92 from onevcat/dependabot/bundler/addressable-2.9.0
Cloned https://github.com/onevcat/Rainbow.git
Revision (git rev-parse @):
f0e6dc6dd3069f12bf3f13d6959c3326dc9bf914
SUCCESS checkout https://github.com/onevcat/Rainbow.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/onevcat/Rainbow.git
https://github.com/onevcat/Rainbow.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/22] Compiling Rainbow BackgroundColor.swift
[5/22] Compiling Rainbow CodesParser.swift
[6/22] Compiling Rainbow Color.swift
[7/22] Compiling Rainbow ColorApproximation.swift
[8/23] Compiling Rainbow ConditionalStyleBuilder.swift
[9/23] Compiling Rainbow ControlCode.swift
[10/23] Emitting module Rainbow
/host/spi-builder-workspace/Sources/OutputTarget.swift:46:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 |     /// Detected output target by current environment.
46 |     static var current: OutputTarget = {
   |                |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
/host/spi-builder-workspace/Sources/Rainbow.swift:103:23: warning: static property 'outputTarget' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 |     /// Output target for `Rainbow`. `Rainbow` should detect correct target itself, so you rarely need to set it.
102 |     /// However, if you want the colorized string to be different, or the detection is not correct, you can set it manually.
103 |     public static var outputTarget = OutputTarget.current
    |                       |- warning: static property 'outputTarget' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'outputTarget' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'outputTarget' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 |     static var environment = ProcessInfo.processInfo.environment
/host/spi-builder-workspace/Sources/Rainbow.swift:105:16: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |     public static var outputTarget = OutputTarget.current
104 |
105 |     static var environment = ProcessInfo.processInfo.environment
    |                |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |     static func hasValidValueInEnvironment(_ key: String) -> Bool {
107 |         guard !key.isEmpty, let value = environment[key] else {
/host/spi-builder-workspace/Sources/Rainbow.swift:126:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 |     /// set and `FORCE_COLOR` not set to a valid value ("0" or empty value is treated as "unset". `FORCE_COLOR` has
125 |     /// higher priority than `NO_COLOR` if set).
126 |     public static var enabled = environmentAvailable
    |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 |     public static func extractEntry(for string: String) -> Entry {
[11/23] Compiling Rainbow HSLColorConverter.swift
[12/23] Compiling Rainbow ModesExtractor.swift
[13/23] Compiling Rainbow StringGenerator.swift
[14/23] Compiling Rainbow Style.swift
[15/23] Compiling Rainbow String+ConditionalStyling.swift
[16/23] Compiling Rainbow String+Rainbow.swift
[17/23] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/Sources/OutputTarget.swift:46:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 |     /// Detected output target by current environment.
46 |     static var current: OutputTarget = {
   |                |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
/host/spi-builder-workspace/Sources/Rainbow.swift:103:23: warning: static property 'outputTarget' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 |     /// Output target for `Rainbow`. `Rainbow` should detect correct target itself, so you rarely need to set it.
102 |     /// However, if you want the colorized string to be different, or the detection is not correct, you can set it manually.
103 |     public static var outputTarget = OutputTarget.current
    |                       |- warning: static property 'outputTarget' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'outputTarget' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'outputTarget' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 |     static var environment = ProcessInfo.processInfo.environment
/host/spi-builder-workspace/Sources/Rainbow.swift:105:16: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |     public static var outputTarget = OutputTarget.current
104 |
105 |     static var environment = ProcessInfo.processInfo.environment
    |                |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |     static func hasValidValueInEnvironment(_ key: String) -> Bool {
107 |         guard !key.isEmpty, let value = environment[key] else {
/host/spi-builder-workspace/Sources/Rainbow.swift:126:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 |     /// set and `FORCE_COLOR` not set to a valid value ("0" or empty value is treated as "unset". `FORCE_COLOR` has
125 |     /// higher priority than `NO_COLOR` if set).
126 |     public static var enabled = environmentAvailable
    |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 |     public static func extractEntry(for string: String) -> Entry {
[18/23] Compiling Rainbow Rainbow.swift
/host/spi-builder-workspace/Sources/OutputTarget.swift:46:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 |     /// Detected output target by current environment.
46 |     static var current: OutputTarget = {
   |                |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
/host/spi-builder-workspace/Sources/Rainbow.swift:103:23: warning: static property 'outputTarget' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 |     /// Output target for `Rainbow`. `Rainbow` should detect correct target itself, so you rarely need to set it.
102 |     /// However, if you want the colorized string to be different, or the detection is not correct, you can set it manually.
103 |     public static var outputTarget = OutputTarget.current
    |                       |- warning: static property 'outputTarget' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'outputTarget' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'outputTarget' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 |     static var environment = ProcessInfo.processInfo.environment
/host/spi-builder-workspace/Sources/Rainbow.swift:105:16: warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |     public static var outputTarget = OutputTarget.current
104 |
105 |     static var environment = ProcessInfo.processInfo.environment
    |                |- warning: static property 'environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'environment' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'environment' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |     static func hasValidValueInEnvironment(_ key: String) -> Bool {
107 |         guard !key.isEmpty, let value = environment[key] else {
/host/spi-builder-workspace/Sources/Rainbow.swift:126:23: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 |     /// set and `FORCE_COLOR` not set to a valid value ("0" or empty value is treated as "unset". `FORCE_COLOR` has
125 |     /// higher priority than `NO_COLOR` if set).
126 |     public static var enabled = environmentAvailable
    |                       |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 |     public static func extractEntry(for string: String) -> Entry {
[19/23] Compiling Rainbow StyledStringBuilder.swift
[20/24] Wrapping AST for Rainbow for debugging
[22/26] Compiling RainbowPlayground main.swift
/host/spi-builder-workspace/Playground/main.swift:494:45: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
492 | section("Configuration")
493 |
494 | print("  Colors are currently: " + (Rainbow.enabled ? "ENABLED".green.bold : "DISABLED".red.bold))
    |                                             `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
495 | print("  Output target: " + "\(Rainbow.outputTarget)".cyan)
496 | print()
/host/spi-builder-workspace/Sources/Rainbow.swift:126:23: note: static property declared here
124 |     /// set and `FORCE_COLOR` not set to a valid value ("0" or empty value is treated as "unset". `FORCE_COLOR` has
125 |     /// higher priority than `NO_COLOR` if set).
126 |     public static var enabled = environmentAvailable
    |                       `- note: static property declared here
127 |
128 |     public static func extractEntry(for string: String) -> Entry {
/host/spi-builder-workspace/Playground/main.swift:495:40: warning: reference to static property 'outputTarget' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
493 |
494 | print("  Colors are currently: " + (Rainbow.enabled ? "ENABLED".green.bold : "DISABLED".red.bold))
495 | print("  Output target: " + "\(Rainbow.outputTarget)".cyan)
    |                                        `- warning: reference to static property 'outputTarget' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
496 | print()
497 |
/host/spi-builder-workspace/Sources/Rainbow.swift:103:23: note: static property declared here
101 |     /// Output target for `Rainbow`. `Rainbow` should detect correct target itself, so you rarely need to set it.
102 |     /// However, if you want the colorized string to be different, or the detection is not correct, you can set it manually.
103 |     public static var outputTarget = OutputTarget.current
    |                       `- note: static property declared here
104 |
105 |     static var environment = ProcessInfo.processInfo.environment
/host/spi-builder-workspace/Playground/main.swift:499:9: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
497 |
498 | print("  Disabling colors...")
499 | Rainbow.enabled = false
    |         `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
500 | print("  " + "This text should be plain".red.bold)
501 | print()
/host/spi-builder-workspace/Sources/Rainbow.swift:126:23: note: static property declared here
124 |     /// set and `FORCE_COLOR` not set to a valid value ("0" or empty value is treated as "unset". `FORCE_COLOR` has
125 |     /// higher priority than `NO_COLOR` if set).
126 |     public static var enabled = environmentAvailable
    |                       `- note: static property declared here
127 |
128 |     public static func extractEntry(for string: String) -> Entry {
/host/spi-builder-workspace/Playground/main.swift:504:9: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
502 |
503 | print("  Re-enabling colors...")
504 | Rainbow.enabled = true
    |         `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
505 | print("  " + "This text should be colored again!".green.bold)
506 |
/host/spi-builder-workspace/Sources/Rainbow.swift:126:23: note: static property declared here
124 |     /// set and `FORCE_COLOR` not set to a valid value ("0" or empty value is treated as "unset". `FORCE_COLOR` has
125 |     /// higher priority than `NO_COLOR` if set).
126 |     public static var enabled = environmentAvailable
    |                       `- note: static property declared here
127 |
128 |     public static func extractEntry(for string: String) -> Entry {
[23/26] Emitting module RainbowPlayground
/host/spi-builder-workspace/Playground/main.swift:494:45: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
492 | section("Configuration")
493 |
494 | print("  Colors are currently: " + (Rainbow.enabled ? "ENABLED".green.bold : "DISABLED".red.bold))
    |                                             `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
495 | print("  Output target: " + "\(Rainbow.outputTarget)".cyan)
496 | print()
/host/spi-builder-workspace/Sources/Rainbow.swift:126:23: note: static property declared here
124 |     /// set and `FORCE_COLOR` not set to a valid value ("0" or empty value is treated as "unset". `FORCE_COLOR` has
125 |     /// higher priority than `NO_COLOR` if set).
126 |     public static var enabled = environmentAvailable
    |                       `- note: static property declared here
127 |
128 |     public static func extractEntry(for string: String) -> Entry {
/host/spi-builder-workspace/Playground/main.swift:495:40: warning: reference to static property 'outputTarget' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
493 |
494 | print("  Colors are currently: " + (Rainbow.enabled ? "ENABLED".green.bold : "DISABLED".red.bold))
495 | print("  Output target: " + "\(Rainbow.outputTarget)".cyan)
    |                                        `- warning: reference to static property 'outputTarget' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
496 | print()
497 |
/host/spi-builder-workspace/Sources/Rainbow.swift:103:23: note: static property declared here
101 |     /// Output target for `Rainbow`. `Rainbow` should detect correct target itself, so you rarely need to set it.
102 |     /// However, if you want the colorized string to be different, or the detection is not correct, you can set it manually.
103 |     public static var outputTarget = OutputTarget.current
    |                       `- note: static property declared here
104 |
105 |     static var environment = ProcessInfo.processInfo.environment
/host/spi-builder-workspace/Playground/main.swift:499:9: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
497 |
498 | print("  Disabling colors...")
499 | Rainbow.enabled = false
    |         `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
500 | print("  " + "This text should be plain".red.bold)
501 | print()
/host/spi-builder-workspace/Sources/Rainbow.swift:126:23: note: static property declared here
124 |     /// set and `FORCE_COLOR` not set to a valid value ("0" or empty value is treated as "unset". `FORCE_COLOR` has
125 |     /// higher priority than `NO_COLOR` if set).
126 |     public static var enabled = environmentAvailable
    |                       `- note: static property declared here
127 |
128 |     public static func extractEntry(for string: String) -> Entry {
/host/spi-builder-workspace/Playground/main.swift:504:9: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
502 |
503 | print("  Re-enabling colors...")
504 | Rainbow.enabled = true
    |         `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
505 | print("  " + "This text should be colored again!".green.bold)
506 |
/host/spi-builder-workspace/Sources/Rainbow.swift:126:23: note: static property declared here
124 |     /// set and `FORCE_COLOR` not set to a valid value ("0" or empty value is treated as "unset". `FORCE_COLOR` has
125 |     /// higher priority than `NO_COLOR` if set).
126 |     public static var enabled = environmentAvailable
    |                       `- note: static property declared here
127 |
128 |     public static func extractEntry(for string: String) -> Entry {
[24/27] Wrapping AST for RainbowPlayground for debugging
[25/27] Write Objects.LinkFileList
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a: archive member 'Foundation.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationEssentials.a: archive member 'FoundationEssentials.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationInternationalization.a: archive member 'FoundationInternationalization.autolink' is neither Wasm object file nor LLVM bitcode
[26/27] Linking RainbowPlayground.wasm
Build complete! (13.92s)
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.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Done.