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

Successful build of CurrencyConverter, reference master (cb7f44), with Swift 6.0 for Linux on 30 Oct 2024 20:40:00 UTC.

Swift 6 data race errors: 0

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 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/flight-school/currencyconverter.git
Reference: master
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/flight-school/currencyconverter
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at cb7f44f Use GitHub Actions for CI/CD (#2)
Cloned https://github.com/flight-school/currencyconverter.git
Revision (git rev-parse @):
cb7f44ffeae81beb5dd9945dc5c118f177641775
SUCCESS checkout https://github.com/flight-school/currencyconverter.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/flight-school/currencyconverter.git
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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Flight-School/Money.git
[1/470] Fetching money
Fetched https://github.com/Flight-School/Money.git from cache (0.23s)
Computing version for https://github.com/Flight-School/Money.git
Computed https://github.com/Flight-School/Money.git at 1.4.0 (0.46s)
Creating working copy for https://github.com/Flight-School/Money.git
Working copy of https://github.com/Flight-School/Money.git resolved at 1.4.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling Money JSONDecoder+Extensions.swift
[5/8] Compiling Money Currency.swift
[6/8] Emitting module Money
[7/8] Compiling Money JSONEncoder+Extensions.swift
[8/8] Compiling Money Money.swift
[10/13] Compiling CurrencyConverter UnidirectionalCurrencyConverter.swift
[11/13] Compiling CurrencyConverter BidirectionalCurrencyConverter.swift
[12/13] Compiling CurrencyConverter CurrencyPair.swift
[13/13] Emitting module CurrencyConverter
Build complete! (12.24s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "money",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Flight-School/Money.git"
    }
  ],
  "manifest_display_name" : "CurrencyConverter",
  "name" : "CurrencyConverter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CurrencyConverter",
      "targets" : [
        "CurrencyConverter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CurrencyConverterTests",
      "module_type" : "SwiftTarget",
      "name" : "CurrencyConverterTests",
      "path" : "Tests/CurrencyConverterTests",
      "sources" : [
        "CurrenyPairTests.swift"
      ],
      "target_dependencies" : [
        "CurrencyConverter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CurrencyConverter",
      "module_type" : "SwiftTarget",
      "name" : "CurrencyConverter",
      "path" : "Sources/CurrencyConverter",
      "product_dependencies" : [
        "Money"
      ],
      "product_memberships" : [
        "CurrencyConverter"
      ],
      "sources" : [
        "BidirectionalCurrencyConverter.swift",
        "CurrencyPair.swift",
        "UnidirectionalCurrencyConverter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.