This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 Wordsmith with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/btfranklin/Wordsmith.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/btfranklin/Wordsmith
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 978f1c5 Updated Package.swift with the latest info.
Cloned https://github.com/btfranklin/Wordsmith.git
Revision (git rev-parse @):
978f1c5a53b1d55bb6f3f7481d1e02688f9134b5
SUCCESS checkout https://github.com/btfranklin/Wordsmith.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/btfranklin/Wordsmith.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/12] Copying Verbs.json
[0/12] Copying Common Female Given Names.json
[2/12] Write sources
[5/12] Copying Common Surnames.json
[5/12] Copying Adverbs.json
[5/12] Copying Nouns.json
[5/12] Copying Adjectives.json
[6/12] Copying Chemical Compound Names.json
[10/12] Copying Common Male Given Names.json
[11/12] Write swift-version-6F35C1178C84523A.txt
[13/24] Compiling StringBooster String+startsWithVowel.swift
[14/24] Compiling StringBooster String+titleCased.swift
[15/24] Compiling StringBooster String+firstUppercased.swift
[16/24] Compiling StringBooster String+parseIntoArray.swift
[17/24] Compiling ControlledChaos SeededRandomNumberGenerator.swift
[18/24] Compiling StringBooster NSMutableAttributedString+uppercaseFirstCharacter.swift
[19/24] Emitting module StringBooster
[20/24] Compiling ControlledChaos Double+randomGaussian.swift
[21/24] Compiling ControlledChaos Bool+randomProbability.swift
[22/24] Compiling ControlledChaos RandomItemBag.swift
[23/24] Compiling ControlledChaos ProbabilityGroup.swift
[24/24] Emitting module ControlledChaos
[25/70] Compiling Wordsmith CapitalizedText.swift
[26/70] Compiling Wordsmith Either.swift
[27/70] Compiling Wordsmith EmptyText.swift
[28/70] Compiling Wordsmith FirstUppercasedText.swift
[29/70] Compiling Wordsmith Maybe.swift
[30/74] Emitting module Wordsmith
/Users/admin/builder/spi-builder-workspace/Sources/Wordsmith/ExoticCharacterFactory.swift:7:23: warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'ExoticCharacterFactory' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | import Foundation
  4 |
  5 | public class ExoticCharacterFactory {
    |              `- note: class 'ExoticCharacterFactory' does not conform to the 'Sendable' protocol
  6 |
  7 |     public static let sharedInstance = ExoticCharacterFactory()
    |                       |- warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'ExoticCharacterFactory' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'sharedInstance' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 |     private let characterSets: [String: [String]]
[31/74] Compiling Wordsmith ChemicalCompoundName.swift
[32/74] Compiling Wordsmith Determiner.swift
[33/74] Compiling Wordsmith LocationAdjective.swift
[34/74] Compiling Wordsmith MartialSocialConcept.swift
[35/74] Compiling Wordsmith NauticalShipNameColor.swift
[36/74] Compiling Wordsmith Text.swift
[37/74] Compiling Wordsmith TextBuilder.swift
[38/74] Compiling Wordsmith TextComponent.swift
[39/74] Compiling Wordsmith TitleCasedText.swift
[40/74] Compiling Wordsmith CriminalGangName.swift
[41/74] Compiling Wordsmith OneOf.swift
[42/74] Compiling Wordsmith PossessiveFormText.swift
[43/74] Compiling Wordsmith PrefixedByArticleText.swift
[44/74] Compiling Wordsmith PrefixedByDeterminerText.swift
[45/74] Compiling Wordsmith String+TextComponent.swift
[46/74] Compiling Wordsmith AncientName.swift
[47/74] Compiling Wordsmith BandName.swift
[48/74] Compiling Wordsmith Adjective.swift
[49/74] Compiling Wordsmith Adverb.swift
[50/74] Compiling Wordsmith Article.swift
[51/74] Compiling Wordsmith SimpleWorkTitle.swift
[52/74] Compiling Wordsmith UnusualWorkTitle.swift
[53/74] Compiling Wordsmith WorkTitle.swift
[54/74] Compiling Wordsmith resource_bundle_accessor.swift
[55/74] Compiling Wordsmith PersonName.swift
[56/74] Compiling Wordsmith Surname.swift
[57/74] Compiling Wordsmith ReadableUniqueIdentifierFactory.swift
[58/74] Compiling Wordsmith TownName.swift
[59/74] Compiling Wordsmith WeirdName.swift
[60/74] Compiling Wordsmith NauticalShipNameObject.swift
[61/74] Compiling Wordsmith Noun.swift
[62/74] Compiling Wordsmith PrimitiveWeapon.swift
[63/74] Compiling Wordsmith Pronoun.swift
[64/74] Compiling Wordsmith ShipNameAdjective.swift
[65/74] Compiling Wordsmith TimeOfDay.swift
[66/74] Compiling Wordsmith UCBerkeleyEmotion.swift
[67/74] Compiling Wordsmith Verb.swift
[68/74] Compiling Wordsmith VillainousPersonNoun.swift
[69/74] Compiling Wordsmith BinaryGender.swift
[70/74] Compiling Wordsmith ExoticCharacterFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wordsmith/ExoticCharacterFactory.swift:7:23: warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'ExoticCharacterFactory' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | import Foundation
  4 |
  5 | public class ExoticCharacterFactory {
    |              `- note: class 'ExoticCharacterFactory' does not conform to the 'Sendable' protocol
  6 |
  7 |     public static let sharedInstance = ExoticCharacterFactory()
    |                       |- warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'ExoticCharacterFactory' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'sharedInstance' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 |     private let characterSets: [String: [String]]
[71/74] Compiling Wordsmith FictionalElementName.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wordsmith/ExoticCharacterFactory.swift:7:23: warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'ExoticCharacterFactory' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | import Foundation
  4 |
  5 | public class ExoticCharacterFactory {
    |              `- note: class 'ExoticCharacterFactory' does not conform to the 'Sendable' protocol
  6 |
  7 |     public static let sharedInstance = ExoticCharacterFactory()
    |                       |- warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'ExoticCharacterFactory' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'sharedInstance' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 |     private let characterSets: [String: [String]]
[72/74] Compiling Wordsmith FictionalMineralName.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wordsmith/ExoticCharacterFactory.swift:7:23: warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'ExoticCharacterFactory' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | import Foundation
  4 |
  5 | public class ExoticCharacterFactory {
    |              `- note: class 'ExoticCharacterFactory' does not conform to the 'Sendable' protocol
  6 |
  7 |     public static let sharedInstance = ExoticCharacterFactory()
    |                       |- warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'ExoticCharacterFactory' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'sharedInstance' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 |     private let characterSets: [String: [String]]
[73/74] Compiling Wordsmith NauticalShipName.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wordsmith/ExoticCharacterFactory.swift:7:23: warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'ExoticCharacterFactory' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | import Foundation
  4 |
  5 | public class ExoticCharacterFactory {
    |              `- note: class 'ExoticCharacterFactory' does not conform to the 'Sendable' protocol
  6 |
  7 |     public static let sharedInstance = ExoticCharacterFactory()
    |                       |- warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'ExoticCharacterFactory' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'sharedInstance' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 |     private let characterSets: [String: [String]]
[74/74] Compiling Wordsmith GivenName.swift
/Users/admin/builder/spi-builder-workspace/Sources/Wordsmith/ExoticCharacterFactory.swift:7:23: warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'ExoticCharacterFactory' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | import Foundation
  4 |
  5 | public class ExoticCharacterFactory {
    |              `- note: class 'ExoticCharacterFactory' does not conform to the 'Sendable' protocol
  6 |
  7 |     public static let sharedInstance = ExoticCharacterFactory()
    |                       |- warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'ExoticCharacterFactory' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'sharedInstance' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |
  9 |     private let characterSets: [String: [String]]
Build complete! (28.35s)
Fetching https://github.com/btfranklin/StringBooster
Fetching https://github.com/btfranklin/ControlledChaos
[1/125] Fetching controlledchaos
[126/266] Fetching controlledchaos, stringbooster
Fetched https://github.com/btfranklin/StringBooster from cache (0.74s)
Fetched https://github.com/btfranklin/ControlledChaos from cache (0.74s)
Computing version for https://github.com/btfranklin/StringBooster
Computed https://github.com/btfranklin/StringBooster at 1.4.0 (0.60s)
Computing version for https://github.com/btfranklin/ControlledChaos
Computed https://github.com/btfranklin/ControlledChaos at 1.3.2 (0.61s)
Creating working copy for https://github.com/btfranklin/ControlledChaos
Working copy of https://github.com/btfranklin/ControlledChaos resolved at 1.3.2
Creating working copy for https://github.com/btfranklin/StringBooster
Working copy of https://github.com/btfranklin/StringBooster resolved at 1.4.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "controlledchaos",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/btfranklin/ControlledChaos"
    },
    {
      "identity" : "stringbooster",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/btfranklin/StringBooster"
    }
  ],
  "manifest_display_name" : "Wordsmith",
  "name" : "Wordsmith",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "Wordsmith",
      "targets" : [
        "Wordsmith"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WordsmithTests",
      "module_type" : "SwiftTarget",
      "name" : "WordsmithTests",
      "path" : "Tests/WordsmithTests",
      "sources" : [
        "AncientNameTests.swift",
        "BandNameTests.swift",
        "Base Word Types/ChemicalCompoundNameTests.swift",
        "CriminalGangNameTests.swift",
        "FictionalElementNameTests.swift",
        "FictionalMineralNameTests.swift",
        "NauticalShipNameTests.swift",
        "Person Names/GivenNameTests.swift",
        "Person Names/PersonNameTests.swift",
        "Person Names/SurnameTests.swift",
        "ReadableUniqueIdentifierFactoryTests.swift",
        "Test Utilities/ExamplesTestUtil.swift",
        "Test Utilities/RepeatableResultsTestUtil.swift",
        "Test Utilities/UniquenessTestUtil.swift",
        "TownNameTests.swift",
        "WeirdNameTests.swift",
        "Work Titles/SimpleWorkTitleTests.swift",
        "Work Titles/UnusualWorkTitleTests.swift",
        "Work Titles/WorkTitleTests.swift"
      ],
      "target_dependencies" : [
        "Wordsmith"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Wordsmith",
      "module_type" : "SwiftTarget",
      "name" : "Wordsmith",
      "path" : "Sources/Wordsmith",
      "product_dependencies" : [
        "ControlledChaos",
        "StringBooster"
      ],
      "product_memberships" : [
        "Wordsmith"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Wordsmith/Assets/Chemical Compound Names.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Wordsmith/Assets/Nouns.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Wordsmith/Assets/Common Female Given Names.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Wordsmith/Assets/Common Male Given Names.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Wordsmith/Assets/Adverbs.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Wordsmith/Assets/Verbs.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Wordsmith/Assets/Adjectives.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Wordsmith/Assets/Common Surnames.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AncientName.swift",
        "BandName.swift",
        "Base Word Types/Adjective.swift",
        "Base Word Types/Adverb.swift",
        "Base Word Types/Article.swift",
        "Base Word Types/ChemicalCompoundName.swift",
        "Base Word Types/Determiner.swift",
        "Base Word Types/LocationAdjective.swift",
        "Base Word Types/MartialSocialConcept.swift",
        "Base Word Types/NauticalShipNameColor.swift",
        "Base Word Types/NauticalShipNameObject.swift",
        "Base Word Types/Noun.swift",
        "Base Word Types/PrimitiveWeapon.swift",
        "Base Word Types/Pronoun.swift",
        "Base Word Types/ShipNameAdjective.swift",
        "Base Word Types/TimeOfDay.swift",
        "Base Word Types/UCBerkeleyEmotion.swift",
        "Base Word Types/Verb.swift",
        "Base Word Types/VillainousPersonNoun.swift",
        "BinaryGender.swift",
        "Core/CapitalizedText.swift",
        "Core/Either.swift",
        "Core/EmptyText.swift",
        "Core/FirstUppercasedText.swift",
        "Core/Maybe.swift",
        "Core/OneOf.swift",
        "Core/PossessiveFormText.swift",
        "Core/PrefixedByArticleText.swift",
        "Core/PrefixedByDeterminerText.swift",
        "Core/String+TextComponent.swift",
        "Core/Text.swift",
        "Core/TextBuilder.swift",
        "Core/TextComponent.swift",
        "Core/TitleCasedText.swift",
        "CriminalGangName.swift",
        "ExoticCharacterFactory.swift",
        "FictionalElementName.swift",
        "FictionalMineralName.swift",
        "NauticalShipName.swift",
        "Person Names/GivenName.swift",
        "Person Names/PersonName.swift",
        "Person Names/Surname.swift",
        "ReadableUniqueIdentifierFactory.swift",
        "TownName.swift",
        "WeirdName.swift",
        "Work Titles/SimpleWorkTitle.swift",
        "Work Titles/UnusualWorkTitle.swift",
        "Work Titles/WorkTitle.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.