Build Information
Failed to build Splash with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JohnSundell/Splash.git
Reference: 0.16.0
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-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: 5.10
Building package at path: $workDir
https://github.com/JohnSundell/Splash.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/22] Write sources
[0/22] Write SplashTokenizer-entitlement.plist
[0/22] Write sources
[1/22] Write SplashHTMLGen-entitlement.plist
[1/22] Write SplashMarkdown-entitlement.plist
[1/22] Write SplashImageGen-entitlement.plist
[8/22] Write sources
[9/22] Write swift-version--423B1241ED78D482.txt
[11/46] Compiling Splash Sequence+Occurrences.swift
[12/46] Compiling Splash String+HTMLEntities.swift
[13/46] Compiling Splash String+IsNumber.swift
[14/46] Compiling Splash String+PrefixChecking.swift
[15/49] Compiling Splash Segment.swift
[16/49] Compiling Splash TokenType.swift
[17/49] Compiling Splash Tokenizer.swift
[18/49] Compiling Splash SwiftGrammar.swift
[19/49] Compiling Splash AttributedStringOutputFormat.swift
[20/49] Compiling Splash HTMLOutputFormat.swift
[21/49] Compiling Splash MarkdownDecorator.swift
[22/49] Compiling Splash OutputBuilder.swift
[23/49] Compiling Splash OutputFormat.swift
[24/49] Compiling Splash String+Removing.swift
[25/49] Compiling Splash Substring+HasSuffix.swift
[26/49] Compiling Splash Grammar.swift
[27/49] Compiling Splash SyntaxHighlighter.swift
[28/49] Compiling Splash SyntaxRule.swift
[29/49] Compiling Splash Color.swift
[30/49] Emitting module Splash
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-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 Swift 6
backgroundColor: Color = Color(white: 0.12, alpha: 1)) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Splash/Theming/Theme.swift:27:42: note: The missing import of module 'AppKit' will be added implicitly
backgroundColor: Color = Color(white: 0.12, alpha: 1)) {
^
[31/49] Compiling Splash CharacterSet+Contains.swift
[32/49] Compiling Splash Equatable+AnyOf.swift
[33/49] Compiling Splash Int+IsOdd.swift
[34/49] Compiling Splash Sequence+AnyOf.swift
[35/49] Compiling Splash Font.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-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 Swift 6
backgroundColor: Color = Color(white: 0.12, alpha: 1)) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Splash/Theming/Theme.swift:27:42: note: The missing import of module 'AppKit' will be added implicitly
backgroundColor: Color = Color(white: 0.12, alpha: 1)) {
^
[36/49] Compiling Splash Theme+Defaults.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-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 Swift 6
backgroundColor: Color = Color(white: 0.12, alpha: 1)) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Splash/Theming/Theme.swift:27:42: note: The missing import of module 'AppKit' will be added implicitly
backgroundColor: Color = Color(white: 0.12, alpha: 1)) {
^
[37/49] Compiling Splash Theme.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-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 Swift 6
backgroundColor: Color = Color(white: 0.12, alpha: 1)) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Splash/Theming/Theme.swift:27:42: note: The missing import of module 'AppKit' will be added implicitly
backgroundColor: Color = Color(white: 0.12, alpha: 1)) {
^
[38/62] Compiling SplashTokenizer main.swift
[39/62] Emitting module SplashHTMLGen
[40/62] Compiling SplashHTMLGen main.swift
[40/62] Write Objects.LinkFileList
[42/62] Compiling SplashImageGen NSGraphicsContext+InitWithSize.swift
[43/62] Compiling SplashImageGen main.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashImageGen/main.swift:52:7: error: value of type 'CGImage' has no member 'write'
image.write(to: options.outputURL)
~~~~~ ^~~~~
[44/62] Emitting module SplashTokenizer
[45/62] Compiling SplashTokenizer TokenizerOutputFormat.swift
[45/62] Write Objects.LinkFileList
[47/62] Compiling SplashMarkdown main.swift
[48/62] Emitting module SplashMarkdown
[48/62] Write Objects.LinkFileList
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/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashImageGen/main.swift:52:7: error: value of type 'CGImage' has no member 'write'
image.write(to: options.outputURL)
~~~~~ ^~~~~
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashImageGen/Extensions/CGImage+WriteToURL.swift:11:11: error: cannot find type 'CGImage' in scope
extension CGImage {
^~~~~~~
[53/62] Compiling SplashImageGen CGImage+WriteToURL.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashImageGen/Extensions/CGImage+WriteToURL.swift:11:11: error: cannot find type 'CGImage' in scope
extension CGImage {
^~~~~~~
error: fatalError
[53/62] Linking SplashMarkdown
[53/62] Linking SplashHTMLGen
[53/62] Linking SplashTokenizer
[0/1] Planning build
Building for debugging...
[0/13] Write swift-version--423B1241ED78D482.txt
[1/13] Linking SplashTokenizer
[2/13] Linking SplashMarkdown
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SplashTokenizer: replacing existing signature
[3/13] Applying SplashTokenizer
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SplashMarkdown: replacing existing signature
[4/13] Applying SplashMarkdown
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/13] Emitting module SplashImageGen
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashImageGen/main.swift:52:7: error: value of type 'CGImage' has no member 'write'
image.write(to: options.outputURL)
~~~~~ ^~~~~
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashImageGen/Extensions/CGImage+WriteToURL.swift:11:11: error: cannot find type 'CGImage' in scope
extension CGImage {
^~~~~~~
[7/13] Compiling SplashImageGen main.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashImageGen/main.swift:52:7: error: value of type 'CGImage' has no member 'write'
image.write(to: options.outputURL)
~~~~~ ^~~~~
[8/13] Compiling SplashImageGen CGImage+WriteToURL.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SplashImageGen/Extensions/CGImage+WriteToURL.swift:11:11: error: cannot find type 'CGImage' in scope
extension CGImage {
^~~~~~~
[8/13] Linking SplashHTMLGen
error: fatalError
[9/13] Applying SplashHTMLGen
BUILD FAILURE 5.10 macosSpm