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 Linux.

Swift 6 data race errors: 1

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/btfranklin/Wordsmith.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/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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/btfranklin/Wordsmith.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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
Fetching https://github.com/btfranklin/ControlledChaos
Fetching https://github.com/btfranklin/StringBooster
[1/141] Fetching stringbooster
[75/266] Fetching stringbooster, controlledchaos
Fetched https://github.com/btfranklin/StringBooster from cache (0.27s)
Fetched https://github.com/btfranklin/ControlledChaos from cache (0.27s)
Computing version for https://github.com/btfranklin/StringBooster
Computed https://github.com/btfranklin/StringBooster at 1.4.0 (0.80s)
Computing version for https://github.com/btfranklin/ControlledChaos
Computed https://github.com/btfranklin/ControlledChaos at 1.3.2 (0.83s)
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
Building for debugging...
[0/12] Copying Adjectives.json
[0/12] Write sources
[0/12] Copying Common Female Given Names.json
[0/12] Copying Adverbs.json
[0/12] Copying Chemical Compound Names.json
[0/12] Write sources
[7/12] Copying Nouns.json
[7/12] Copying Common Surnames.json
[7/12] Copying Common Male Given Names.json
[7/12] Copying Verbs.json
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/24] Compiling StringBooster String+titleCased.swift
[14/24] Compiling StringBooster String+startsWithVowel.swift
[15/24] Compiling StringBooster String+parseIntoArray.swift
[16/24] Compiling StringBooster String+firstUppercased.swift
[17/24] Compiling StringBooster NSMutableAttributedString+uppercaseFirstCharacter.swift
[18/24] Emitting module StringBooster
[19/25] Compiling ControlledChaos SeededRandomNumberGenerator.swift
[20/25] Compiling ControlledChaos RandomItemBag.swift
[22/25] Compiling ControlledChaos ProbabilityGroup.swift
[23/25] Compiling ControlledChaos Double+randomGaussian.swift
[24/25] Emitting module ControlledChaos
[25/25] Compiling ControlledChaos Bool+randomProbability.swift
[27/70] Compiling Wordsmith BinaryGender.swift
[28/70] Compiling Wordsmith CapitalizedText.swift
[29/70] Compiling Wordsmith Either.swift
[30/70] Compiling Wordsmith EmptyText.swift
[31/70] Compiling Wordsmith FirstUppercasedText.swift
[32/70] Compiling Wordsmith Maybe.swift
[33/76] Emitting module Wordsmith
/host/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]]
[34/76] Compiling Wordsmith OneOf.swift
[35/76] Compiling Wordsmith PossessiveFormText.swift
[36/76] Compiling Wordsmith PrefixedByArticleText.swift
[37/76] Compiling Wordsmith PrefixedByDeterminerText.swift
[38/76] Compiling Wordsmith String+TextComponent.swift
[39/76] Compiling Wordsmith Text.swift
[40/76] Compiling Wordsmith LocationAdjective.swift
[41/76] Compiling Wordsmith MartialSocialConcept.swift
[42/76] Compiling Wordsmith NauticalShipNameColor.swift
[43/76] Compiling Wordsmith NauticalShipNameObject.swift
[44/76] Compiling Wordsmith Noun.swift
[45/76] Compiling Wordsmith PrimitiveWeapon.swift
[46/76] Compiling Wordsmith AncientName.swift
[47/76] Compiling Wordsmith BandName.swift
[48/76] Compiling Wordsmith Adjective.swift
[49/76] Compiling Wordsmith Adverb.swift
[50/76] Compiling Wordsmith Article.swift
[51/76] Compiling Wordsmith ChemicalCompoundName.swift
[52/76] Compiling Wordsmith Determiner.swift
[53/76] Compiling Wordsmith FictionalMineralName.swift
[54/76] Compiling Wordsmith NauticalShipName.swift
[55/76] Compiling Wordsmith GivenName.swift
[56/76] Compiling Wordsmith PersonName.swift
[57/76] Compiling Wordsmith Surname.swift
[58/76] Compiling Wordsmith ReadableUniqueIdentifierFactory.swift
[59/76] Compiling Wordsmith TownName.swift
[60/76] Compiling Wordsmith WeirdName.swift
[61/76] Compiling Wordsmith SimpleWorkTitle.swift
[62/76] Compiling Wordsmith UnusualWorkTitle.swift
[63/76] Compiling Wordsmith WorkTitle.swift
[64/76] Compiling Wordsmith resource_bundle_accessor.swift
[65/76] Compiling Wordsmith Pronoun.swift
[66/76] Compiling Wordsmith ShipNameAdjective.swift
[67/76] Compiling Wordsmith TimeOfDay.swift
[68/76] Compiling Wordsmith UCBerkeleyEmotion.swift
[69/76] Compiling Wordsmith Verb.swift
[70/76] Compiling Wordsmith VillainousPersonNoun.swift
[71/76] Compiling Wordsmith TextBuilder.swift
/host/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/76] Compiling Wordsmith TextComponent.swift
/host/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/76] Compiling Wordsmith TitleCasedText.swift
/host/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/76] Compiling Wordsmith CriminalGangName.swift
/host/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]]
[75/76] Compiling Wordsmith ExoticCharacterFactory.swift
/host/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]]
[76/76] Compiling Wordsmith FictionalElementName.swift
/host/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! (27.44s)
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" : "/host/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" : "/host/spi-builder-workspace/Sources/Wordsmith/Assets/Common Surnames.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Wordsmith/Assets/Common Female Given Names.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Wordsmith/Assets/Adverbs.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Wordsmith/Assets/Nouns.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Wordsmith/Assets/Adjectives.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Wordsmith/Assets/Common Male Given Names.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Wordsmith/Assets/Chemical Compound Names.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Wordsmith/Assets/Verbs.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.