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 FinnishPIDVerifier, reference main (6686ec), with Swift 6.0 for Linux on 5 Nov 2024 05:34:48 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/anttijuu/FinnishPIDVerifier.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/anttijuu/FinnishPIDVerifier
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6686ecf Regenerated docs with newest version of SwiftDocC plugin
Cloned https://github.com/anttijuu/FinnishPIDVerifier.git
Revision (git rev-parse @):
6686ecfaae13bfca3e5660b089e82135fd21e4f7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/anttijuu/FinnishPIDVerifier.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/anttijuu/FinnishPIDVerifier.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.36s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.78s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.45s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/8] Write sources
[2/8] Copying Localizable.strings
[2/8] Copying Info.plist
[3/8] Copying Localizable.strings
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/13] Compiling FinnishPIDVerifier FinnishPIDGenerator.swift
/host/spi-builder-workspace/Sources/FinnishPIDVerifier/FinnishPID.swift:99:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 97 | 	public let pid: String
 98 | 	/// The validity of the checked PID.
 99 | 	public private (set) var validity: Validity = .invalidPID
    |         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
100 | 	/// The gender of the person based on the PID.
101 | 	public private (set) var gender: Gender = .undefined
/host/spi-builder-workspace/Sources/FinnishPIDVerifier/FinnishPID.swift:101:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 99 | 	public private (set) var validity: Validity = .invalidPID
100 | 	/// The gender of the person based on the PID.
101 | 	public private (set) var gender: Gender = .undefined
    |         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
102 | 	/// The birth date of the person based on the PID. If PID was invalid, is `nil`.
103 | 	public private (set) var birthDay: Date?
/host/spi-builder-workspace/Sources/FinnishPIDVerifier/FinnishPID.swift:103:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
101 | 	public private (set) var gender: Gender = .undefined
102 | 	/// The birth date of the person based on the PID. If PID was invalid, is `nil`.
103 | 	public private (set) var birthDay: Date?
    |         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
104 |
105 | 	/// True, if the PID was valid and *not* a test PID.
[10/13] Compiling FinnishPIDVerifier resource_bundle_accessor.swift
[11/13] Compiling FinnishPIDVerifier FinnishPID.swift
/host/spi-builder-workspace/Sources/FinnishPIDVerifier/FinnishPID.swift:99:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 97 | 	public let pid: String
 98 | 	/// The validity of the checked PID.
 99 | 	public private (set) var validity: Validity = .invalidPID
    |         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
100 | 	/// The gender of the person based on the PID.
101 | 	public private (set) var gender: Gender = .undefined
/host/spi-builder-workspace/Sources/FinnishPIDVerifier/FinnishPID.swift:101:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 99 | 	public private (set) var validity: Validity = .invalidPID
100 | 	/// The gender of the person based on the PID.
101 | 	public private (set) var gender: Gender = .undefined
    |         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
102 | 	/// The birth date of the person based on the PID. If PID was invalid, is `nil`.
103 | 	public private (set) var birthDay: Date?
/host/spi-builder-workspace/Sources/FinnishPIDVerifier/FinnishPID.swift:103:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
101 | 	public private (set) var gender: Gender = .undefined
102 | 	/// The birth date of the person based on the PID. If PID was invalid, is `nil`.
103 | 	public private (set) var birthDay: Date?
    |         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
104 |
105 | 	/// True, if the PID was valid and *not* a test PID.
[12/13] Emitting module FinnishPIDVerifier
/host/spi-builder-workspace/Sources/FinnishPIDVerifier/FinnishPID.swift:99:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 97 | 	public let pid: String
 98 | 	/// The validity of the checked PID.
 99 | 	public private (set) var validity: Validity = .invalidPID
    |         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
100 | 	/// The gender of the person based on the PID.
101 | 	public private (set) var gender: Gender = .undefined
/host/spi-builder-workspace/Sources/FinnishPIDVerifier/FinnishPID.swift:101:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 99 | 	public private (set) var validity: Validity = .invalidPID
100 | 	/// The gender of the person based on the PID.
101 | 	public private (set) var gender: Gender = .undefined
    |         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
102 | 	/// The birth date of the person based on the PID. If PID was invalid, is `nil`.
103 | 	public private (set) var birthDay: Date?
/host/spi-builder-workspace/Sources/FinnishPIDVerifier/FinnishPID.swift:103:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
101 | 	public private (set) var gender: Gender = .undefined
102 | 	/// The birth date of the person based on the PID. If PID was invalid, is `nil`.
103 | 	public private (set) var birthDay: Date?
    |         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
104 |
105 | 	/// True, if the PID was valid and *not* a test PID.
[13/13] Compiling FinnishPIDVerifier FinnishPID+Comparable.swift
/host/spi-builder-workspace/Sources/FinnishPIDVerifier/FinnishPID.swift:99:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 97 | 	public let pid: String
 98 | 	/// The validity of the checked PID.
 99 | 	public private (set) var validity: Validity = .invalidPID
    |         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
100 | 	/// The gender of the person based on the PID.
101 | 	public private (set) var gender: Gender = .undefined
/host/spi-builder-workspace/Sources/FinnishPIDVerifier/FinnishPID.swift:101:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 99 | 	public private (set) var validity: Validity = .invalidPID
100 | 	/// The gender of the person based on the PID.
101 | 	public private (set) var gender: Gender = .undefined
    |         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
102 | 	/// The birth date of the person based on the PID. If PID was invalid, is `nil`.
103 | 	public private (set) var birthDay: Date?
/host/spi-builder-workspace/Sources/FinnishPIDVerifier/FinnishPID.swift:103:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
101 | 	public private (set) var gender: Gender = .undefined
102 | 	/// The birth date of the person based on the PID. If PID was invalid, is `nil`.
103 | 	public private (set) var birthDay: Date?
    |         `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
104 |
105 | 	/// True, if the PID was valid and *not* a test PID.
Build complete! (22.65s)
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "FinnishPIDVerifier",
  "name" : "FinnishPIDVerifier",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "FinnishPIDVerifier",
      "targets" : [
        "FinnishPIDVerifier"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FinnishPIDVerifierTests",
      "module_type" : "SwiftTarget",
      "name" : "FinnishPIDVerifierTests",
      "path" : "Tests/FinnishPIDVerifierTests",
      "sources" : [
        "FiPIDGeneratorTests.swift",
        "FiPIDTests.swift"
      ],
      "target_dependencies" : [
        "FinnishPIDVerifier"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FinnishPIDVerifier",
      "module_type" : "SwiftTarget",
      "name" : "FinnishPIDVerifier",
      "path" : "Sources/FinnishPIDVerifier",
      "product_memberships" : [
        "FinnishPIDVerifier"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/FinnishPIDVerifier/Resources/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/FinnishPIDVerifier/Resources/fi.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fi"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/FinnishPIDVerifier/Resources/se.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "se"
            }
          }
        }
      ],
      "sources" : [
        "FinnishPID+Comparable.swift",
        "FinnishPID.swift",
        "FinnishPIDGenerator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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.