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 D20 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/kiliankoe/D20.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/D20
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ab1a066 Add github workflow (#2)
Cloned https://github.com/kiliankoe/D20.git
Revision (git rev-parse @):
ab1a0662b5f61423058c17a6c7a59ae65d147e6c
SUCCESS checkout https://github.com/kiliankoe/D20.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/kiliankoe/D20.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/11] Write sources
[5/11] Write d20-entitlement.plist
[7/11] Write swift-version-6F35C1178C84523A.txt
[9/68] Emitting module MathParser
[10/72] Compiling Rainbow Style.swift
[11/73] Compiling Rainbow StringGenerator.swift
[12/73] Compiling Rainbow String+Rainbow.swift
[13/73] Compiling Rainbow XcodeColorsSupport.swift
[14/73] Emitting module Rainbow
[15/73] Compiling Rainbow OutputTarget.swift
[16/73] Compiling Rainbow ModesExtractor.swift
[17/73] Compiling Rainbow ControlCode.swift
[18/73] Compiling Rainbow Color.swift
[19/73] Compiling MathParser Character.swift
[20/73] Compiling MathParser Configuration.swift
[21/73] Compiling Rainbow Rainbow.swift
[22/73] Compiling Regex ThreadLocal.swift
[23/73] Compiling Regex Regex.swift
[24/77] Compiling MathParser TokenGrouper.swift
[25/77] Compiling MathParser TokenResolver.swift
[26/77] Compiling MathParser Tokenizer.swift
[27/77] Compiling MathParser VariableExtractor.swift
[28/77] Compiling MathParser String.swift
[29/77] Compiling MathParser SubstitutionExtensions.swift
[30/77] Compiling MathParser TokenCharacterBuffer.swift
[31/77] Compiling MathParser TokenExtractor.swift
[32/77] Compiling Regex MatchResult.swift
[33/77] Compiling Regex Options.swift
[34/77] Emitting module Regex
[35/77] Compiling Regex String+ReplaceMatching.swift
[36/77] Compiling Regex Foundation+Ranges.swift
[39/77] Compiling MathParser DecimalNumberExtractor.swift
[40/77] Compiling MathParser Deprecations.swift
[41/77] Compiling MathParser Double.swift
[42/77] Compiling MathParser Function.swift
[43/77] Compiling MathParser FunctionSet.swift
[44/77] Compiling MathParser Functions+Defaults.swift
[45/77] Compiling MathParser GroupedToken.swift
[46/77] Compiling MathParser HexNumberExtractor.swift
[47/77] Compiling MathParser IdentifierExtractor.swift
[48/77] Compiling MathParser LocalizedNumberExtractor.swift
[49/77] Compiling MathParser MathParserErrors.swift
[50/77] Compiling MathParser OperatorSet.swift
[51/77] Compiling MathParser OperatorTokenSet.swift
[52/77] Compiling MathParser PeekingIterator.swift
[53/77] Compiling MathParser QuotedVariableExtractor.swift
[54/77] Compiling MathParser RawToken.swift
[55/77] Compiling MathParser ResolvedToken.swift
[56/77] Compiling MathParser RewriteRule+Defaults.swift
[57/77] Compiling MathParser RewriteRule.swift
[58/77] Compiling MathParser OctalNumberExtractor.swift
[59/77] Compiling MathParser Operator+Defaults.swift
[60/77] Compiling MathParser Operator.swift
[61/77] Compiling MathParser OperatorExtractor.swift
[62/77] Compiling MathParser DynamicResolution.swift
[63/77] Compiling MathParser Either.swift
[64/77] Compiling MathParser Evaluator.swift
[65/77] Compiling MathParser ExponentExtractor.swift
[66/77] Compiling MathParser Expression+Matching.swift
[67/77] Compiling MathParser Expression.swift
[68/77] Compiling MathParser ExpressionRewriter.swift
[69/77] Compiling MathParser Expressionizer.swift
[70/77] Compiling MathParser FractionNumberExtractor.swift
[71/80] Compiling CLISpinner Patterns+File.swift
[72/80] Compiling CLISpinner Spinner.swift
[73/80] Emitting module CLISpinner
[74/80] Compiling CLISpinner Pattern.swift
[75/80] Emitting module D20
[76/80] Compiling D20 Roll.swift
[77/80] Compiling D20 Die.swift
[78/83] Compiling CLI main.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Roll.swift:6:5: warning: var 'spinner' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | import D20
 5 |
 6 | var spinner: Spinner?
   |     |- warning: var 'spinner' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'spinner' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: annotate 'spinner' 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
 7 |
 8 | func performRoll(_ roll: Roll) {
[79/83] Compiling CLI Roll.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Roll.swift:6:5: warning: var 'spinner' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | import D20
 5 |
 6 | var spinner: Spinner?
   |     |- warning: var 'spinner' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'spinner' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: annotate 'spinner' 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
 7 |
 8 | func performRoll(_ roll: Roll) {
[80/83] Emitting module CLI
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Roll.swift:6:5: warning: var 'spinner' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 4 | import D20
 5 |
 6 | var spinner: Spinner?
   |     |- warning: var 'spinner' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'spinner' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: annotate 'spinner' 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
 7 |
 8 | func performRoll(_ roll: Roll) {
[80/83] Write Objects.LinkFileList
[81/83] Linking d20
[82/83] Applying d20
Build complete! (52.75s)
Fetching https://github.com/davedelong/DDMathParser
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/sharplet/Regex
Fetching https://github.com/kiliankoe/CLISpinner
[1/253] Fetching clispinner
[9/1507] Fetching clispinner, regex
[118/2625] Fetching clispinner, regex, rainbow
[325/6768] Fetching clispinner, regex, rainbow, ddmathparser
Fetched https://github.com/onevcat/Rainbow from cache (1.46s)
Fetched https://github.com/sharplet/Regex from cache (1.46s)
Fetched https://github.com/kiliankoe/CLISpinner from cache (1.46s)
Fetched https://github.com/davedelong/DDMathParser from cache (1.46s)
Computing version for https://github.com/kiliankoe/CLISpinner
Computed https://github.com/kiliankoe/CLISpinner at 0.4.0 (0.67s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.5 (2.67s)
Computing version for https://github.com/davedelong/DDMathParser
Computed https://github.com/davedelong/DDMathParser at 3.1.0 (0.67s)
Computing version for https://github.com/sharplet/Regex
Computed https://github.com/sharplet/Regex at 2.1.0 (2.24s)
Creating working copy for https://github.com/davedelong/DDMathParser
Working copy of https://github.com/davedelong/DDMathParser resolved at 3.1.0
Creating working copy for https://github.com/sharplet/Regex
Working copy of https://github.com/sharplet/Regex resolved at 2.1.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.1.5
Creating working copy for https://github.com/kiliankoe/CLISpinner
Working copy of https://github.com/kiliankoe/CLISpinner resolved at 0.4.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "regex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sharplet/Regex"
    },
    {
      "identity" : "ddmathparser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/davedelong/DDMathParser"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "clispinner",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kiliankoe/CLISpinner"
    }
  ],
  "manifest_display_name" : "D20",
  "name" : "D20",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "D20",
      "targets" : [
        "D20"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "d20",
      "targets" : [
        "CLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "D20Tests",
      "module_type" : "SwiftTarget",
      "name" : "D20Tests",
      "path" : "Tests/D20Tests",
      "sources" : [
        "D20Tests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "D20"
      ],
      "type" : "test"
    },
    {
      "c99name" : "D20",
      "module_type" : "SwiftTarget",
      "name" : "D20",
      "path" : "Sources/D20",
      "product_dependencies" : [
        "Regex",
        "MathParser"
      ],
      "product_memberships" : [
        "D20",
        "d20"
      ],
      "sources" : [
        "Die.swift",
        "Roll.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLI",
      "module_type" : "SwiftTarget",
      "name" : "CLI",
      "path" : "Sources/CLI",
      "product_dependencies" : [
        "Rainbow",
        "CLISpinner"
      ],
      "product_memberships" : [
        "d20"
      ],
      "sources" : [
        "Roll.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "D20"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.