The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftyChords, reference main (77ea3f), with Swift 6.1 for Wasm on 29 May 2025 14:48:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/BeauNouvelle/SwiftyGuitarChords.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/BeauNouvelle/SwiftyGuitarChords
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 77ea3f8 Merge pull request #31 from x-0o0/patch-1
Cloned https://github.com/BeauNouvelle/SwiftyGuitarChords.git
Revision (git rev-parse @):
77ea3f8d8a73ad6f8843e9556ba92cc3616433bb
SUCCESS checkout https://github.com/BeauNouvelle/SwiftyGuitarChords.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/BeauNouvelle/SwiftyGuitarChords.git
https://github.com/BeauNouvelle/SwiftyGuitarChords.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyChords",
  "name" : "SwiftyChords",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftyChords",
      "targets" : [
        "SwiftyChords"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyChordsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyChordsTests",
      "path" : "Tests/SwiftyChordsTests",
      "sources" : [
        "ArrayExtensionTests.swift",
        "Chord.Tests.swift"
      ],
      "target_dependencies" : [
        "SwiftyChords"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyChords",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyChords",
      "path" : "Sources/SwiftyChords",
      "product_memberships" : [
        "SwiftyChords"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SwiftyChords/Resources/GuitarChords.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwiftyChords/Resources/UkuleleChords.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Aliasses.swift",
        "Array+Chords.swift",
        "ChordPosition.swift",
        "Chords.swift",
        "ImageFromLayer.swift",
        "LineConfig.swift",
        "NSAttributedString+Glyphs.swift",
        "String+Path.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/4] Copying UkuleleChords.json
[0/4] Write sources
[2/4] Copying GuitarChords.json
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/13] Compiling SwiftyChords String+Path.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[6/14] Compiling SwiftyChords resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/14] Emitting module SwiftyChords
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[8/14] Compiling SwiftyChords Aliasses.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[9/14] Compiling SwiftyChords Array+Chords.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[10/14] Compiling SwiftyChords NSAttributedString+Glyphs.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[11/14] Compiling SwiftyChords ChordPosition.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[12/14] Compiling SwiftyChords LineConfig.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[13/14] Compiling SwiftyChords ImageFromLayer.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[14/14] Compiling SwiftyChords Chords.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/10] Compiling SwiftyChords Chords.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[3/10] Compiling SwiftyChords ImageFromLayer.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Emitting module SwiftyChords
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[5/11] Compiling SwiftyChords resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[6/11] Compiling SwiftyChords ChordPosition.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[7/11] Compiling SwiftyChords Aliasses.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[8/11] Compiling SwiftyChords Array+Chords.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[9/11] Compiling SwiftyChords LineConfig.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[10/11] Compiling SwiftyChords NSAttributedString+Glyphs.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
[11/11] Compiling SwiftyChords String+Path.swift
/host/spi-builder-workspace/Sources/SwiftyChords/Aliasses.swift:11:8: error: no such module 'UIKit'
 9 | import AppKit
10 | #else
11 | import UIKit
   |        `- error: no such module 'UIKit'
12 | #endif
13 |
BUILD FAILURE 6.1 wasm