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 SwiftApiAdapter, reference main (456135), with Swift 6.0 for macOS (SPM) on 27 Jul 2025 17:50:41 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RayKitajima/SwiftApiAdapter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RayKitajima/SwiftApiAdapter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4561355 Merge pull request #9 from RayKitajima/apple_intelligence
Cloned https://github.com/RayKitajima/SwiftApiAdapter.git
Revision (git rev-parse @):
4561355c5e8774cac65fac61b22cbfb7f5c5c1dd
SUCCESS checkout https://github.com/RayKitajima/SwiftApiAdapter.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/RayKitajima/SwiftApiAdapter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Copying PrivacyInfo.xcprivacy
[1/5] Write sources
[4/5] Write swift-version-5BDAB9E9C0126B9D.txt
[6/63] Emitting module SwiftSoup
[7/69] Compiling SwiftyJSON resource_bundle_accessor.swift
[8/69] Compiling SwiftSoup Token.swift
[9/69] Compiling SwiftSoup TokenQueue.swift
[10/69] Compiling SwiftSoup Tokeniser.swift
[11/69] Compiling SwiftSoup TokeniserState.swift
[12/69] Compiling SwiftSoup TreeBuilder.swift
[13/69] Compiling SwiftSoup UTF8Arrays.swift
[14/69] Compiling SwiftSoup OrderedSet.swift
[15/69] Compiling SwiftSoup ParseError.swift
[16/69] Compiling SwiftSoup ParseErrorList.swift
[17/69] Compiling SwiftSoup ParseSettings.swift
[18/69] Compiling SwiftSoup Parser.swift
[19/69] Compiling SwiftSoup ParsingStrings.swift
[20/69] Compiling SwiftSoup Elements.swift
[21/69] Compiling SwiftSoup Entities.swift
[22/69] Compiling SwiftSoup Evaluator.swift
[23/69] Compiling SwiftSoup Exception.swift
[24/69] Compiling SwiftSoup FormElement.swift
[25/69] Compiling SwiftSoup HtmlTreeBuilder.swift
[26/69] Compiling SwiftSoup StringBuilder.swift
[27/69] Compiling SwiftSoup StringUtil.swift
[28/69] Compiling SwiftSoup StructuralEvaluator.swift
[29/69] Compiling SwiftSoup SwiftSoup.swift
[30/69] Compiling SwiftSoup Tag.swift
[31/69] Compiling SwiftSoup TextNode.swift
[32/69] Compiling SwiftSoup HtmlTreeBuilderState.swift
[33/69] Compiling SwiftSoup HttpStatusException.swift
[34/69] Compiling SwiftSoup Mutex.swift
[35/69] Compiling SwiftSoup Node.swift
[36/69] Compiling SwiftSoup NodeTraversor.swift
[37/69] Compiling SwiftSoup NodeVisitor.swift
[38/69] Compiling SwiftSoup CssSelector.swift
[39/69] Compiling SwiftSoup DataNode.swift
[40/69] Compiling SwiftSoup DataUtil.swift
[41/69] Compiling SwiftSoup Document.swift
[42/69] Compiling SwiftSoup DocumentType.swift
[43/69] Compiling SwiftSoup Element.swift
[44/69] Compiling SwiftSoup UnfairLock.swift
[45/69] Compiling SwiftSoup UnicodeScalar.swift
[46/69] Compiling SwiftSoup Validate.swift
[47/69] Compiling SwiftSoup Whitelist.swift
[48/69] Compiling SwiftSoup XmlDeclaration.swift
[49/69] Compiling SwiftSoup XmlTreeBuilder.swift
[50/69] Compiling SwiftSoup CharacterReader.swift
[51/69] Compiling SwiftSoup Cleaner.swift
[52/69] Compiling SwiftSoup Collector.swift
[53/69] Compiling SwiftSoup CombiningEvaluator.swift
[54/69] Compiling SwiftSoup Comment.swift
[55/69] Compiling SwiftSoup Connection.swift
[56/69] Compiling SwiftSoup Pattern.swift
[57/69] Compiling SwiftSoup QueryParser.swift
[58/69] Compiling SwiftSoup SerializationException.swift
[59/69] Compiling SwiftSoup SimpleDictionary.swift
[60/69] Compiling SwiftSoup StreamReader.swift
[61/69] Compiling SwiftSoup String.swift
[62/69] Compiling SwiftSoup ArrayExt.swift
[63/69] Compiling SwiftSoup Attribute.swift
[64/69] Compiling SwiftSoup Attributes.swift
[65/69] Compiling SwiftSoup BinarySearch.swift
[66/69] Compiling SwiftSoup BooleanAttribute.swift
[67/69] Compiling SwiftSoup CharacterExt.swift
[68/69] Emitting module SwiftyJSON
[69/69] Compiling SwiftyJSON SwiftyJSON.swift
[70/74] Compiling SwiftApiAdapter Tools.swift
[71/74] Compiling SwiftApiAdapter Model.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/74] Compiling SwiftApiAdapter Connector.swift
[73/74] Emitting module SwiftApiAdapter
/Users/admin/builder/spi-builder-workspace/Sources/SwiftApiAdapter/Loader.swift:23:11: error: cannot find type 'ImagePlaygroundStyle' in scope
 21 | #if canImport(ImagePlayground)
 22 | @available(iOS 18.4, macOS 15.4, visionOS 2.4, *)
 23 | extension ImagePlaygroundStyle {
    |           `- error: cannot find type 'ImagePlaygroundStyle' in scope
 24 |     init?(string: String) {
 25 |         switch string.lowercased() {
[74/74] Compiling SwiftApiAdapter Loader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftApiAdapter/Loader.swift:23:11: error: cannot find type 'ImagePlaygroundStyle' in scope
 21 | #if canImport(ImagePlayground)
 22 | @available(iOS 18.4, macOS 15.4, visionOS 2.4, *)
 23 | extension ImagePlaygroundStyle {
    |           `- error: cannot find type 'ImagePlaygroundStyle' in scope
 24 |     init?(string: String) {
 25 |         switch string.lowercased() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftApiAdapter/Loader.swift:60:21: error: cannot find 'ImagePlaygroundStyle' in scope
 58 |         }
 59 |
 60 |         let style = ImagePlaygroundStyle(string: styleString) ?? .animation
    |                     `- error: cannot find 'ImagePlaygroundStyle' in scope
 61 |         let creator = try await ImageCreator()
 62 |         let seq = creator.images(for: [.text(prompt)], style: style, limit: limit)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftApiAdapter/Loader.swift:61:33: error: cannot find 'ImageCreator' in scope
 59 |
 60 |         let style = ImagePlaygroundStyle(string: styleString) ?? .animation
 61 |         let creator = try await ImageCreator()
    |                                 `- error: cannot find 'ImageCreator' in scope
 62 |         let seq = creator.images(for: [.text(prompt)], style: style, limit: limit)
 63 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftApiAdapter/Loader.swift:62:41: error: type 'Any' has no member 'text'
 60 |         let style = ImagePlaygroundStyle(string: styleString) ?? .animation
 61 |         let creator = try await ImageCreator()
 62 |         let seq = creator.images(for: [.text(prompt)], style: style, limit: limit)
    |                                         `- error: type 'Any' has no member 'text'
 63 |
 64 |         if let first = try await seq.first(where: { _ in true }),
Fetching https://github.com/scinfu/SwiftSoup
Fetching https://github.com/SwiftyJSON/SwiftyJSON
[1/6196] Fetching swiftyjson
[2/10442] Fetching swiftyjson, swiftsoup
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (1.18s)
Fetched https://github.com/scinfu/SwiftSoup from cache (1.18s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.2 (3.04s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.9.6 (0.44s)
Creating working copy for https://github.com/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.9.6
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON
Working copy of https://github.com/SwiftyJSON/SwiftyJSON resolved at 5.0.2
BUILD FAILURE 6.0 macosSpm