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 CurrencyText, reference main (03d08a), with Swift 6.1 for Wasm on 30 May 2025 04:03:16 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/marinofelipe/CurrencyText.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/marinofelipe/CurrencyText
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 03d08a0 Merge pull request #92 from Andrewangeta/swiftui-fix
Cloned https://github.com/marinofelipe/CurrencyText.git
Revision (git rev-parse @):
03d08a028a32547e26f50751660c7c0b3cfa3279
SUCCESS checkout https://github.com/marinofelipe/CurrencyText.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/marinofelipe/CurrencyText.git
https://github.com/marinofelipe/CurrencyText.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.9.0",
            "upper_bound" : "1.10.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing"
    },
    {
      "identity" : "swift-concurrency-extras",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "1.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-concurrency-extras"
    }
  ],
  "manifest_display_name" : "CurrencyText",
  "name" : "CurrencyText",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "CurrencyTextSwiftUI",
      "targets" : [
        "CurrencyFormatter",
        "CurrencyTextField"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CurrencyText",
      "targets" : [
        "CurrencyFormatter",
        "CurrencyUITextFieldDelegate"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CurrencyFormatter",
      "targets" : [
        "CurrencyFormatter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CurrencyUITextFieldDelegateTests",
      "module_type" : "SwiftTarget",
      "name" : "CurrencyUITextFieldDelegateTests",
      "path" : "Tests/UITextFieldDelegate",
      "sources" : [
        "CurrencyTextFieldDelegateTests.swift",
        "Mocks/PassthroughDelegateMock.swift",
        "UITextField.swift",
        "UITextFieldTests.swift"
      ],
      "target_dependencies" : [
        "CurrencyUITextFieldDelegate"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CurrencyUITextFieldDelegate",
      "module_type" : "SwiftTarget",
      "name" : "CurrencyUITextFieldDelegate",
      "path" : "Sources/UITextFieldDelegate",
      "product_memberships" : [
        "CurrencyTextSwiftUI",
        "CurrencyText"
      ],
      "sources" : [
        "CurrencyUITextFieldDelegate.swift",
        "UITextField.swift"
      ],
      "target_dependencies" : [
        "CurrencyFormatter"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CurrencyTextFieldTests",
      "module_type" : "SwiftTarget",
      "name" : "CurrencyTextFieldTests",
      "path" : "Tests/SwiftUI",
      "product_dependencies" : [
        "ConcurrencyExtras"
      ],
      "sources" : [
        "CurrencyTextFieldConfigurationTests.swift",
        "WrappedTextFieldTests.swift"
      ],
      "target_dependencies" : [
        "CurrencyTextField",
        "CurrencyTextFieldTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CurrencyTextFieldTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "CurrencyTextFieldTestSupport",
      "path" : "Sources/CurrencyTextFieldTestSupport",
      "sources" : [
        "Fixtures/Fixtures+CurrencyFormatter.swift",
        "Fixtures/Fixtures+CurrencyTextFieldConfiguration.swift"
      ],
      "target_dependencies" : [
        "CurrencyTextField",
        "CurrencyFormatter"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CurrencyTextFieldSnapshotTests",
      "module_type" : "SwiftTarget",
      "name" : "CurrencyTextFieldSnapshotTests",
      "path" : "Tests/SwiftUISnapshotTests",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SwiftUISnapshotTests/__Snapshots__",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CurrencyTextFieldSnapshotTests.swift"
      ],
      "target_dependencies" : [
        "CurrencyTextField",
        "CurrencyTextFieldTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CurrencyTextField",
      "module_type" : "SwiftTarget",
      "name" : "CurrencyTextField",
      "path" : "Sources/SwiftUI",
      "product_memberships" : [
        "CurrencyTextSwiftUI"
      ],
      "sources" : [
        "CurrencyTextField.swift",
        "CurrencyTextFieldConfiguration.swift",
        "OptionalBinding.swift",
        "WrappedTextField.swift"
      ],
      "target_dependencies" : [
        "CurrencyFormatter",
        "CurrencyUITextFieldDelegate"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CurrencyFormatterTests",
      "module_type" : "SwiftTarget",
      "name" : "CurrencyFormatterTests",
      "path" : "Tests/Formatter",
      "sources" : [
        "CurrencyFormatterTests.swift",
        "NumberFormatterTests.swift",
        "StringTests.swift"
      ],
      "target_dependencies" : [
        "CurrencyFormatter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CurrencyFormatter",
      "module_type" : "SwiftTarget",
      "name" : "CurrencyFormatter",
      "path" : "Sources/Formatter",
      "product_memberships" : [
        "CurrencyTextSwiftUI",
        "CurrencyText",
        "CurrencyFormatter"
      ],
      "sources" : [
        "Currency.swift",
        "CurrencyFormatter.swift",
        "CurrencyLocale.swift",
        "NumberFormatter.swift",
        "String.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/pointfreeco/swift-snapshot-testing
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/852] Fetching swift-concurrency-extras
[785/14041] Fetching swift-concurrency-extras, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (2.36s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.43s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (3.16s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.9.0 (0.69s)
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.9.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/11] Compiling CurrencyFormatter NumberFormatter.swift
[7/11] Compiling CurrencyFormatter CurrencyLocale.swift
[8/11] Compiling CurrencyFormatter Currency.swift
[9/11] Emitting module CurrencyFormatter
[10/11] Compiling CurrencyFormatter CurrencyFormatter.swift
[11/11] Compiling CurrencyFormatter String.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/15] Emitting module CurrencyUITextFieldDelegate
/host/spi-builder-workspace/Sources/UITextFieldDelegate/CurrencyUITextFieldDelegate.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | #if canImport(CurrencyFormatter)
[14/15] Compiling CurrencyUITextFieldDelegate UITextField.swift
/host/spi-builder-workspace/Sources/UITextFieldDelegate/CurrencyUITextFieldDelegate.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | #if canImport(CurrencyFormatter)
[15/15] Compiling CurrencyUITextFieldDelegate CurrencyUITextFieldDelegate.swift
/host/spi-builder-workspace/Sources/UITextFieldDelegate/CurrencyUITextFieldDelegate.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | #if canImport(CurrencyFormatter)
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling CurrencyFormatter String.swift
[3/7] Compiling CurrencyFormatter NumberFormatter.swift
[4/7] Compiling CurrencyFormatter Currency.swift
[5/7] Compiling CurrencyFormatter CurrencyFormatter.swift
[6/7] Emitting module CurrencyFormatter
[7/7] Compiling CurrencyFormatter CurrencyLocale.swift
[9/11] Compiling CurrencyUITextFieldDelegate UITextField.swift
/host/spi-builder-workspace/Sources/UITextFieldDelegate/CurrencyUITextFieldDelegate.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | #if canImport(CurrencyFormatter)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/11] Emitting module CurrencyUITextFieldDelegate
/host/spi-builder-workspace/Sources/UITextFieldDelegate/CurrencyUITextFieldDelegate.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | #if canImport(CurrencyFormatter)
[11/11] Compiling CurrencyUITextFieldDelegate CurrencyUITextFieldDelegate.swift
/host/spi-builder-workspace/Sources/UITextFieldDelegate/CurrencyUITextFieldDelegate.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 |
 11 | #if canImport(CurrencyFormatter)
BUILD FAILURE 6.1 wasm