Build Information
Failed to build Splash, reference 0.16.0 (7f4df4
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 17:33:15 UTC.
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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/2137] 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.0
Building package at path: $PWD
https://github.com/JohnSundell/Splash.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
Building for debugging...
[0/22] Write sources
[5/22] Write SplashMarkdown-entitlement.plist
[6/22] Write SplashImageGen-entitlement.plist
[6/22] Write SplashHTMLGen-entitlement.plist
[8/22] Write SplashTokenizer-entitlement.plist
[9/22] Write swift-version--7754E27361AE5C74.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 AttributedStringOutputFormat.swift
[13/49] Compiling Splash HTMLOutputFormat.swift
[14/49] Compiling Splash MarkdownDecorator.swift
[15/49] Compiling Splash OutputBuilder.swift
[16/49] Compiling Splash OutputFormat.swift
[17/49] Compiling Splash SyntaxHighlighter.swift
[18/49] Compiling Splash TokenType.swift
[19/49] Compiling Splash Tokenizer.swift
[20/49] Compiling Splash Substring+HasSuffix.swift
[21/49] Compiling Splash Grammar.swift
[22/49] Compiling Splash SwiftGrammar.swift
[23/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
[24/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
[25/49] Compiling Splash CharacterSet+Contains.swift
[26/49] Compiling Splash Equatable+AnyOf.swift
[27/49] Compiling Splash Int+IsOdd.swift
[28/49] Compiling Splash String+IsNumber.swift
[29/49] Compiling Splash String+PrefixChecking.swift
[30/49] Compiling Splash String+Removing.swift
[31/49] Compiling Splash Font.swift
[32/49] Compiling Splash Theme+Defaults.swift
[33/49] Compiling Splash Sequence+AnyOf.swift
[34/49] Compiling Splash Sequence+Occurrences.swift
[35/49] Compiling Splash String+HTMLEntities.swift
[36/49] Compiling Splash SyntaxRule.swift
[37/49] Compiling Splash Color.swift
[38/62] Compiling SplashHTMLGen main.swift
[39/62] Emitting module SplashHTMLGen
[40/62] Compiling SplashTokenizer main.swift
[40/62] Write Objects.LinkFileList
[42/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
[43/62] Emitting module SplashTokenizer
[44/62] Compiling SplashTokenizer TokenizerOutputFormat.swift
[44/62] Write Objects.LinkFileList
[46/62] Compiling SplashMarkdown main.swift
[47/62] Emitting module SplashMarkdown
[47/62] Write Objects.LinkFileList
[49/62] Compiling SplashImageGen NSGraphicsContext+Fill.swift
[50/62] Compiling SplashImageGen NSGraphicsContext+InitWithSize.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/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)!
[52/62] Compiling SplashImageGen CommandLine+Options.swift
[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 SplashTokenizer
[53/62] Linking SplashMarkdown
[53/62] Linking SplashHTMLGen
BUILD FAILURE 6.0 macosSpm