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

Failed to build Splash, reference 0.16.0 (7f4df4), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 12:46:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JohnSundell/Splash.git
Reference: 0.16.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JohnSundell/Splash
 * tag               0.16.0     -> FETCH_HEAD
HEAD is now at 7f4df43 Add support for Swift 5.5's concurrency features (#126)
Cloned https://github.com/JohnSundell/Splash.git
Revision (git rev-parse @):
7f4df436eb78fe64fe2c32c58006e9949fa28ad8
SUCCESS checkout https://github.com/JohnSundell/Splash.git at 0.16.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": "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.97s)
Creating working copy for https://github.com/JohnSundell/Splash.git
Working copy of https://github.com/JohnSundell/Splash.git resolved at 0.16.0 (7f4df43)
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
[3/22] Write SplashImageGen-entitlement.plist
[5/22] Write sources
[6/22] Write SplashMarkdown-entitlement.plist
[7/22] Write SplashTokenizer-entitlement.plist
[7/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 OutputBuilder.swift
[15/49] Compiling Splash OutputFormat.swift
[16/49] Compiling Splash SyntaxHighlighter.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 CharacterSet+Contains.swift
[21/49] Compiling Splash Equatable+AnyOf.swift
[22/49] Compiling Splash Int+IsOdd.swift
[23/49] Compiling Splash String+IsNumber.swift
[24/49] Compiling Splash String+PrefixChecking.swift
[25/49] Compiling Splash String+Removing.swift
[26/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
[27/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
[28/49] Compiling Splash AttributedStringOutputFormat.swift
[29/49] Compiling Splash HTMLOutputFormat.swift
[30/49] Compiling Splash MarkdownDecorator.swift
[31/49] Compiling Splash Substring+HasSuffix.swift
[32/49] Compiling Splash Grammar.swift
[33/49] Compiling Splash SwiftGrammar.swift
[34/49] Compiling Splash Font.swift
[35/49] Compiling Splash Theme+Defaults.swift
[36/49] Compiling Splash SyntaxRule.swift
[37/49] Compiling Splash Color.swift
[38/62] Compiling SplashTokenizer main.swift
[39/62] Emitting module SplashMarkdown
[40/62] Compiling SplashMarkdown main.swift
[40/62] Write Objects.LinkFileList
[42/62] Emitting module SplashHTMLGen
[43/62] Compiling SplashHTMLGen main.swift
[44/62] Emitting module SplashTokenizer
[45/62] Compiling SplashTokenizer TokenizerOutputFormat.swift
[45/62] Write Objects.LinkFileList
[48/62] Compiling SplashImageGen main.swift
/Users/admin/builder/spi-builder-workspace/Sources/SplashImageGen/main.swift:52:7: error: value of type 'CGImage' has no member 'write'
50 |
51 | let image = context.cgContext.makeImage()!
52 | image.write(to: options.outputURL)
   |       `- error: value of type 'CGImage' has no member 'write'
53 |
54 | #else
[49/62] Compiling SplashImageGen NSGraphicsContext+InitWithSize.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/62] Compiling SplashImageGen NSGraphicsContext+Fill.swift
[51/62] Compiling SplashImageGen CommandLine+Options.swift
[52/62] Emitting module SplashImageGen
/Users/admin/builder/spi-builder-workspace/Sources/SplashImageGen/main.swift:52:7: error: value of type 'CGImage' has no member 'write'
50 |
51 | let image = context.cgContext.makeImage()!
52 | image.write(to: options.outputURL)
   |       `- error: value of type 'CGImage' has no member 'write'
53 |
54 | #else
/Users/admin/builder/spi-builder-workspace/Sources/SplashImageGen/Extensions/CGImage+WriteToURL.swift:11:11: error: cannot find type 'CGImage' in scope
 9 | import Foundation
10 |
11 | extension CGImage {
   |           `- error: cannot find type 'CGImage' in scope
12 |     func write(to url: URL) {
13 |         let destination = CGImageDestinationCreateWithURL(url as CFURL, kUTTypePNG, 1, nil)!
[53/62] Compiling SplashImageGen CGImage+WriteToURL.swift
/Users/admin/builder/spi-builder-workspace/Sources/SplashImageGen/Extensions/CGImage+WriteToURL.swift:11:11: error: cannot find type 'CGImage' in scope
 9 | import Foundation
10 |
11 | extension CGImage {
   |           `- error: cannot find type 'CGImage' in scope
12 |     func write(to url: URL) {
13 |         let destination = CGImageDestinationCreateWithURL(url as CFURL, kUTTypePNG, 1, nil)!
[53/62] Linking SplashMarkdown
[53/62] Linking SplashTokenizer
[53/62] Linking SplashHTMLGen
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/13] Write swift-version-2F0A5646E1D333AE.txt
[2/38] 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
[3/40] Compiling Splash Font.swift
[4/40] Compiling Splash Theme+Defaults.swift
[5/40] Compiling Splash CharacterSet+Contains.swift
[6/40] Compiling Splash Equatable+AnyOf.swift
[7/40] Compiling Splash Int+IsOdd.swift
[8/40] Compiling Splash Sequence+AnyOf.swift
[9/40] Compiling Splash Sequence+Occurrences.swift
[10/40] Compiling Splash String+HTMLEntities.swift
[11/40] Compiling Splash OutputBuilder.swift
[12/40] Compiling Splash OutputFormat.swift
[13/40] Compiling Splash SyntaxHighlighter.swift
[14/40] 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/40] 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/40] Compiling Splash SyntaxRule.swift
[17/40] Compiling Splash Color.swift
[18/40] Compiling Splash AttributedStringOutputFormat.swift
[19/40] Compiling Splash HTMLOutputFormat.swift
[20/40] Compiling Splash MarkdownDecorator.swift
[21/40] Compiling Splash TokenType.swift
[22/40] Compiling Splash Tokenizer.swift
[23/40] Compiling Splash Substring+HasSuffix.swift
[24/40] Compiling Splash Grammar.swift
[25/40] Compiling Splash SwiftGrammar.swift
[26/40] Compiling Splash String+IsNumber.swift
[27/40] Compiling Splash String+PrefixChecking.swift
[28/40] Compiling Splash String+Removing.swift
[29/53] Compiling SplashTokenizer main.swift
[30/53] Emitting module SplashMarkdown
[31/53] Compiling SplashMarkdown main.swift
[31/53] Write Objects.LinkFileList
[33/53] Emitting module SplashTokenizer
[34/53] Compiling SplashTokenizer TokenizerOutputFormat.swift
[35/53] Emitting module SplashHTMLGen
[36/53] Compiling SplashHTMLGen main.swift
[36/53] Write Objects.LinkFileList
[39/53] Compiling SplashImageGen main.swift
/Users/admin/builder/spi-builder-workspace/Sources/SplashImageGen/main.swift:52:7: error: value of type 'CGImage' has no member 'write'
50 |
51 | let image = context.cgContext.makeImage()!
52 | image.write(to: options.outputURL)
   |       `- error: value of type 'CGImage' has no member 'write'
53 |
54 | #else
[40/53] Compiling SplashImageGen NSGraphicsContext+InitWithSize.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/53] Compiling SplashImageGen CommandLine+Options.swift
[42/53] Emitting module SplashImageGen
/Users/admin/builder/spi-builder-workspace/Sources/SplashImageGen/main.swift:52:7: error: value of type 'CGImage' has no member 'write'
50 |
51 | let image = context.cgContext.makeImage()!
52 | image.write(to: options.outputURL)
   |       `- error: value of type 'CGImage' has no member 'write'
53 |
54 | #else
/Users/admin/builder/spi-builder-workspace/Sources/SplashImageGen/Extensions/CGImage+WriteToURL.swift:11:11: error: cannot find type 'CGImage' in scope
 9 | import Foundation
10 |
11 | extension CGImage {
   |           `- error: cannot find type 'CGImage' in scope
12 |     func write(to url: URL) {
13 |         let destination = CGImageDestinationCreateWithURL(url as CFURL, kUTTypePNG, 1, nil)!
[43/53] Compiling SplashImageGen NSGraphicsContext+Fill.swift
[44/53] Compiling SplashImageGen CGImage+WriteToURL.swift
/Users/admin/builder/spi-builder-workspace/Sources/SplashImageGen/Extensions/CGImage+WriteToURL.swift:11:11: error: cannot find type 'CGImage' in scope
 9 | import Foundation
10 |
11 | extension CGImage {
   |           `- error: cannot find type 'CGImage' in scope
12 |     func write(to url: URL) {
13 |         let destination = CGImageDestinationCreateWithURL(url as CFURL, kUTTypePNG, 1, nil)!
[44/53] Linking SplashMarkdown
[44/53] Linking SplashHTMLGen
[44/53] Linking SplashTokenizer
BUILD FAILURE 6.1 macosSpm