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 Crayon, reference main (aafe1a), with Swift 6.1 for Wasm on 29 May 2025 19:02:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/divadretlaw/Crayon.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/divadretlaw/Crayon
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at aafe1ad Update CSS colors
Cloned https://github.com/divadretlaw/Crayon.git
Revision (git rev-parse @):
aafe1ad2262b5e2622099eee0e3dae4b0967d8f2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/divadretlaw/Crayon.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/divadretlaw/Crayon.git
https://github.com/divadretlaw/Crayon.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Crayon",
  "name" : "Crayon",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Crayon",
      "targets" : [
        "Crayon"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CrayonTests",
      "module_type" : "SwiftTarget",
      "name" : "CrayonTests",
      "path" : "Tests/CrayonTests",
      "sources" : [
        "ColorTests.swift",
        "ImageTests.swift",
        "NSColorTests.swift",
        "UIColorTests.swift"
      ],
      "target_dependencies" : [
        "Crayon"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Crayon",
      "module_type" : "SwiftTarget",
      "name" : "Crayon",
      "path" : "Sources/Crayon",
      "product_memberships" : [
        "Crayon"
      ],
      "sources" : [
        "CGColor.swift",
        "CSS/Color+CSS.swift",
        "CSS/NSColor+CSS.swift",
        "CSS/UIColor+CSS.swift",
        "Color.swift",
        "ColorSpace.swift",
        "Extensions/FloatingPoint+Extensions.swift",
        "Image.swift",
        "Models/HsbComponents.swift",
        "Models/RgbComponents.swift",
        "NSColor.swift",
        "UIColor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling Crayon NSColor+CSS.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[4/14] Compiling Crayon UIColor+CSS.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[5/15] Compiling Crayon NSColor.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/15] Emitting module Crayon
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[7/15] Compiling Crayon CGColor.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[8/15] Compiling Crayon Color+CSS.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[9/15] Compiling Crayon UIColor.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[10/15] Compiling Crayon RgbComponents.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[11/15] Compiling Crayon Color.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[12/15] Compiling Crayon ColorSpace.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[13/15] Compiling Crayon FloatingPoint+Extensions.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[14/15] Compiling Crayon Image.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[15/15] Compiling Crayon HsbComponents.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling Crayon NSColor.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[3/14] Compiling Crayon UIColor.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/14] Emitting module Crayon
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[5/14] Compiling Crayon NSColor+CSS.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[6/14] Compiling Crayon UIColor+CSS.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[7/14] Compiling Crayon FloatingPoint+Extensions.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[8/14] Compiling Crayon Image.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[9/14] Compiling Crayon HsbComponents.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[10/14] Compiling Crayon Color.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[11/14] Compiling Crayon ColorSpace.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[12/14] Compiling Crayon CGColor.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[13/14] Compiling Crayon Color+CSS.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
[14/14] Compiling Crayon RgbComponents.swift
/host/spi-builder-workspace/Sources/Crayon/CGColor.swift:8:8: error: no such module 'CoreGraphics'
  6 | //
  7 |
  8 | import CoreGraphics
    |        `- error: no such module 'CoreGraphics'
  9 |
 10 | public extension CGColor {
BUILD FAILURE 6.1 wasm