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 master (ab1a06), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 14:54:17 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: 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
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/253] Fetching clispinner
[29/1379] Fetching clispinner, rainbow
[306/2633] Fetching clispinner, rainbow, regex
[357/6781] Fetching clispinner, rainbow, regex, ddmathparser
Fetched https://github.com/sharplet/Regex from cache (1.45s)
Fetched https://github.com/onevcat/Rainbow from cache (1.45s)
Fetched https://github.com/davedelong/DDMathParser from cache (1.45s)
Fetched https://github.com/kiliankoe/CLISpinner from cache (1.45s)
Computing version for https://github.com/kiliankoe/CLISpinner
Computed https://github.com/kiliankoe/CLISpinner at 0.4.0 (0.59s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.5 (2.41s)
Computing version for https://github.com/davedelong/DDMathParser
Computed https://github.com/davedelong/DDMathParser at 3.1.0 (0.56s)
Computing version for https://github.com/sharplet/Regex
Computed https://github.com/sharplet/Regex at 2.1.0 (2.39s)
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/kiliankoe/CLISpinner
Working copy of https://github.com/kiliankoe/CLISpinner resolved at 0.4.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/davedelong/DDMathParser
Working copy of https://github.com/davedelong/DDMathParser resolved at 3.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.68s)
Fetching https://github.com/davedelong/DDMathParser from cache
Fetching https://github.com/sharplet/Regex from cache
Fetching https://github.com/kiliankoe/CLISpinner from cache
Fetching https://github.com/onevcat/Rainbow from cache
Fetched https://github.com/onevcat/Rainbow from cache (0.46s)
Fetched https://github.com/sharplet/Regex from cache (0.46s)
Fetched https://github.com/kiliankoe/CLISpinner from cache (0.46s)
Fetched https://github.com/davedelong/DDMathParser from cache (0.46s)
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/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 master (ab1a066)
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/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.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
[4/11] Write d20-entitlement.plist
[4/11] Write sources
[7/11] Write swift-version--7754E27361AE5C74.txt
[9/68] Emitting module MathParser
[10/72] Compiling Rainbow ModesExtractor.swift
[11/73] Compiling Rainbow String+Rainbow.swift
[12/73] Compiling Rainbow Style.swift
[13/73] Compiling Rainbow StringGenerator.swift
[14/73] Compiling Rainbow XcodeColorsSupport.swift
[15/73] Compiling Rainbow OutputTarget.swift
[16/73] Compiling Rainbow Color.swift
[17/73] Emitting module Rainbow
[18/73] Compiling MathParser DynamicResolution.swift
[19/73] Compiling MathParser Either.swift
[20/73] Compiling Rainbow ControlCode.swift
[21/73] Compiling Rainbow Rainbow.swift
[22/73] Compiling Regex ThreadLocal.swift
[23/73] Compiling Regex String+ReplaceMatching.swift
[24/73] Compiling Regex MatchResult.swift
[25/73] Compiling Regex Regex.swift
[26/73] Compiling Regex Options.swift
[27/73] Compiling MathParser Function.swift
[28/73] Compiling MathParser FunctionSet.swift
[29/73] Compiling MathParser Functions+Defaults.swift
[30/73] Compiling MathParser GroupedToken.swift
[31/73] Emitting module Regex
[32/73] Compiling Regex Foundation+Ranges.swift
[33/73] Compiling MathParser HexNumberExtractor.swift
[34/73] Compiling MathParser IdentifierExtractor.swift
[35/73] Compiling MathParser LocalizedNumberExtractor.swift
[36/73] Compiling MathParser MathParserErrors.swift
[37/73] Compiling MathParser RawToken.swift
[38/73] Compiling MathParser ResolvedToken.swift
[39/73] Compiling MathParser RewriteRule+Defaults.swift
[40/73] Compiling MathParser RewriteRule.swift
[41/73] Compiling MathParser Character.swift
[42/73] Compiling MathParser Configuration.swift
[43/73] Compiling MathParser DecimalNumberExtractor.swift
[44/73] Compiling MathParser Deprecations.swift
[45/73] Compiling MathParser Double.swift
[48/73] Compiling MathParser Evaluator.swift
[49/73] Compiling MathParser ExponentExtractor.swift
[50/73] Compiling MathParser Expression+Matching.swift
[51/73] Compiling MathParser Expression.swift
[52/73] Compiling MathParser ExpressionRewriter.swift
[53/73] Compiling MathParser Expressionizer.swift
[54/73] Compiling MathParser FractionNumberExtractor.swift
[55/73] Compiling MathParser OctalNumberExtractor.swift
[56/73] Compiling MathParser Operator+Defaults.swift
[57/73] Compiling MathParser Operator.swift
[58/73] Compiling MathParser OperatorExtractor.swift
[59/73] Compiling MathParser String.swift
[60/73] Compiling MathParser SubstitutionExtensions.swift
[61/73] Compiling MathParser TokenCharacterBuffer.swift
[62/73] Compiling MathParser TokenExtractor.swift
[63/73] Compiling MathParser OperatorSet.swift
[64/73] Compiling MathParser OperatorTokenSet.swift
[65/73] Compiling MathParser PeekingIterator.swift
[66/73] Compiling MathParser QuotedVariableExtractor.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 Spinner.swift
[72/80] Emitting module CLISpinner
[73/80] Compiling CLISpinner Pattern.swift
[74/80] Compiling CLISpinner Patterns+File.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 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] 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] 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] Write Objects.LinkFileList
[81/83] Linking d20
[82/83] Applying d20
Build complete! (38.47s)
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.