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 Spinner, reference main (9bd3af), with Swift 6.1 for Wasm on 28 May 2025 23:05:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/dominicegginton/spinner.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/dominicegginton/spinner
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9bd3afd feat(workspace): provide an example
Cloned https://github.com/dominicegginton/spinner.git
Revision (git rev-parse @):
9bd3afdfd0ba75c0bd097abee7f05d31c41a0ccb
SUCCESS checkout https://github.com/dominicegginton/spinner.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dominicegginton/spinner.git
https://github.com/dominicegginton/spinner.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "nanoseconds",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dominicegginton/Nanoseconds"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "bluesignals",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/BlueSignals.git"
    }
  ],
  "manifest_display_name" : "Spinner",
  "name" : "Spinner",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Spinner",
      "targets" : [
        "Spinner"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Spinner",
      "module_type" : "SwiftTarget",
      "name" : "Spinner",
      "path" : "Sources/Spinner",
      "product_dependencies" : [
        "Nanoseconds",
        "Rainbow",
        "Signals"
      ],
      "product_memberships" : [
        "Spinner",
        "Example"
      ],
      "sources" : [
        "Spinner.swift",
        "SpinnerAnimation.swift",
        "SpinnerSignal.swift",
        "SpinnerStream.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Sources/Example",
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Spinner"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/IBM-Swift/BlueSignals.git
Fetching https://github.com/dominicegginton/Nanoseconds
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
[1197/1397] Fetching rainbow, nanoseconds
[1398/2078] Fetching rainbow, nanoseconds, bluesignals
Fetched https://github.com/dominicegginton/Nanoseconds from cache (0.45s)
Fetched https://github.com/IBM-Swift/BlueSignals.git from cache (0.46s)
Fetched https://github.com/onevcat/Rainbow from cache (0.47s)
Computing version for https://github.com/dominicegginton/Nanoseconds
Computed https://github.com/dominicegginton/Nanoseconds at 1.1.3 (1.59s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.87s)
Computing version for https://github.com/IBM-Swift/BlueSignals.git
Computed https://github.com/IBM-Swift/BlueSignals.git at 1.0.200 (1.12s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/dominicegginton/Nanoseconds
Working copy of https://github.com/dominicegginton/Nanoseconds resolved at 1.1.3
Creating working copy for https://github.com/IBM-Swift/BlueSignals.git
Working copy of https://github.com/IBM-Swift/BlueSignals.git resolved at 1.0.200
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/29] Compiling Rainbow ControlCode.swift
[8/29] Compiling Rainbow ModesExtractor.swift
[9/29] Compiling Rainbow StringGenerator.swift
[10/30] Compiling Rainbow String+Rainbow.swift
[11/30] Compiling Rainbow Style.swift
[12/30] Compiling Signals Signals.swift
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:56:18: error: cannot find 'SIGHUP' in scope
 54 | 			switch self {
 55 | 			case .hup:
 56 | 				return Int32(SIGHUP)
    |                  `- error: cannot find 'SIGHUP' in scope
 57 | 			case .int:
 58 | 				return Int32(SIGINT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:58:18: error: cannot find 'SIGINT' in scope
 56 | 				return Int32(SIGHUP)
 57 | 			case .int:
 58 | 				return Int32(SIGINT)
    |                  `- error: cannot find 'SIGINT' in scope
 59 | 			case .quit:
 60 | 				return Int32(SIGQUIT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:60:18: error: cannot find 'SIGQUIT' in scope
 58 | 				return Int32(SIGINT)
 59 | 			case .quit:
 60 | 				return Int32(SIGQUIT)
    |                  `- error: cannot find 'SIGQUIT' in scope
 61 | 			case .abrt:
 62 | 				return Int32(SIGABRT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:62:18: error: cannot find 'SIGABRT' in scope
 60 | 				return Int32(SIGQUIT)
 61 | 			case .abrt:
 62 | 				return Int32(SIGABRT)
    |                  `- error: cannot find 'SIGABRT' in scope
 63 | 			case .kill:
 64 | 				return Int32(SIGKILL)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:64:18: error: cannot find 'SIGKILL' in scope
 62 | 				return Int32(SIGABRT)
 63 | 			case .kill:
 64 | 				return Int32(SIGKILL)
    |                  `- error: cannot find 'SIGKILL' in scope
 65 | 			case .alrm:
 66 | 				return Int32(SIGALRM)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:66:18: error: cannot find 'SIGALRM' in scope
 64 | 				return Int32(SIGKILL)
 65 | 			case .alrm:
 66 | 				return Int32(SIGALRM)
    |                  `- error: cannot find 'SIGALRM' in scope
 67 | 			case .term:
 68 | 				return Int32(SIGTERM)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:68:18: error: cannot find 'SIGTERM' in scope
 66 | 				return Int32(SIGALRM)
 67 | 			case .term:
 68 | 				return Int32(SIGTERM)
    |                  `- error: cannot find 'SIGTERM' in scope
 69 | 			case .pipe:
 70 | 				return Int32(SIGPIPE)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:70:18: error: cannot find 'SIGPIPE' in scope
 68 | 				return Int32(SIGTERM)
 69 | 			case .pipe:
 70 | 				return Int32(SIGPIPE)
    |                  `- error: cannot find 'SIGPIPE' in scope
 71 | 			case .user(let sig):
 72 | 				return Int32(sig)
[13/30] Emitting module Signals
[14/30] Compiling Nanoseconds TimeInterval.swift
[15/30] Compiling Rainbow BackgroundColor.swift
[16/30] Compiling Rainbow CodesParser.swift
[17/30] Compiling Rainbow Rainbow.swift
[18/30] Compiling Rainbow OutputTarget.swift
[19/30] Emitting module Rainbow
[20/30] Compiling Rainbow Color.swift
[21/30] Compiling Rainbow ColorApproximation.swift
[22/31] Compiling Nanoseconds Now.swift
/host/spi-builder-workspace/.build/checkouts/Nanoseconds/Sources/Nanoseconds/Now.swift:16:25: error: cannot find 'DispatchTime' in scope
 14 |     */
 15 |     public init() {
 16 |         self.rawValue = DispatchTime.now().rawValue
    |                         `- error: cannot find 'DispatchTime' in scope
 17 |     }
 18 | }
[23/31] Emitting module Nanoseconds
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/24] Emitting module Signals
[3/24] Compiling Signals Signals.swift
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:56:18: error: cannot find 'SIGHUP' in scope
 54 | 			switch self {
 55 | 			case .hup:
 56 | 				return Int32(SIGHUP)
    |                  `- error: cannot find 'SIGHUP' in scope
 57 | 			case .int:
 58 | 				return Int32(SIGINT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:58:18: error: cannot find 'SIGINT' in scope
 56 | 				return Int32(SIGHUP)
 57 | 			case .int:
 58 | 				return Int32(SIGINT)
    |                  `- error: cannot find 'SIGINT' in scope
 59 | 			case .quit:
 60 | 				return Int32(SIGQUIT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:60:18: error: cannot find 'SIGQUIT' in scope
 58 | 				return Int32(SIGINT)
 59 | 			case .quit:
 60 | 				return Int32(SIGQUIT)
    |                  `- error: cannot find 'SIGQUIT' in scope
 61 | 			case .abrt:
 62 | 				return Int32(SIGABRT)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:62:18: error: cannot find 'SIGABRT' in scope
 60 | 				return Int32(SIGQUIT)
 61 | 			case .abrt:
 62 | 				return Int32(SIGABRT)
    |                  `- error: cannot find 'SIGABRT' in scope
 63 | 			case .kill:
 64 | 				return Int32(SIGKILL)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:64:18: error: cannot find 'SIGKILL' in scope
 62 | 				return Int32(SIGABRT)
 63 | 			case .kill:
 64 | 				return Int32(SIGKILL)
    |                  `- error: cannot find 'SIGKILL' in scope
 65 | 			case .alrm:
 66 | 				return Int32(SIGALRM)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:66:18: error: cannot find 'SIGALRM' in scope
 64 | 				return Int32(SIGKILL)
 65 | 			case .alrm:
 66 | 				return Int32(SIGALRM)
    |                  `- error: cannot find 'SIGALRM' in scope
 67 | 			case .term:
 68 | 				return Int32(SIGTERM)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:68:18: error: cannot find 'SIGTERM' in scope
 66 | 				return Int32(SIGALRM)
 67 | 			case .term:
 68 | 				return Int32(SIGTERM)
    |                  `- error: cannot find 'SIGTERM' in scope
 69 | 			case .pipe:
 70 | 				return Int32(SIGPIPE)
/host/spi-builder-workspace/.build/checkouts/BlueSignals/Sources/Signals/Signals.swift:70:18: error: cannot find 'SIGPIPE' in scope
 68 | 				return Int32(SIGTERM)
 69 | 			case .pipe:
 70 | 				return Int32(SIGPIPE)
    |                  `- error: cannot find 'SIGPIPE' in scope
 71 | 			case .user(let sig):
 72 | 				return Int32(sig)
[4/24] Emitting module Nanoseconds
[5/24] Compiling Nanoseconds Now.swift
/host/spi-builder-workspace/.build/checkouts/Nanoseconds/Sources/Nanoseconds/Now.swift:16:25: error: cannot find 'DispatchTime' in scope
 14 |     */
 15 |     public init() {
 16 |         self.rawValue = DispatchTime.now().rawValue
    |                         `- error: cannot find 'DispatchTime' in scope
 17 |     }
 18 | }
BUILD FAILURE 6.1 wasm