The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ColorSwatches, reference 2.1.0 (f574c7), with Swift 6.1 for Wasm on 28 May 2025 00:58:45 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/RougeWare/Swift-Color-Swatches.git
Reference: 2.1.0
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/RougeWare/Swift-Color-Swatches
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at f574c79 Merge pull request #9 from RougeWare/feature/Downdate/RectangleTools/2.10.0
Cloned https://github.com/RougeWare/Swift-Color-Swatches.git
Revision (git rev-parse @):
f574c79f3deba359bcce57390760176876266480
SUCCESS checkout https://github.com/RougeWare/Swift-Color-Swatches.git at 2.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RougeWare/Swift-Color-Swatches.git
https://github.com/RougeWare/Swift-Color-Swatches.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-rectangle-tools",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.10.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RougeWare/Swift-Rectangle-Tools.git"
    },
    {
      "identity" : "swift-drawing-tools",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RougeWare/Swift-Drawing-Tools.git"
    },
    {
      "identity" : "swift-cross-kit-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RougeWare/Swift-Cross-Kit-Types.git"
    },
    {
      "identity" : "swift-image",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.7.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/koher/swift-image.git"
    }
  ],
  "manifest_display_name" : "ColorSwatches",
  "name" : "ColorSwatches",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "ColorSwatches",
      "targets" : [
        "ColorSwatches"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ColorSwatchesTests",
      "module_type" : "SwiftTarget",
      "name" : "ColorSwatchesTests",
      "path" : "Tests/ColorSwatchesTests",
      "product_dependencies" : [
        "SwiftImage"
      ],
      "sources" : [
        "ColorSwatchesTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ColorSwatches"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ColorSwatches",
      "module_type" : "SwiftTarget",
      "name" : "ColorSwatches",
      "path" : "Sources/ColorSwatches",
      "product_dependencies" : [
        "RectangleTools",
        "DrawingTools",
        "CrossKitTypes"
      ],
      "product_memberships" : [
        "ColorSwatches"
      ],
      "sources" : [
        "NativeColor + NativeImage.swift",
        "NativeImage + NativeColor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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/RougeWare/Swift-Cross-Kit-Types.git
Fetching https://github.com/RougeWare/Swift-Drawing-Tools.git
Fetching https://github.com/RougeWare/Swift-Rectangle-Tools.git
Fetching https://github.com/koher/swift-image.git
[1/3351] Fetching swift-image
[1543/3606] Fetching swift-image, swift-drawing-tools
[3607/4313] Fetching swift-image, swift-drawing-tools, swift-rectangle-tools
[4314/4367] Fetching swift-image, swift-drawing-tools, swift-rectangle-tools, swift-cross-kit-types
Fetched https://github.com/RougeWare/Swift-Cross-Kit-Types.git from cache (0.37s)
Fetched https://github.com/koher/swift-image.git from cache (0.37s)
Fetched https://github.com/RougeWare/Swift-Rectangle-Tools.git from cache (0.38s)
Fetched https://github.com/RougeWare/Swift-Drawing-Tools.git from cache (0.38s)
Computing version for https://github.com/RougeWare/Swift-Cross-Kit-Types.git
Computed https://github.com/RougeWare/Swift-Cross-Kit-Types.git at 1.0.0 (1.23s)
Computing version for https://github.com/koher/swift-image.git
Computed https://github.com/koher/swift-image.git at 0.8.0 (0.43s)
Computing version for https://github.com/RougeWare/Swift-Drawing-Tools.git
Computed https://github.com/RougeWare/Swift-Drawing-Tools.git at 2.1.1 (0.72s)
Fetching https://github.com/RougeWare/Swift-Optional-Tools.git
[1/73] Fetching swift-optional-tools
Fetched https://github.com/RougeWare/Swift-Optional-Tools.git from cache (0.19s)
Computing version for https://github.com/RougeWare/Swift-Rectangle-Tools.git
warning: 'swift-rectangle-tools': /Package.swift:24:10: warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
22 |     dependencies: [
23 |         // Dependencies declare other packages that this package depends on.
24 |         .package(name: "MultiplicativeArithmetic", url: "https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git", from: "1.4.1"),
   |          `- warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
25 |     ],
26 |     targets: [
Computed https://github.com/RougeWare/Swift-Rectangle-Tools.git at 2.14.0 (0.65s)
Fetching https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git
[1/87] Fetching swift-multiplicativearithmetic
Fetched https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git from cache (0.25s)
Computing version for https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git
Computed https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git at 1.4.1 (0.71s)
Computing version for https://github.com/RougeWare/Swift-Optional-Tools.git
Computed https://github.com/RougeWare/Swift-Optional-Tools.git at 1.2.0 (0.49s)
Creating working copy for https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git
Working copy of https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git resolved at 1.4.1
Creating working copy for https://github.com/RougeWare/Swift-Cross-Kit-Types.git
Working copy of https://github.com/RougeWare/Swift-Cross-Kit-Types.git resolved at 1.0.0
Creating working copy for https://github.com/RougeWare/Swift-Optional-Tools.git
Working copy of https://github.com/RougeWare/Swift-Optional-Tools.git resolved at 1.2.0
Creating working copy for https://github.com/RougeWare/Swift-Rectangle-Tools.git
Working copy of https://github.com/RougeWare/Swift-Rectangle-Tools.git resolved at 2.14.0
Creating working copy for https://github.com/koher/swift-image.git
Working copy of https://github.com/koher/swift-image.git resolved at 0.8.0
Creating working copy for https://github.com/RougeWare/Swift-Drawing-Tools.git
Working copy of https://github.com/RougeWare/Swift-Drawing-Tools.git resolved at 2.1.1
warning: 'swift-rectangle-tools': /host/spi-builder-workspace/.build/checkouts/Swift-Rectangle-Tools/Package.swift:24:10: warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
22 |     dependencies: [
23 |         // Dependencies declare other packages that this package depends on.
24 |         .package(name: "MultiplicativeArithmetic", url: "https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git", from: "1.4.1"),
   |          `- warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
25 |     ],
26 |     targets: [
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/17] Emitting module CrossKitTypes
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Color.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Font.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Image.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
[9/17] Compiling CrossKitTypes Cross-Kit Image.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Image.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
[10/17] Compiling MultiplicativeArithmetic MultiplicativeArithmetic.swift
/host/spi-builder-workspace/.build/checkouts/Swift-MultiplicativeArithmetic/Sources/MultiplicativeArithmetic/Default Conformances.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 |
 11 |
[11/17] Compiling CrossKitTypes Cross-Kit Color.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Color.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
[12/17] Compiling CrossKitTypes Cross-Kit Font.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Font.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
[13/17] Emitting module OptionalTools
[14/17] Compiling OptionalTools unwrappedOrThrow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/17] Emitting module MultiplicativeArithmetic
/host/spi-builder-workspace/.build/checkouts/Swift-MultiplicativeArithmetic/Sources/MultiplicativeArithmetic/Default Conformances.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 |
 11 |
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
warning: 'swift-rectangle-tools': /host/spi-builder-workspace/.build/checkouts/Swift-Rectangle-Tools/Package.swift:24:10: warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
22 |     dependencies: [
23 |         // Dependencies declare other packages that this package depends on.
24 |         .package(name: "MultiplicativeArithmetic", url: "https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git", from: "1.4.1"),
   |          `- warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
25 |     ],
26 |     targets: [
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/11] Emitting module MultiplicativeArithmetic
/host/spi-builder-workspace/.build/checkouts/Swift-MultiplicativeArithmetic/Sources/MultiplicativeArithmetic/Default Conformances.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 |
 11 |
[3/11] Compiling CrossKitTypes Cross-Kit Color.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Color.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
[4/11] Compiling CrossKitTypes Cross-Kit Image.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Image.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
[5/11] Compiling CrossKitTypes Cross-Kit Font.swift
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Font.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Emitting module CrossKitTypes
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Color.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Font.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
/host/spi-builder-workspace/.build/checkouts/Swift-Cross-Kit-Types/Sources/CrossKitTypes/Cross-Kit Image.swift:26:8: error: Unsupported platform; neither UIKit nor AppKit
24 |
25 | #else
26 | #error("Unsupported platform; neither UIKit nor AppKit")
   |        `- error: Unsupported platform; neither UIKit nor AppKit
27 | #endif
28 |
[7/11] Compiling MultiplicativeArithmetic MultiplicativeArithmetic.swift
/host/spi-builder-workspace/.build/checkouts/Swift-MultiplicativeArithmetic/Sources/MultiplicativeArithmetic/Default Conformances.swift:9:8: error: no such module 'CoreGraphics'
  7 |
  8 | import Foundation
  9 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
 10 |
 11 |
[8/11] Emitting module OptionalTools
BUILD FAILURE 6.1 wasm