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, reference main (978f1c), with Swift 6.0 for Linux on 30 Nov 2024 01:41:50 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
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:  $PWD
https://github.com/btfranklin/Wordsmith.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/btfranklin/ControlledChaos
Fetching https://github.com/btfranklin/StringBooster
[1/125] Fetching controlledchaos
[126/266] Fetching controlledchaos, stringbooster
Fetched https://github.com/btfranklin/ControlledChaos from cache (0.22s)
Fetched https://github.com/btfranklin/StringBooster from cache (0.22s)
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 (1.13s)
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 Adverbs.json
[0/12] Copying Adjectives.json
[0/12] Copying Common Female Given Names.json
[0/12] Copying Chemical Compound Names.json
[0/12] Copying Common Surnames.json
[0/12] Write sources
[1/12] Copying Common Male Given Names.json
[2/12] Copying Verbs.json
[10/12] Copying Nouns.json
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/24] Compiling StringBooster String+startsWithVowel.swift
[14/24] Compiling StringBooster String+firstUppercased.swift
[15/24] Compiling StringBooster String+titleCased.swift
[16/24] Compiling StringBooster String+parseIntoArray.swift
[17/24] Emitting module ControlledChaos
[18/24] Compiling ControlledChaos ProbabilityGroup.swift
[19/24] Compiling ControlledChaos SeededRandomNumberGenerator.swift
[20/24] Compiling ControlledChaos RandomItemBag.swift
[21/24] Emitting module StringBooster
[22/24] Compiling StringBooster NSMutableAttributedString+uppercaseFirstCharacter.swift
[23/25] Compiling ControlledChaos Bool+randomProbability.swift
[24/25] Compiling ControlledChaos Double+randomGaussian.swift
[27/70] Compiling Wordsmith LocationAdjective.swift
[28/70] Compiling Wordsmith MartialSocialConcept.swift
[29/70] Compiling Wordsmith NauticalShipNameColor.swift
[30/70] Compiling Wordsmith NauticalShipNameObject.swift
[31/70] Compiling Wordsmith Noun.swift
[32/70] Compiling Wordsmith PrimitiveWeapon.swift
[33/76] Compiling Wordsmith OneOf.swift
[34/76] Compiling Wordsmith PossessiveFormText.swift
[35/76] Compiling Wordsmith PrefixedByArticleText.swift
[36/76] Compiling Wordsmith PrefixedByDeterminerText.swift
[37/76] Compiling Wordsmith String+TextComponent.swift
[38/76] Compiling Wordsmith Text.swift
[39/76] Compiling Wordsmith BinaryGender.swift
[40/76] Compiling Wordsmith CapitalizedText.swift
[41/76] Compiling Wordsmith Either.swift
[42/76] Compiling Wordsmith EmptyText.swift
[43/76] Compiling Wordsmith FirstUppercasedText.swift
[44/76] Compiling Wordsmith Maybe.swift
[45/76] Compiling Wordsmith AncientName.swift
[46/76] Compiling Wordsmith BandName.swift
[47/76] Compiling Wordsmith Adjective.swift
[48/76] Compiling Wordsmith Adverb.swift
[49/76] Compiling Wordsmith Article.swift
[50/76] Compiling Wordsmith ChemicalCompoundName.swift
[51/76] Compiling Wordsmith Determiner.swift
[52/76] Compiling Wordsmith Pronoun.swift
[53/76] Compiling Wordsmith ShipNameAdjective.swift
[54/76] Compiling Wordsmith TimeOfDay.swift
[55/76] Compiling Wordsmith UCBerkeleyEmotion.swift
[56/76] Compiling Wordsmith Verb.swift
[57/76] Compiling Wordsmith VillainousPersonNoun.swift
[58/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]]
[59/76] Compiling Wordsmith FictionalMineralName.swift
[60/76] Compiling Wordsmith NauticalShipName.swift
[61/76] Compiling Wordsmith GivenName.swift
[62/76] Compiling Wordsmith PersonName.swift
[63/76] Compiling Wordsmith Surname.swift
[64/76] Compiling Wordsmith ReadableUniqueIdentifierFactory.swift
[65/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]]
[66/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]]
[67/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]]
[68/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]]
[69/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]]
[70/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]]
[71/76] Compiling Wordsmith TownName.swift
[72/76] Compiling Wordsmith WeirdName.swift
[73/76] Compiling Wordsmith SimpleWorkTitle.swift
[74/76] Compiling Wordsmith UnusualWorkTitle.swift
[75/76] Compiling Wordsmith WorkTitle.swift
[76/76] Compiling Wordsmith resource_bundle_accessor.swift
Build complete! (23.14s)
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/Adjectives.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Wordsmith/Assets/Adverbs.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/Common Female Given Names.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/Common Surnames.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Wordsmith/Assets/Nouns.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"
}
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.