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.0 for macOS (SPM) on 26 Nov 2024 14:54:44 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.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/davedelong/DDMathParser
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/sharplet/Regex
Fetching https://github.com/kiliankoe/CLISpinner
[1/253] Fetching clispinner
[29/1379] Fetching clispinner, rainbow
[284/2633] Fetching clispinner, rainbow, regex
[335/6781] Fetching clispinner, rainbow, regex, ddmathparser
Fetched https://github.com/onevcat/Rainbow from cache (1.64s)
Fetched https://github.com/davedelong/DDMathParser from cache (1.64s)
Fetched https://github.com/sharplet/Regex from cache (1.64s)
Fetched https://github.com/kiliankoe/CLISpinner from cache (1.64s)
Computing version for https://github.com/kiliankoe/CLISpinner
Computed https://github.com/kiliankoe/CLISpinner at 0.4.0 (0.56s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.5 (2.26s)
Computing version for https://github.com/davedelong/DDMathParser
Computed https://github.com/davedelong/DDMathParser at 3.1.0 (0.51s)
Computing version for https://github.com/sharplet/Regex
Computed https://github.com/sharplet/Regex at 2.1.0 (2.19s)
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/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
Creating working copy for https://github.com/sharplet/Regex
Working copy of https://github.com/sharplet/Regex resolved at 2.1.0
========================================
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.73s)
Fetching https://github.com/davedelong/DDMathParser from cache
Fetching https://github.com/sharplet/Regex from cache
Fetching https://github.com/onevcat/Rainbow from cache
Fetching https://github.com/kiliankoe/CLISpinner from cache
Fetched https://github.com/davedelong/DDMathParser from cache (0.47s)
Fetched https://github.com/onevcat/Rainbow from cache (0.49s)
Fetched https://github.com/kiliankoe/CLISpinner from cache (0.49s)
Fetched https://github.com/sharplet/Regex from cache (0.49s)
Computing version for https://github.com/kiliankoe/CLISpinner
Computed https://github.com/kiliankoe/CLISpinner at 0.4.0 (0.02s)
Computing version for https://github.com/davedelong/DDMathParser
Computed https://github.com/davedelong/DDMathParser at 3.1.0 (0.02s)
Computing version for https://github.com/sharplet/Regex
Computed https://github.com/sharplet/Regex at 2.1.1 (0.02s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.02s)
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/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/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/davedelong/DDMathParser
Working copy of https://github.com/davedelong/DDMathParser resolved at 3.1.0
Found 4 product dependencies
  - Regex
  - MathParser
  - Rainbow
  - CLISpinner
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kiliankoe/D20.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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
[6/11] Write d20-entitlement.plist
[7/11] Write swift-version--7754E27361AE5C74.txt
[9/68] Emitting module MathParser
[10/72] Compiling Rainbow Style.swift
[11/72] Compiling Rainbow StringGenerator.swift
[12/73] Compiling Rainbow XcodeColorsSupport.swift
[13/73] Compiling Regex ThreadLocal.swift
[14/73] Compiling Rainbow String+Rainbow.swift
[15/73] Compiling Rainbow OutputTarget.swift
[16/73] Compiling MathParser HexNumberExtractor.swift
[17/73] Compiling MathParser IdentifierExtractor.swift
[18/73] Compiling Rainbow ModesExtractor.swift
[19/73] Compiling Rainbow ControlCode.swift
[20/73] Compiling Rainbow Color.swift
[21/73] Emitting module Rainbow
[22/73] Compiling Rainbow Rainbow.swift
[23/73] Emitting module Regex
[24/73] Compiling MathParser String.swift
[25/73] Compiling MathParser SubstitutionExtensions.swift
[26/73] Compiling MathParser TokenCharacterBuffer.swift
[27/73] Compiling MathParser TokenExtractor.swift
[28/73] Compiling Regex String+ReplaceMatching.swift
[29/73] Compiling Regex Options.swift
[30/73] Compiling Regex Foundation+Ranges.swift
[31/73] Compiling Regex MatchResult.swift
[32/73] Compiling Regex Regex.swift
[33/73] Compiling MathParser OperatorSet.swift
[34/73] Compiling MathParser OperatorTokenSet.swift
[35/73] Compiling MathParser PeekingIterator.swift
[36/73] Compiling MathParser QuotedVariableExtractor.swift
[37/73] Compiling MathParser OctalNumberExtractor.swift
[38/73] Compiling MathParser Operator+Defaults.swift
[39/73] Compiling MathParser Operator.swift
[40/73] Compiling MathParser OperatorExtractor.swift
[41/73] Compiling MathParser RawToken.swift
[42/73] Compiling MathParser ResolvedToken.swift
[43/73] Compiling MathParser RewriteRule+Defaults.swift
[44/73] Compiling MathParser RewriteRule.swift
[47/73] Compiling MathParser LocalizedNumberExtractor.swift
[48/73] Compiling MathParser MathParserErrors.swift
[49/73] Compiling MathParser Expression.swift
[50/73] Compiling MathParser ExpressionRewriter.swift
[51/73] Compiling MathParser Expressionizer.swift
[52/73] Compiling MathParser FractionNumberExtractor.swift
[53/73] Compiling MathParser Character.swift
[54/73] Compiling MathParser Configuration.swift
[55/73] Compiling MathParser DecimalNumberExtractor.swift
[56/73] Compiling MathParser Deprecations.swift
[57/73] Compiling MathParser Double.swift
[58/73] Compiling MathParser Function.swift
[59/73] Compiling MathParser FunctionSet.swift
[60/73] Compiling MathParser Functions+Defaults.swift
[61/73] Compiling MathParser GroupedToken.swift
[62/73] Compiling MathParser DynamicResolution.swift
[63/73] Compiling MathParser Either.swift
[64/73] Compiling MathParser Evaluator.swift
[65/73] Compiling MathParser ExponentExtractor.swift
[66/73] Compiling MathParser Expression+Matching.swift
[67/77] Compiling MathParser TokenGrouper.swift
[68/77] Compiling MathParser TokenResolver.swift
[69/77] Compiling MathParser Tokenizer.swift
[70/77] Compiling MathParser VariableExtractor.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] Compiling D20 Die.swift
[76/80] Emitting module D20
[77/80] Compiling D20 Roll.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 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: 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 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: 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 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: 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! (36.44s)
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.