The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build CurrencyText, reference main (03d08a), with Swift 6.0 for Linux on 1 Jan 2025 22:29:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.0
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:         linux
Swift version:             6.0
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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/825] Fetching swift-concurrency-extras
[133/13289] Fetching swift-concurrency-extras, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.53s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.59s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.65s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.9.0 (0.65s)
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
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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/11] Compiling CurrencyFormatter CurrencyFormatter.swift
[7/11] Compiling CurrencyFormatter String.swift
[8/11] Compiling CurrencyFormatter NumberFormatter.swift
[9/11] Compiling CurrencyFormatter CurrencyLocale.swift
[10/11] Compiling CurrencyFormatter Currency.swift
[11/11] Emitting module CurrencyFormatter
[13/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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/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)
[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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling CurrencyFormatter NumberFormatter.swift
[3/7] Compiling CurrencyFormatter String.swift
[4/7] Compiling CurrencyFormatter CurrencyFormatter.swift
[5/7] Compiling CurrencyFormatter Currency.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.0 linux