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 Splash, reference master (2e3f17), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 12:44:49 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/JohnSundell/Splash.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JohnSundell/Splash
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2e3f17c Correctly highlight the 'any' keyword when used within other type references (#130)
Cloned https://github.com/JohnSundell/Splash.git
Revision (git rev-parse @):
2e3f17c2d09689c8bf175c4a84ff7f2ad3353301
SUCCESS checkout https://github.com/JohnSundell/Splash.git at master
========================================
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": "splash",
      "name": "Splash",
      "url": "https://github.com/JohnSundell/Splash.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Splash",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/JohnSundell/Splash.git
[1/2167] Fetching splash
Fetched https://github.com/JohnSundell/Splash.git from cache (0.89s)
Creating working copy for https://github.com/JohnSundell/Splash.git
Working copy of https://github.com/JohnSundell/Splash.git resolved at master (2e3f17c)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/JohnSundell/Splash.git
https://github.com/JohnSundell/Splash.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Splash",
  "name" : "Splash",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Splash",
      "targets" : [
        "Splash"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SplashMarkdown",
      "targets" : [
        "SplashMarkdown"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SplashHTMLGen",
      "targets" : [
        "SplashHTMLGen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SplashImageGen",
      "targets" : [
        "SplashImageGen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SplashTokenizer",
      "targets" : [
        "SplashTokenizer"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SplashTokenizer",
      "module_type" : "SwiftTarget",
      "name" : "SplashTokenizer",
      "path" : "Sources/SplashTokenizer",
      "product_memberships" : [
        "SplashTokenizer"
      ],
      "sources" : [
        "TokenizerOutputFormat.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Splash"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SplashTests",
      "module_type" : "SwiftTarget",
      "name" : "SplashTests",
      "path" : "Tests/SplashTests",
      "sources" : [
        "Core/SyntaxHighlighterTestCase.swift",
        "Mocks/OutputBuilderMock.swift",
        "Mocks/OutputFormatMock.swift",
        "Tests/ClosureTests.swift",
        "Tests/CommentTests.swift",
        "Tests/DeclarationTests.swift",
        "Tests/EnumTests.swift",
        "Tests/FunctionCallTests.swift",
        "Tests/HTMLOutputFormatTests.swift",
        "Tests/LiteralTests.swift",
        "Tests/MarkdownTests.swift",
        "Tests/OptionalTests.swift",
        "Tests/PreprocessorTests.swift",
        "Tests/StatementTests.swift",
        "Tests/TokenTypeTests.swift"
      ],
      "target_dependencies" : [
        "Splash"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SplashMarkdown",
      "module_type" : "SwiftTarget",
      "name" : "SplashMarkdown",
      "path" : "Sources/SplashMarkdown",
      "product_memberships" : [
        "SplashMarkdown"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Splash"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SplashImageGen",
      "module_type" : "SwiftTarget",
      "name" : "SplashImageGen",
      "path" : "Sources/SplashImageGen",
      "product_memberships" : [
        "SplashImageGen"
      ],
      "sources" : [
        "Extensions/CGImage+WriteToURL.swift",
        "Extensions/CommandLine+Options.swift",
        "Extensions/NSGraphicsContext+Fill.swift",
        "Extensions/NSGraphicsContext+InitWithSize.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Splash"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SplashHTMLGen",
      "module_type" : "SwiftTarget",
      "name" : "SplashHTMLGen",
      "path" : "Sources/SplashHTMLGen",
      "product_memberships" : [
        "SplashHTMLGen"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Splash"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Splash",
      "module_type" : "SwiftTarget",
      "name" : "Splash",
      "path" : "Sources/Splash",
      "product_memberships" : [
        "Splash",
        "SplashMarkdown",
        "SplashHTMLGen",
        "SplashImageGen",
        "SplashTokenizer"
      ],
      "sources" : [
        "Extensions/CharacterSet/CharacterSet+Contains.swift",
        "Extensions/Equatable/Equatable+AnyOf.swift",
        "Extensions/Int/Int+IsOdd.swift",
        "Extensions/Sequence/Sequence+AnyOf.swift",
        "Extensions/Sequence/Sequence+Occurrences.swift",
        "Extensions/Strings/String+HTMLEntities.swift",
        "Extensions/Strings/String+IsNumber.swift",
        "Extensions/Strings/String+PrefixChecking.swift",
        "Extensions/Strings/String+Removing.swift",
        "Extensions/Strings/Substring+HasSuffix.swift",
        "Grammar/Grammar.swift",
        "Grammar/SwiftGrammar.swift",
        "Output/AttributedStringOutputFormat.swift",
        "Output/HTMLOutputFormat.swift",
        "Output/MarkdownDecorator.swift",
        "Output/OutputBuilder.swift",
        "Output/OutputFormat.swift",
        "Syntax/SyntaxHighlighter.swift",
        "Syntax/SyntaxRule.swift",
        "Theming/Color.swift",
        "Theming/Font.swift",
        "Theming/Theme+Defaults.swift",
        "Theming/Theme.swift",
        "Tokenizing/Segment.swift",
        "Tokenizing/TokenType.swift",
        "Tokenizing/Tokenizer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
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/22] Write sources
[2/22] Write SplashTokenizer-entitlement.plist
[5/22] Write sources
[6/22] Write SplashMarkdown-entitlement.plist
[6/22] Write SplashImageGen-entitlement.plist
[8/22] Write SplashHTMLGen-entitlement.plist
[9/22] Write swift-version-2F0A5646E1D333AE.txt
[11/47] Emitting module Splash
/Users/admin/builder/spi-builder-workspace/Sources/Splash/Theming/Theme.swift:27:42: warning: initializer 'init(white:alpha:)' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
25 |                 plainTextColor: Color,
26 |                 tokenColors: [TokenType: Color],
27 |                 backgroundColor: Color = Color(white: 0.12, alpha: 1)) {
   |                                          |- warning: initializer 'init(white:alpha:)' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
   |                                          `- note: The missing import of module 'AppKit' will be added implicitly
28 |         self.font = font
29 |         self.plainTextColor = plainTextColor
[12/49] Compiling Splash TokenType.swift
[13/49] Compiling Splash Tokenizer.swift
[14/49] Compiling Splash Theme.swift
/Users/admin/builder/spi-builder-workspace/Sources/Splash/Theming/Theme.swift:27:42: warning: initializer 'init(white:alpha:)' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
25 |                 plainTextColor: Color,
26 |                 tokenColors: [TokenType: Color],
27 |                 backgroundColor: Color = Color(white: 0.12, alpha: 1)) {
   |                                          |- warning: initializer 'init(white:alpha:)' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
   |                                          `- note: The missing import of module 'AppKit' will be added implicitly
28 |         self.font = font
29 |         self.plainTextColor = plainTextColor
[15/49] Compiling Splash Segment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Splash/Theming/Theme.swift:27:42: warning: initializer 'init(white:alpha:)' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
25 |                 plainTextColor: Color,
26 |                 tokenColors: [TokenType: Color],
27 |                 backgroundColor: Color = Color(white: 0.12, alpha: 1)) {
   |                                          |- warning: initializer 'init(white:alpha:)' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
   |                                          `- note: The missing import of module 'AppKit' will be added implicitly
28 |         self.font = font
29 |         self.plainTextColor = plainTextColor
[16/49] Compiling Splash Sequence+AnyOf.swift
[17/49] Compiling Splash Sequence+Occurrences.swift
[18/49] Compiling Splash String+HTMLEntities.swift
[19/49] Compiling Splash CharacterSet+Contains.swift
[20/49] Compiling Splash Equatable+AnyOf.swift
[21/49] Compiling Splash Int+IsOdd.swift
[22/49] Compiling Splash AttributedStringOutputFormat.swift
[23/49] Compiling Splash HTMLOutputFormat.swift
[24/49] Compiling Splash MarkdownDecorator.swift
[25/49] Compiling Splash SyntaxRule.swift
[26/49] Compiling Splash Color.swift
[27/49] Compiling Splash String+IsNumber.swift
[28/49] Compiling Splash String+PrefixChecking.swift
[29/49] Compiling Splash String+Removing.swift
[30/49] Compiling Splash Substring+HasSuffix.swift
[31/49] Compiling Splash Grammar.swift
[32/49] Compiling Splash SwiftGrammar.swift
[33/49] Compiling Splash OutputBuilder.swift
[34/49] Compiling Splash OutputFormat.swift
[35/49] Compiling Splash SyntaxHighlighter.swift
[36/49] Compiling Splash Font.swift
[37/49] Compiling Splash Theme+Defaults.swift
[38/62] Compiling SplashHTMLGen main.swift
[39/62] Emitting module SplashHTMLGen
[39/62] Write Objects.LinkFileList
[41/62] Compiling SplashTokenizer main.swift
[42/62] Emitting module SplashMarkdown
[43/62] Compiling SplashMarkdown main.swift
[43/62] Write Objects.LinkFileList
[45/62] Emitting module SplashTokenizer
[46/62] Compiling SplashTokenizer TokenizerOutputFormat.swift
[46/62] Write Objects.LinkFileList
[48/62] Compiling SplashImageGen main.swift
[49/62] Compiling SplashImageGen NSGraphicsContext+InitWithSize.swift
[50/62] Compiling SplashImageGen NSGraphicsContext+Fill.swift
[51/62] Compiling SplashImageGen CGImage+WriteToURL.swift
[52/62] Emitting module SplashImageGen
[53/62] Compiling SplashImageGen CommandLine+Options.swift
[53/62] Write Objects.LinkFileList
[54/62] Linking SplashTokenizer
[54/62] Linking SplashMarkdown
[56/62] Linking SplashHTMLGen
[57/62] Linking SplashImageGen
[58/62] Applying SplashHTMLGen
[59/62] Applying SplashMarkdown
[60/62] Applying SplashTokenizer
[61/62] Applying SplashImageGen
Build complete! (10.70s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Splash",
  "name" : "Splash",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Splash",
      "targets" : [
        "Splash"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SplashMarkdown",
      "targets" : [
        "SplashMarkdown"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SplashHTMLGen",
      "targets" : [
        "SplashHTMLGen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SplashImageGen",
      "targets" : [
        "SplashImageGen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SplashTokenizer",
      "targets" : [
        "SplashTokenizer"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SplashTokenizer",
      "module_type" : "SwiftTarget",
      "name" : "SplashTokenizer",
      "path" : "Sources/SplashTokenizer",
      "product_memberships" : [
        "SplashTokenizer"
      ],
      "sources" : [
        "TokenizerOutputFormat.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Splash"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SplashTests",
      "module_type" : "SwiftTarget",
      "name" : "SplashTests",
      "path" : "Tests/SplashTests",
      "sources" : [
        "Core/SyntaxHighlighterTestCase.swift",
        "Mocks/OutputBuilderMock.swift",
        "Mocks/OutputFormatMock.swift",
        "Tests/ClosureTests.swift",
        "Tests/CommentTests.swift",
        "Tests/DeclarationTests.swift",
        "Tests/EnumTests.swift",
        "Tests/FunctionCallTests.swift",
        "Tests/HTMLOutputFormatTests.swift",
        "Tests/LiteralTests.swift",
        "Tests/MarkdownTests.swift",
        "Tests/OptionalTests.swift",
        "Tests/PreprocessorTests.swift",
        "Tests/StatementTests.swift",
        "Tests/TokenTypeTests.swift"
      ],
      "target_dependencies" : [
        "Splash"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SplashMarkdown",
      "module_type" : "SwiftTarget",
      "name" : "SplashMarkdown",
      "path" : "Sources/SplashMarkdown",
      "product_memberships" : [
        "SplashMarkdown"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Splash"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SplashImageGen",
      "module_type" : "SwiftTarget",
      "name" : "SplashImageGen",
      "path" : "Sources/SplashImageGen",
      "product_memberships" : [
        "SplashImageGen"
      ],
      "sources" : [
        "Extensions/CGImage+WriteToURL.swift",
        "Extensions/CommandLine+Options.swift",
        "Extensions/NSGraphicsContext+Fill.swift",
        "Extensions/NSGraphicsContext+InitWithSize.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Splash"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SplashHTMLGen",
      "module_type" : "SwiftTarget",
      "name" : "SplashHTMLGen",
      "path" : "Sources/SplashHTMLGen",
      "product_memberships" : [
        "SplashHTMLGen"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Splash"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Splash",
      "module_type" : "SwiftTarget",
      "name" : "Splash",
      "path" : "Sources/Splash",
      "product_memberships" : [
        "Splash",
        "SplashMarkdown",
        "SplashHTMLGen",
        "SplashImageGen",
        "SplashTokenizer"
      ],
      "sources" : [
        "Extensions/CharacterSet/CharacterSet+Contains.swift",
        "Extensions/Equatable/Equatable+AnyOf.swift",
        "Extensions/Int/Int+IsOdd.swift",
        "Extensions/Sequence/Sequence+AnyOf.swift",
        "Extensions/Sequence/Sequence+Occurrences.swift",
        "Extensions/Strings/String+HTMLEntities.swift",
        "Extensions/Strings/String+IsNumber.swift",
        "Extensions/Strings/String+PrefixChecking.swift",
        "Extensions/Strings/String+Removing.swift",
        "Extensions/Strings/Substring+HasSuffix.swift",
        "Grammar/Grammar.swift",
        "Grammar/SwiftGrammar.swift",
        "Output/AttributedStringOutputFormat.swift",
        "Output/HTMLOutputFormat.swift",
        "Output/MarkdownDecorator.swift",
        "Output/OutputBuilder.swift",
        "Output/OutputFormat.swift",
        "Syntax/SyntaxHighlighter.swift",
        "Syntax/SyntaxRule.swift",
        "Theming/Color.swift",
        "Theming/Font.swift",
        "Theming/Theme+Defaults.swift",
        "Theming/Theme.swift",
        "Tokenizing/Segment.swift",
        "Tokenizing/TokenType.swift",
        "Tokenizing/Tokenizer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.