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 (a2b4db), with Swift 6.0 for macOS (SPM) on 29 Sep 2025 11:30:25 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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 a2b4db2 Merge pull request #10 from RayKitajima/appleintelligence_progress
Cloned https://github.com/RayKitajima/SwiftApiAdapter.git
Revision (git rev-parse @):
a2b4db27ca05c0ccbbe1f07e4752481d4ff4361d
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/8] Write sources
[2/8] Copying PrivacyInfo.xcprivacy
[2/8] Write sources
[6/8] Write swift-version-5BDAB9E9C0126B9D.txt
[7/8] Compiling _AtomicsShims.c
[9/32] Compiling Atomics AtomicValue.swift
[10/32] Compiling Atomics AtomicMemoryOrderings.swift
[11/33] Compiling Atomics DoubleWord.swift
[12/33] Compiling Atomics ManagedAtomic.swift
[13/33] Compiling Atomics UnsafeAtomicLazyReference.swift
[14/33] Compiling Atomics IntegerOperations.swift
[15/33] Compiling Atomics ManagedAtomicLazyReference.swift
[16/33] Compiling Atomics UnsafeAtomic.swift
[17/33] Compiling Atomics Unmanaged extensions.swift
[18/33] Compiling Atomics AtomicReference.swift
[19/33] Compiling Atomics AtomicStorage.swift
[20/33] Compiling Atomics PointerConformances.swift
[21/33] Compiling Atomics Primitives.native.swift
[22/33] Compiling Atomics AtomicInteger.swift
[23/33] Compiling Atomics AtomicOptionalWrappable.swift
[24/33] Compiling Atomics AtomicBool.swift
[25/33] Compiling Atomics IntegerConformances.swift
[26/33] Compiling Atomics OptionalRawRepresentable.swift
[27/33] Compiling Atomics RawRepresentable.swift
[28/33] Emitting module Atomics
[29/33] Compiling SwiftyJSON resource_bundle_accessor.swift
[30/33] Emitting module LRUCache
[31/33] Compiling LRUCache LRUCache.swift
[32/78] Emitting module SwiftyJSON
[33/78] Compiling SwiftyJSON SwiftyJSON.swift
[34/83] Compiling SwiftSoup Cleaner.swift
[35/83] Compiling SwiftSoup Collector.swift
[36/83] Compiling SwiftSoup CombiningEvaluator.swift
[37/83] Compiling SwiftSoup Comment.swift
[38/83] Compiling SwiftSoup CssSelector.swift
[39/83] Compiling SwiftSoup DataNode.swift
[40/88] Compiling SwiftSoup ParseSettings.swift
[41/88] Compiling SwiftSoup Parser.swift
[42/88] Compiling SwiftSoup ParsingStrings.swift
[43/88] Compiling SwiftSoup Pattern.swift
[44/88] Compiling SwiftSoup QueryParser.swift
[45/88] Compiling SwiftSoup Attribute.swift
[46/88] Compiling SwiftSoup Attributes.swift
[47/88] Compiling SwiftSoup BinarySearch.swift
[48/88] Compiling SwiftSoup BooleanAttribute.swift
[49/88] Compiling SwiftSoup CharacterExt.swift
[50/88] Compiling SwiftSoup CharacterReader.swift
[51/88] Compiling SwiftSoup UnicodeScalar.swift
[52/88] Compiling SwiftSoup Validate.swift
[53/88] Compiling SwiftSoup Whitelist.swift
[54/88] Compiling SwiftSoup XmlDeclaration.swift
[55/88] Compiling SwiftSoup XmlTreeBuilder.swift
[56/88] Emitting module SwiftSoup
[57/88] Compiling SwiftSoup NodeTraversor.swift
[58/88] Compiling SwiftSoup NodeVisitor.swift
[59/88] Compiling SwiftSoup OrderedSet.swift
[60/88] Compiling SwiftSoup ParseError.swift
[61/88] Compiling SwiftSoup ParseErrorList.swift
[62/88] Compiling SwiftSoup QueryParserCache.swift
[63/88] Compiling SwiftSoup StreamReader.swift
[64/88] Compiling SwiftSoup String.swift
[65/88] Compiling SwiftSoup StringBuilder.swift
[66/88] Compiling SwiftSoup StringUtil.swift
[67/88] Compiling SwiftSoup StructuralEvaluator.swift
[68/88] Compiling SwiftSoup SwiftSoup.swift
[69/88] Compiling SwiftSoup Tag.swift
[70/88] Compiling SwiftSoup TextNode.swift
[71/88] Compiling SwiftSoup Token.swift
[72/88] Compiling SwiftSoup TokenQueue.swift
[73/88] Compiling SwiftSoup Tokeniser.swift
[74/88] Compiling SwiftSoup TokeniserState.swift
[75/88] Compiling SwiftSoup TreeBuilder.swift
[76/88] Compiling SwiftSoup UTF8Arrays.swift
[77/88] Compiling SwiftSoup Exception.swift
[78/88] Compiling SwiftSoup FormElement.swift
[79/88] Compiling SwiftSoup HtmlTreeBuilder.swift
[80/88] Compiling SwiftSoup HtmlTreeBuilderState.swift
[81/88] Compiling SwiftSoup Mutex.swift
[82/88] Compiling SwiftSoup Node.swift
[83/88] Compiling SwiftSoup Document.swift
[84/88] Compiling SwiftSoup DocumentType.swift
[85/88] Compiling SwiftSoup Element.swift
[86/88] Compiling SwiftSoup Elements.swift
[87/88] Compiling SwiftSoup Entities.swift
[88/88] Compiling SwiftSoup Evaluator.swift
[89/93] Compiling SwiftApiAdapter Tools.swift
[90/93] Compiling SwiftApiAdapter Model.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[91/93] Compiling SwiftApiAdapter Connector.swift
[92/93] 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() {
[93/93] 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/6199] Fetching swiftyjson
[2/10833] Fetching swiftyjson, swiftsoup
Fetched https://github.com/scinfu/SwiftSoup from cache (1.21s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (1.21s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.2 (3.47s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.11.1 (0.48s)
Fetching https://github.com/nicklockwood/LRUCache.git
Fetching https://github.com/apple/swift-atomics.git
[1/320] Fetching lrucache
[209/2134] Fetching lrucache, swift-atomics
Fetched https://github.com/nicklockwood/LRUCache.git from cache (1.04s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.04s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.46s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.1.2 (0.57s)
Creating working copy for https://github.com/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.11.1
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON
Working copy of https://github.com/SwiftyJSON/SwiftyJSON resolved at 5.0.2
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.1.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
BUILD FAILURE 6.0 macosSpm