The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SofarKit, reference 0.1.0 (ff6808), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 09:01:57 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dreymonde/sofarkit.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dreymonde/sofarkit
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at ff68082 Drop 'Sofar' from type names
Cloned https://github.com/dreymonde/sofarkit.git
Revision (git rev-parse @):
ff6808234f96e4c29a1f586db16b759aff849180
SUCCESS checkout https://github.com/dreymonde/sofarkit.git at 0.1.0
Fetching https://github.com/scinfu/SwiftSoup
Fetching https://github.com/dreymonde/Shallows.git
Fetching https://github.com/dreymonde/Light
Fetching https://github.com/scottrhoyt/SwiftyTextTable
Fetching https://github.com/onevcat/Rainbow
[1/75] Fetching light
[76/1151] Fetching light, shallows
[227/2277] Fetching light, shallows, rainbow
[306/5475] Fetching light, shallows, rainbow, swiftsoup
[402/6404] Fetching light, shallows, rainbow, swiftsoup, swiftytexttable
Fetched https://github.com/scinfu/SwiftSoup from cache (1.16s)
Fetched https://github.com/onevcat/Rainbow from cache (1.16s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (1.16s)
Fetched https://github.com/dreymonde/Light from cache (1.16s)
Computing version for https://github.com/dreymonde/Light
Fetched https://github.com/dreymonde/Shallows.git from cache (1.16s)
Computed https://github.com/dreymonde/Light at 0.0.3 (0.55s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.0' to specify the current tools version
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dreymonde/sofarkit.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version--7754E27361AE5C74.txt
[9/87] Emitting module SwiftSoup
[10/92] Compiling Rainbow String+Rainbow.swift
[11/93] Emitting module Rainbow
[12/93] Compiling SwiftSoup ArrayExt.swift
[13/93] Compiling SwiftSoup Attribute.swift
[14/93] Compiling Rainbow StringGenerator.swift
[15/93] Compiling Rainbow Style.swift
[16/93] Compiling Rainbow ControlCode.swift
[17/93] Compiling Rainbow Color.swift
[18/93] Compiling Rainbow XcodeColorsSupport.swift
[19/93] Compiling Shallows WriteOnlyStorage.swift
[20/93] Compiling Shallows SyncStorage.swift
[21/93] Compiling Shallows Storage.swift
[22/94] Compiling Shallows Zip.swift
[23/94] Compiling SwiftSoup UnicodeScalar.swift
[24/94] Compiling SwiftSoup Validate.swift
[25/94] Compiling SwiftSoup Whitelist.swift
[26/94] Compiling SwiftSoup XmlDeclaration.swift
[27/94] Compiling SwiftSoup XmlTreeBuilder.swift
[28/94] Compiling SwiftyTextTable TextTable.swift
[29/94] Emitting module SwiftyTextTable
[30/94] Compiling Rainbow OutputTarget.swift
[31/94] Compiling Rainbow ModesExtractor.swift
[32/94] Compiling Rainbow Rainbow.swift
[33/94] Compiling SwiftSoup Cleaner.swift
[34/94] Compiling SwiftSoup Collector.swift
[35/94] Compiling Shallows Shallows.swift
[36/94] Compiling Shallows ShallowsResult.swift
[37/94] Compiling SwiftSoup Attributes.swift
[38/94] Compiling SwiftSoup BooleanAttribute.swift
[39/94] Compiling SwiftSoup SerializationException.swift
[40/94] Compiling SwiftSoup SimpleDictionary.swift
[41/94] Compiling SwiftSoup StreamReader.swift
[42/94] Compiling SwiftSoup String.swift
[43/94] Compiling SwiftSoup StringBuilder.swift
[44/94] Compiling SwiftSoup ParseErrorList.swift
[45/94] Compiling SwiftSoup ParseSettings.swift
[46/94] Compiling SwiftSoup Parser.swift
[47/94] Compiling SwiftSoup Pattern.swift
[48/94] Compiling SwiftSoup QueryParser.swift
[49/94] Compiling SwiftSoup Selector.swift
[52/94] Emitting module Shallows
[53/94] Compiling SwiftSoup CharacterExt.swift
[54/94] Compiling SwiftSoup CharacterReader.swift
[55/99] Compiling Light WebAPIProtocol.swift
[56/99] Compiling Light WebAPI.swift
[57/99] Compiling SwiftSoup Evaluator.swift
[58/99] Compiling SwiftSoup Exception.swift
[59/99] Compiling SwiftSoup FormElement.swift
[60/99] Compiling SwiftSoup HtmlTreeBuilder.swift
[61/99] Compiling SwiftSoup HtmlTreeBuilderState.swift
[62/99] Compiling SwiftSoup HttpStatusException.swift
[63/99] Compiling SwiftSoup Node.swift
[64/99] Compiling SwiftSoup NodeTraversor.swift
[65/99] Compiling SwiftSoup NodeVisitor.swift
[66/99] Compiling SwiftSoup OrderedDictionary.swift
[67/99] Compiling SwiftSoup OrderedSet.swift
[68/99] Compiling SwiftSoup ParseError.swift
[69/99] Compiling SwiftSoup StringUtil.swift
[70/99] Compiling SwiftSoup StructuralEvaluator.swift
[71/99] Compiling SwiftSoup SwiftSoup.swift
[72/99] Compiling SwiftSoup Tag.swift
[73/99] Compiling SwiftSoup TextNode.swift
[74/99] Compiling SwiftSoup Token.swift
[75/99] Compiling SwiftSoup TokenQueue.swift
[76/99] Compiling SwiftSoup Tokeniser.swift
[77/99] Compiling SwiftSoup TokeniserState.swift
[78/99] Compiling SwiftSoup TreeBuilder.swift
[81/99] Compiling SwiftSoup CombiningEvaluator.swift
[82/99] Compiling SwiftSoup Comment.swift
[83/99] Compiling SwiftSoup Connection.swift
[84/99] Compiling SwiftSoup DataNode.swift
[91/99] Compiling SwiftSoup DataUtil.swift
[92/99] Compiling SwiftSoup Document.swift
[93/99] Compiling SwiftSoup DocumentType.swift
[94/99] Compiling SwiftSoup Element.swift
[95/99] Compiling SwiftSoup Elements.swift
[96/99] Compiling SwiftSoup Entities.swift
[97/99] Compiling Light Light.swift
[98/99] Emitting module Light
[99/99] Compiling Light URLSession+WebAPI.swift
[100/105] Compiling SofarKit Highlight.swift
[101/105] Compiling SofarKit SofarKit.swift
[102/105] Compiling SofarKit HighlightParser.swift
[103/105] Compiling SofarKit Event.swift
[104/105] Emitting module SofarKit
[105/105] Compiling SofarKit EventParser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[106/107] Emitting module SofarManager
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:11:11: error: cannot find type 'APIPath' in scope
  9 | import SwiftSoup
 10 |
 11 | extension APIPath {
    |           `- error: cannot find type 'APIPath' in scope
 12 |
 13 |     public static func path(forCity city: String) -> APIPath {
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:55:45: error: cannot find type 'APIPath' in scope
 53 |     public let sessionID: String
 54 |
 55 |     public let baseStorage: ReadOnlyStorage<APIPath, Data>
    |                                             `- error: cannot find type 'APIPath' in scope
 56 |
 57 |     public init(webAPI: WebAPI, city: String, cookieSessionID: String, setCookies: Bool = true) {
[107/107] Compiling SofarManager SofarManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:11:11: error: cannot find type 'APIPath' in scope
  9 | import SwiftSoup
 10 |
 11 | extension APIPath {
    |           `- error: cannot find type 'APIPath' in scope
 12 |
 13 |     public static func path(forCity city: String) -> APIPath {
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:55:45: error: cannot find type 'APIPath' in scope
 53 |     public let sessionID: String
 54 |
 55 |     public let baseStorage: ReadOnlyStorage<APIPath, Data>
    |                                             `- error: cannot find type 'APIPath' in scope
 56 |
 57 |     public init(webAPI: WebAPI, city: String, cookieSessionID: String, setCookies: Bool = true) {
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:34:19: error: cannot find type 'APIPath' in scope
 32 |             .path : "/",
 33 |             ]).required(orThrow: SofarKitError.invalidCookie)
 34 |         let path: APIPath = .path(forCity: city) + .manage
    |                   `- error: cannot find type 'APIPath' in scope
 35 |         let sofarSoundsManageURL = SofarSounds.baseURL.appendingPath(path)
 36 |         HTTPCookieStorage.shared.setCookies([sofarCookie], for: sofarSoundsManageURL, mainDocumentURL: nil)
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:35:56: error: value of type 'URL' has no member 'appendingPath'
 33 |             ]).required(orThrow: SofarKitError.invalidCookie)
 34 |         let path: APIPath = .path(forCity: city) + .manage
 35 |         let sofarSoundsManageURL = SofarSounds.baseURL.appendingPath(path)
    |                                                        `- error: value of type 'URL' has no member 'appendingPath'
 36 |         HTTPCookieStorage.shared.setCookies([sofarCookie], for: sofarSoundsManageURL, mainDocumentURL: nil)
 37 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:64:40: error: value of type 'WebAPI' has no member 'baseURL'
 62 |             SofarSounds.setCookies(sessionID: cookieSessionID, city: city)
 63 |         }
 64 |         self.baseStorage = self.webAPI.baseURL(SofarSounds.baseURL)
    |                                        `- error: value of type 'WebAPI' has no member 'baseURL'
 65 |     }
 66 |
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:74:25: error: reference to member 'path' cannot be resolved without a contextual type
 72 |     public var reportHTML: ReadOnlyStorage<Void, Document> {
 73 |         return baseStorage
 74 |             .singleKey(.path(forCity: city) + .manage)
    |                         `- error: reference to member 'path' cannot be resolved without a contextual type
 75 |             .mapString()
 76 |             .mapHTMLDocument()
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:88:53: error: reference to member 'events' cannot be resolved without a contextual type
 86 |     public var eventsHTML: ReadOnlyStorage<EventCode, Document> {
 87 |         return baseStorage
 88 |             .mapKeys(to: EventCode.self, { code in .events + .init(rawValue: code.description) + .manage })
    |                                                     `- error: reference to member 'events' cannot be resolved without a contextual type
 89 |             .mapString()
 90 |             .mapHTMLDocument()
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:13:54: error: cannot find type 'APIPath' in scope
 11 | extension APIPath {
 12 |
 13 |     public static func path(forCity city: String) -> APIPath {
    |                                                      `- error: cannot find type 'APIPath' in scope
 14 |         return "cities" + APIPath(rawValue: city)
 15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:17:31: error: cannot find type 'APIPath' in scope
 15 |     }
 16 |
 17 |     public static let manage: APIPath = "manage"
    |                               `- error: cannot find type 'APIPath' in scope
 18 |     public static let guestlist: APIPath = "guestlist"
 19 |     public static let events: APIPath = "events"
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:18:34: error: cannot find type 'APIPath' in scope
 16 |
 17 |     public static let manage: APIPath = "manage"
 18 |     public static let guestlist: APIPath = "guestlist"
    |                                  `- error: cannot find type 'APIPath' in scope
 19 |     public static let events: APIPath = "events"
 20 |
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:19:31: error: cannot find type 'APIPath' in scope
 17 |     public static let manage: APIPath = "manage"
 18 |     public static let guestlist: APIPath = "guestlist"
 19 |     public static let events: APIPath = "events"
    |                               `- error: cannot find type 'APIPath' in scope
 20 |
 21 | }
Updating https://github.com/onevcat/Rainbow
Updating https://github.com/scinfu/SwiftSoup
Updating https://github.com/scottrhoyt/SwiftyTextTable
Updating https://github.com/dreymonde/Light
Updated https://github.com/dreymonde/Light (0.54s)
Updated https://github.com/onevcat/Rainbow (0.54s)
Updated https://github.com/scottrhoyt/SwiftyTextTable (0.54s)
Updated https://github.com/scinfu/SwiftSoup (0.54s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.53s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (0.53s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 1.7.5 (0.53s)
Computing version for https://github.com/dreymonde/Light
Computed https://github.com/dreymonde/Light at 0.3.0 (0.53s)
Updating https://github.com/dreymonde/Shallows.git
Updated https://github.com/dreymonde/Shallows.git (0.45s)
Computing version for https://github.com/dreymonde/Shallows.git
Computed https://github.com/dreymonde/Shallows.git at 0.13.4 (2.36s)
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable
Working copy of https://github.com/scottrhoyt/SwiftyTextTable resolved at 0.9.0
Creating working copy for https://github.com/dreymonde/Shallows.git
Working copy of https://github.com/dreymonde/Shallows.git resolved at 0.13.4
Creating working copy for https://github.com/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 1.7.5
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/dreymonde/Light
Working copy of https://github.com/dreymonde/Light resolved at 0.3.0
BUILD FAILURE 6.0 macosSpm