The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of D20, reference 0.5.0 (6fbf42), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 15:37:59 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/D20.git
Reference: 0.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/D20
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at 6fbf426 Update readme
Cloned https://github.com/kiliankoe/D20.git
Revision (git rev-parse @):
6fbf426166804b5306febd23e63674f9976a2a28
SUCCESS checkout https://github.com/kiliankoe/D20.git at 0.5.0
Fetching https://github.com/sharplet/Regex
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/kiliankoe/CLISpinner
Fetching https://github.com/davedelong/DDMathParser
[1/4148] Fetching ddmathparser
[2/4401] Fetching ddmathparser, clispinner
[25/5597] Fetching ddmathparser, clispinner, rainbow
[85/6851] Fetching ddmathparser, clispinner, rainbow, regex
Fetched https://github.com/sharplet/Regex from cache (1.24s)
Fetched https://github.com/onevcat/Rainbow from cache (1.24s)
Fetched https://github.com/kiliankoe/CLISpinner from cache (1.24s)
Fetched https://github.com/davedelong/DDMathParser from cache (1.24s)
Computing version for https://github.com/kiliankoe/CLISpinner
Computed https://github.com/kiliankoe/CLISpinner at 0.4.0 (1.84s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.5 (0.68s)
Computing version for https://github.com/davedelong/DDMathParser
Computed https://github.com/davedelong/DDMathParser at 3.1.0 (0.59s)
Computing version for https://github.com/sharplet/Regex
Computed https://github.com/sharplet/Regex at 2.1.0 (2.94s)
Creating working copy for https://github.com/kiliankoe/CLISpinner
Working copy of https://github.com/kiliankoe/CLISpinner resolved at 0.4.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/davedelong/DDMathParser
Working copy of https://github.com/davedelong/DDMathParser resolved at 3.1.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.1.5
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "d20",
      "name": "D20",
      "url": "https://github.com/kiliankoe/D20.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/D20",
      "dependencies": [
        {
          "identity": "regex",
          "name": "Regex",
          "url": "https://github.com/sharplet/Regex",
          "version": "2.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Regex",
          "dependencies": [
          ]
        },
        {
          "identity": "ddmathparser",
          "name": "MathParser",
          "url": "https://github.com/davedelong/DDMathParser",
          "version": "3.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DDMathParser",
          "dependencies": [
          ]
        },
        {
          "identity": "rainbow",
          "name": "Rainbow",
          "url": "https://github.com/onevcat/Rainbow",
          "version": "3.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
          "dependencies": [
          ]
        },
        {
          "identity": "clispinner",
          "name": "CLISpinner",
          "url": "https://github.com/kiliankoe/CLISpinner",
          "version": "0.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CLISpinner",
          "dependencies": [
            {
              "identity": "rainbow",
              "name": "Rainbow",
              "url": "https://github.com/onevcat/Rainbow",
              "version": "3.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/kiliankoe/D20.git
[1/208] Fetching d20
Fetched https://github.com/kiliankoe/D20.git from cache (0.63s)
Fetching https://github.com/onevcat/Rainbow from cache
Fetching https://github.com/kiliankoe/CLISpinner from cache
Fetching https://github.com/sharplet/Regex from cache
Fetching https://github.com/davedelong/DDMathParser from cache
Fetched https://github.com/davedelong/DDMathParser from cache (0.47s)
Fetched https://github.com/kiliankoe/CLISpinner from cache (0.47s)
Fetched https://github.com/onevcat/Rainbow from cache (0.47s)
Fetched https://github.com/sharplet/Regex from cache (0.47s)
Computing version for https://github.com/kiliankoe/CLISpinner
Computed https://github.com/kiliankoe/CLISpinner at 0.4.0 (0.53s)
Computing version for https://github.com/davedelong/DDMathParser
Computed https://github.com/davedelong/DDMathParser at 3.1.0 (0.03s)
Computing version for https://github.com/sharplet/Regex
Computed https://github.com/sharplet/Regex at 2.1.1 (0.03s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.03s)
Creating working copy for https://github.com/sharplet/Regex
Working copy of https://github.com/sharplet/Regex resolved at 2.1.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/kiliankoe/D20.git
Working copy of https://github.com/kiliankoe/D20.git resolved at 0.5.0 (6fbf426)
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/kiliankoe/CLISpinner
Working copy of https://github.com/kiliankoe/CLISpinner resolved at 0.4.0
Found 4 product dependencies
  - Regex
  - MathParser
  - Rainbow
  - CLISpinner
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kiliankoe/D20.git
https://github.com/kiliankoe/D20.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/11] Write sources
[2/11] Write d20-entitlement.plist
[2/11] Write sources
[7/11] Write swift-version-2F0A5646E1D333AE.txt
[9/68] Emitting module Rainbow
[10/69] Compiling Rainbow Style.swift
[11/69] Compiling Rainbow StringGenerator.swift
[12/69] Compiling Rainbow XcodeColorsSupport.swift
[13/69] Compiling Rainbow ModesExtractor.swift
[14/69] Compiling Rainbow Color.swift
[15/69] Compiling Rainbow String+Rainbow.swift
[16/69] Compiling Rainbow ControlCode.swift
[17/69] Compiling MathParser Character.swift
[18/69] Compiling MathParser Configuration.swift
[19/69] Compiling Rainbow Rainbow.swift
[20/69] Compiling Rainbow OutputTarget.swift
[21/69] Compiling Regex ThreadLocal.swift
[22/73] Compiling MathParser Expression.swift
[23/73] Compiling MathParser ExpressionRewriter.swift
[24/73] Compiling MathParser Expressionizer.swift
[25/73] Compiling MathParser FractionNumberExtractor.swift
[26/77] Compiling MathParser HexNumberExtractor.swift
[27/77] Compiling MathParser IdentifierExtractor.swift
[28/77] Compiling MathParser LocalizedNumberExtractor.swift
[29/77] Compiling MathParser MathParserErrors.swift
[30/77] Compiling MathParser Function.swift
[31/77] Compiling MathParser FunctionSet.swift
[32/77] Compiling MathParser Functions+Defaults.swift
[33/77] Compiling MathParser GroupedToken.swift
[34/77] Compiling MathParser OctalNumberExtractor.swift
[35/77] Compiling MathParser Operator+Defaults.swift
[36/77] Compiling MathParser Operator.swift
[37/77] Compiling MathParser OperatorExtractor.swift
[38/77] Emitting module MathParser
[39/77] Compiling MathParser RawToken.swift
[40/77] Compiling MathParser ResolvedToken.swift
[41/77] Compiling MathParser RewriteRule+Defaults.swift
[42/77] Compiling MathParser RewriteRule.swift
[43/77] Compiling MathParser OperatorSet.swift
[44/77] Compiling MathParser OperatorTokenSet.swift
[45/77] Compiling MathParser PeekingIterator.swift
[46/77] Compiling MathParser QuotedVariableExtractor.swift
[47/77] Compiling MathParser String.swift
[48/77] Compiling MathParser SubstitutionExtensions.swift
[49/77] Compiling MathParser TokenCharacterBuffer.swift
[50/77] Compiling MathParser TokenExtractor.swift
[53/77] Compiling MathParser DecimalNumberExtractor.swift
[54/77] Compiling MathParser Deprecations.swift
[55/77] Compiling MathParser Double.swift
[56/77] Compiling MathParser DynamicResolution.swift
[57/77] Compiling MathParser Either.swift
[58/77] Compiling MathParser Evaluator.swift
[59/77] Compiling MathParser ExponentExtractor.swift
[60/77] Compiling MathParser Expression+Matching.swift
[61/77] Compiling Regex String+ReplaceMatching.swift
[62/77] Compiling Regex MatchResult.swift
[63/77] Compiling Regex Regex.swift
[64/77] Compiling Regex Foundation+Ranges.swift
[65/77] Compiling Regex Options.swift
[66/77] Emitting module Regex
[67/77] Compiling CLISpinner Patterns+File.swift
[68/77] Compiling CLISpinner Spinner.swift
[69/77] Compiling CLISpinner Pattern.swift
[70/77] Emitting module CLISpinner
[71/77] Compiling MathParser TokenGrouper.swift
[72/77] Compiling MathParser TokenResolver.swift
[73/77] Compiling MathParser Tokenizer.swift
[74/77] Compiling MathParser VariableExtractor.swift
[75/80] Compiling D20 Roll.swift
[76/80] Emitting module D20
[77/80] Compiling D20 Die.swift
[78/83] Compiling CLI main.swift
[79/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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'spinner' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 | func performRoll(_ roll: Roll) {
[80/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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'spinner' part of global actor 'MainActor'
   |     `- 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! (11.73s)
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.