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

Failed to build Splash, reference 0.16.0 (7f4df4), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 00:36:14 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/JohnSundell/Splash.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/22] Write sources
[3/22] Write SplashHTMLGen-entitlement.plist
[5/22] Write SplashMarkdown-entitlement.plist
[6/22] Write SplashTokenizer-entitlement.plist
[6/22] Write SplashImageGen-entitlement.plist
[6/22] Write sources
[9/22] Write swift-version-1EA4D86E10B52AF.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 CharacterSet+Contains.swift
[13/49] Compiling Splash Equatable+AnyOf.swift
[14/49] Compiling Splash Int+IsOdd.swift
[15/49] Compiling Splash Sequence+AnyOf.swift
[16/49] Compiling Splash Sequence+Occurrences.swift
[17/49] Compiling Splash String+HTMLEntities.swift
[18/49] Compiling Splash TokenType.swift
[19/49] Compiling Splash Tokenizer.swift
[20/49] Compiling Splash AttributedStringOutputFormat.swift
[21/49] Compiling Splash HTMLOutputFormat.swift
[22/49] Compiling Splash MarkdownDecorator.swift
[23/49] Compiling Splash Substring+HasSuffix.swift
[24/49] Compiling Splash Grammar.swift
[25/49] Compiling Splash SwiftGrammar.swift
[26/49] Compiling Splash SyntaxRule.swift
[27/49] Compiling Splash Color.swift
[28/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
[29/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
[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 SplashMarkdown main.swift
[39/62] Emitting module SplashMarkdown
[39/62] Write Objects.LinkFileList
[41/62] Emitting module SplashHTMLGen
[42/62] Compiling SplashHTMLGen main.swift
[42/62] Write Objects.LinkFileList
[44/62] Compiling SplashTokenizer main.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/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)!
[46/62] Emitting module SplashTokenizer
[47/62] Compiling SplashTokenizer TokenizerOutputFormat.swift
[47/62] Write Objects.LinkFileList
[49/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)!
[50/62] Compiling SplashImageGen NSGraphicsContext+Fill.swift
[51/62] Compiling SplashImageGen NSGraphicsContext+InitWithSize.swift
[52/62] Compiling SplashImageGen CommandLine+Options.swift
[53/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
[53/62] Linking SplashMarkdown
[53/62] Linking SplashHTMLGen
[53/62] Linking SplashTokenizer
BUILD FAILURE 6.2 macosSpm