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 Splash 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/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/JohnSundell/Splash.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/22] Write sources
[4/22] Write SplashTokenizer-entitlement.plist
[4/22] Write sources
[6/22] Write SplashMarkdown-entitlement.plist
[7/22] Write SplashImageGen-entitlement.plist
[7/22] Write SplashHTMLGen-entitlement.plist
[9/22] Write swift-version-6F35C1178C84523A.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 AttributedStringOutputFormat.swift
[15/49] Compiling Splash HTMLOutputFormat.swift
[16/49] Compiling Splash MarkdownDecorator.swift
[17/49] Compiling Splash Sequence+AnyOf.swift
[18/49] Compiling Splash Sequence+Occurrences.swift
[19/49] Compiling Splash String+HTMLEntities.swift
[20/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
[21/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
[22/49] Compiling Splash CharacterSet+Contains.swift
[23/49] Compiling Splash Equatable+AnyOf.swift
[24/49] Compiling Splash Int+IsOdd.swift
[25/49] Compiling Splash Substring+HasSuffix.swift
[26/49] Compiling Splash Grammar.swift
[27/49] Compiling Splash SwiftGrammar.swift
[28/49] Compiling Splash SyntaxRule.swift
[29/49] Compiling Splash Color.swift
[30/49] Compiling Splash OutputBuilder.swift
[31/49] Compiling Splash OutputFormat.swift
[32/49] Compiling Splash SyntaxHighlighter.swift
[33/49] Compiling Splash String+IsNumber.swift
[34/49] Compiling Splash String+PrefixChecking.swift
[35/49] Compiling Splash String+Removing.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] Compiling SplashImageGen NSGraphicsContext+InitWithSize.swift
[43/62] Emitting module SplashTokenizer
[44/62] Compiling SplashTokenizer TokenizerOutputFormat.swift
[44/62] Write Objects.LinkFileList
[46/62] Compiling SplashImageGen main.swift
[47/62] Compiling SplashImageGen NSGraphicsContext+Fill.swift
[48/62] Emitting module SplashMarkdown
[49/62] Compiling SplashMarkdown main.swift
[49/62] Write Objects.LinkFileList
[51/62] Emitting module SplashImageGen
[52/62] Compiling SplashImageGen CGImage+WriteToURL.swift
[53/62] Compiling SplashImageGen CommandLine+Options.swift
[53/62] Write Objects.LinkFileList
[54/62] Linking SplashHTMLGen
[55/62] Linking SplashImageGen
[56/62] Linking SplashMarkdown
[57/62] Linking SplashTokenizer
[58/62] Applying SplashHTMLGen
[58/62] Applying SplashImageGen
[60/62] Applying SplashMarkdown
[61/62] Applying SplashTokenizer
Build complete! (37.40s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.