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 master (ff6808), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 09:01:47 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dreymonde/sofarkit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/scinfu/SwiftSoup
Fetching https://github.com/scottrhoyt/SwiftyTextTable
Fetching https://github.com/dreymonde/Shallows.git
Fetching https://github.com/dreymonde/Light
[1/1076] Fetching shallows
[77/1151] Fetching shallows, light
[152/2080] Fetching shallows, light, swiftytexttable
[208/5278] Fetching shallows, light, swiftytexttable, swiftsoup
[304/6404] Fetching shallows, light, swiftytexttable, swiftsoup, rainbow
Fetched https://github.com/dreymonde/Light from cache (1.19s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (1.19s)
Fetched https://github.com/onevcat/Rainbow from cache (1.19s)
Fetched https://github.com/dreymonde/Shallows.git from cache (1.19s)
Fetched https://github.com/scinfu/SwiftSoup from cache (1.19s)
Computing version for https://github.com/dreymonde/Light
Computed https://github.com/dreymonde/Light at 0.0.3 (0.60s)
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] Compiling Rainbow StringGenerator.swift
[10/87] Compiling Rainbow String+Rainbow.swift
[11/87] Compiling Rainbow Style.swift
[12/88] Compiling Rainbow XcodeColorsSupport.swift
[13/88] Compiling Shallows SyncStorage.swift
[14/88] Compiling Shallows WriteOnlyStorage.swift
[15/88] Compiling Shallows Storage.swift
[16/89] Compiling Shallows Zip.swift
[17/89] Emitting module SwiftyTextTable
[18/89] Compiling SwiftyTextTable TextTable.swift
[19/89] Compiling Rainbow OutputTarget.swift
[20/89] Compiling Rainbow ControlCode.swift
[21/89] Compiling Rainbow Color.swift
[22/89] Compiling Rainbow ModesExtractor.swift
[23/89] Compiling SwiftSoup ArrayExt.swift
[24/89] Compiling SwiftSoup Attribute.swift
[25/89] Compiling Rainbow Rainbow.swift
[26/89] Emitting module Rainbow
[27/89] Compiling Shallows Shallows.swift
[28/89] Compiling Shallows ShallowsResult.swift
[29/89] Compiling SwiftSoup CharacterExt.swift
[30/89] Compiling SwiftSoup CharacterReader.swift
[31/89] Compiling SwiftSoup Cleaner.swift
[32/89] Compiling SwiftSoup Collector.swift
[35/89] Compiling SwiftSoup Attributes.swift
[36/89] Compiling SwiftSoup BooleanAttribute.swift
[37/89] Emitting module Shallows
[38/94] Compiling SwiftSoup ParseErrorList.swift
[39/94] Compiling SwiftSoup ParseSettings.swift
[40/94] Compiling SwiftSoup Parser.swift
[41/94] Compiling SwiftSoup Pattern.swift
[42/94] Compiling SwiftSoup QueryParser.swift
[43/94] Compiling SwiftSoup Selector.swift
[44/99] Compiling Light WebAPIProtocol.swift
[45/99] Emitting module SwiftSoup
[52/99] Compiling Light WebAPI.swift
[53/99] Compiling Light URLSession+WebAPI.swift
[54/99] Compiling Light Light.swift
[55/99] Emitting module Light
[56/99] Compiling SwiftSoup SerializationException.swift
[57/99] Compiling SwiftSoup SimpleDictionary.swift
[58/99] Compiling SwiftSoup StreamReader.swift
[59/99] Compiling SwiftSoup String.swift
[60/99] Compiling SwiftSoup StringBuilder.swift
[61/99] Compiling SwiftSoup StringUtil.swift
[62/99] Compiling SwiftSoup StructuralEvaluator.swift
[63/99] Compiling SwiftSoup SwiftSoup.swift
[64/99] Compiling SwiftSoup Tag.swift
[65/99] Compiling SwiftSoup TextNode.swift
[66/99] Compiling SwiftSoup Token.swift
[67/99] Compiling SwiftSoup TokenQueue.swift
[68/99] Compiling SwiftSoup Tokeniser.swift
[69/99] Compiling SwiftSoup TokeniserState.swift
[70/99] Compiling SwiftSoup TreeBuilder.swift
[71/99] Compiling SwiftSoup Node.swift
[72/99] Compiling SwiftSoup NodeTraversor.swift
[73/99] Compiling SwiftSoup NodeVisitor.swift
[74/99] Compiling SwiftSoup OrderedDictionary.swift
[75/99] Compiling SwiftSoup OrderedSet.swift
[76/99] Compiling SwiftSoup ParseError.swift
[79/99] Compiling SwiftSoup CombiningEvaluator.swift
[80/99] Compiling SwiftSoup Comment.swift
[81/99] Compiling SwiftSoup Connection.swift
[82/99] Compiling SwiftSoup DataNode.swift
[83/99] Compiling SwiftSoup DataUtil.swift
[84/99] Compiling SwiftSoup Document.swift
[85/99] Compiling SwiftSoup DocumentType.swift
[86/99] Compiling SwiftSoup Element.swift
[87/99] Compiling SwiftSoup Elements.swift
[88/99] Compiling SwiftSoup Entities.swift
[89/99] Compiling SwiftSoup UnicodeScalar.swift
[90/99] Compiling SwiftSoup Validate.swift
[91/99] Compiling SwiftSoup Whitelist.swift
[92/99] Compiling SwiftSoup XmlDeclaration.swift
[93/99] Compiling SwiftSoup XmlTreeBuilder.swift
[94/99] Compiling SwiftSoup Evaluator.swift
[95/99] Compiling SwiftSoup Exception.swift
[96/99] Compiling SwiftSoup FormElement.swift
[97/99] Compiling SwiftSoup HtmlTreeBuilder.swift
[98/99] Compiling SwiftSoup HtmlTreeBuilderState.swift
[99/99] Compiling SwiftSoup HttpStatusException.swift
[100/105] Compiling SofarKit HighlightParser.swift
[101/105] Compiling SofarKit SofarKit.swift
[102/105] Compiling SofarKit Highlight.swift
[103/105] Emitting module SofarKit
[104/105] Compiling SofarKit Event.swift
[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/scinfu/SwiftSoup
Updating https://github.com/onevcat/Rainbow
Updating https://github.com/dreymonde/Light
Updating https://github.com/scottrhoyt/SwiftyTextTable
Updated https://github.com/scinfu/SwiftSoup (0.46s)
Updated https://github.com/dreymonde/Light (0.46s)
Updated https://github.com/onevcat/Rainbow (0.46s)
Updated https://github.com/scottrhoyt/SwiftyTextTable (0.46s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.58s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (0.59s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 1.7.5 (0.62s)
Computing version for https://github.com/dreymonde/Light
Computed https://github.com/dreymonde/Light at 0.3.0 (0.58s)
Updating https://github.com/dreymonde/Shallows.git
Updated https://github.com/dreymonde/Shallows.git (0.46s)
Computing version for https://github.com/dreymonde/Shallows.git
Computed https://github.com/dreymonde/Shallows.git at 0.13.4 (2.55s)
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/Shallows.git
Working copy of https://github.com/dreymonde/Shallows.git resolved at 0.13.4
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/Light
Working copy of https://github.com/dreymonde/Light resolved at 0.3.0
BUILD FAILURE 6.0 macosSpm