Build Information
Failed to build SofarKit, reference 0.1.0 (ff6808
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 09:30:50 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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/scottrhoyt/SwiftyTextTable
Fetching https://github.com/dreymonde/Light
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/dreymonde/Shallows.git
Fetching https://github.com/scinfu/SwiftSoup
[1/1076] Fetching shallows
[131/2005] Fetching shallows, swiftytexttable
[249/5913] Fetching shallows, swiftytexttable, swiftsoup
[328/7109] Fetching shallows, swiftytexttable, swiftsoup, rainbow
[746/7184] Fetching shallows, swiftytexttable, swiftsoup, rainbow, light
Fetched https://github.com/dreymonde/Shallows.git from cache (0.78s)
[2092/6108] Fetching swiftytexttable, swiftsoup, rainbow, light
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (0.85s)
[2070/5179] Fetching swiftsoup, rainbow, light
Fetched https://github.com/dreymonde/Light from cache (1.03s)
Fetched https://github.com/scinfu/SwiftSoup from cache (1.03s)
Fetched https://github.com/onevcat/Rainbow from cache (1.03s)
Computing version for https://github.com/dreymonde/Light
Computed https://github.com/dreymonde/Light at 0.0.3 (1.65s)
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.1' to specify the current tools version
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dreymonde/sofarkit.git
https://github.com/dreymonde/sofarkit.git
{
"dependencies" : [
{
"identity" : "swiftsoup",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scinfu/SwiftSoup"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.4",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
},
{
"identity" : "swiftytexttable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scottrhoyt/SwiftyTextTable"
},
{
"identity" : "light",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dreymonde/Light"
}
],
"manifest_display_name" : "SofarKit",
"name" : "SofarKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SofarKit",
"targets" : [
"SofarKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SofarManager",
"targets" : [
"SofarManager"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SofarManager",
"module_type" : "SwiftTarget",
"name" : "SofarManager",
"path" : "Sources/SofarManager",
"product_dependencies" : [
"Light"
],
"product_memberships" : [
"SofarManager"
],
"sources" : [
"SofarManager.swift"
],
"target_dependencies" : [
"SofarKit"
],
"type" : "library"
},
{
"c99name" : "SofarKitTests",
"module_type" : "SwiftTarget",
"name" : "SofarKitTests",
"path" : "Tests/SofarKitTests",
"product_dependencies" : [
"Light"
],
"sources" : [
"SofarKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SofarKit",
"SofarManager"
],
"type" : "test"
},
{
"c99name" : "SofarKit",
"module_type" : "SwiftTarget",
"name" : "SofarKit",
"path" : "Sources/SofarKit",
"product_dependencies" : [
"SwiftSoup",
"Rainbow",
"SwiftyTextTable"
],
"product_memberships" : [
"SofarKit",
"SofarManager"
],
"sources" : [
"Event.swift",
"EventParser.swift",
"Highlight.swift",
"HighlightParser.swift",
"SofarKit.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[9/87] Compiling Shallows WriteOnlyStorage.swift
[10/88] Emitting module SwiftSoup
[11/93] Compiling Rainbow Style.swift
[12/94] Compiling Rainbow StringGenerator.swift
[13/94] Compiling Shallows Storage.swift
[14/94] Compiling Rainbow String+Rainbow.swift
[15/94] Compiling Rainbow XcodeColorsSupport.swift
[16/94] Compiling Shallows SyncStorage.swift
[17/94] Compiling Shallows Zip.swift
[18/94] Emitting module SwiftyTextTable
[19/94] Compiling SwiftyTextTable TextTable.swift
[20/94] Compiling SwiftSoup UnicodeScalar.swift
[21/94] Compiling SwiftSoup Validate.swift
[22/94] Compiling SwiftSoup Whitelist.swift
[23/94] Compiling SwiftSoup XmlDeclaration.swift
[24/94] Compiling SwiftSoup XmlTreeBuilder.swift
[25/94] Compiling SwiftSoup Cleaner.swift
[26/94] Compiling SwiftSoup Collector.swift
[27/94] Compiling SwiftSoup CombiningEvaluator.swift
[28/94] Compiling SwiftSoup Comment.swift
[29/94] Compiling SwiftSoup Connection.swift
[30/94] Compiling SwiftSoup DataNode.swift
[31/94] Compiling SwiftSoup Token.swift
[32/94] Compiling SwiftSoup TokenQueue.swift
[33/94] Compiling SwiftSoup Tokeniser.swift
[34/94] Compiling SwiftSoup TokeniserState.swift
[35/94] Compiling SwiftSoup TreeBuilder.swift
[36/94] Compiling SwiftSoup StringUtil.swift
[37/94] Compiling SwiftSoup StructuralEvaluator.swift
[38/94] Compiling SwiftSoup SwiftSoup.swift
[39/94] Compiling SwiftSoup Tag.swift
[40/94] Compiling SwiftSoup TextNode.swift
[41/94] Compiling SwiftSoup DataUtil.swift
[42/94] Compiling SwiftSoup Document.swift
[43/94] Compiling SwiftSoup DocumentType.swift
[44/94] Compiling SwiftSoup Element.swift
[45/94] Compiling SwiftSoup Elements.swift
[46/94] Compiling SwiftSoup Entities.swift
[47/94] Compiling SwiftSoup Evaluator.swift
[48/94] Compiling SwiftSoup Exception.swift
[49/94] Compiling SwiftSoup FormElement.swift
[50/94] Compiling SwiftSoup HtmlTreeBuilder.swift
[51/94] Compiling SwiftSoup HtmlTreeBuilderState.swift
[52/94] Compiling SwiftSoup HttpStatusException.swift
[53/94] Compiling SwiftSoup Node.swift
[54/94] Compiling SwiftSoup NodeTraversor.swift
[55/94] Compiling SwiftSoup NodeVisitor.swift
[56/94] Compiling SwiftSoup OrderedDictionary.swift
[57/94] Compiling SwiftSoup OrderedSet.swift
[58/94] Compiling SwiftSoup ParseError.swift
[59/94] Compiling Shallows Shallows.swift
[60/94] Compiling Shallows ShallowsResult.swift
[61/94] Compiling SwiftSoup ArrayExt.swift
[62/94] Compiling SwiftSoup Attribute.swift
[63/94] Compiling SwiftSoup Attributes.swift
[64/94] Compiling SwiftSoup BooleanAttribute.swift
[65/94] Compiling SwiftSoup CharacterExt.swift
[66/94] Compiling SwiftSoup CharacterReader.swift
[71/94] Compiling SwiftSoup ParseErrorList.swift
[73/94] Compiling SwiftSoup ParseSettings.swift
[75/94] Compiling SwiftSoup Parser.swift
[76/94] Emitting module Shallows
[77/94] Compiling SwiftSoup Pattern.swift
[79/94] Compiling SwiftSoup QueryParser.swift
[81/94] Compiling SwiftSoup Selector.swift
[82/94] Compiling SwiftSoup SerializationException.swift
[83/94] Compiling SwiftSoup SimpleDictionary.swift
[84/94] Compiling SwiftSoup StreamReader.swift
[85/94] Compiling SwiftSoup String.swift
[86/94] Compiling SwiftSoup StringBuilder.swift
[87/94] Compiling Rainbow ModesExtractor.swift
[88/94] Compiling Rainbow Color.swift
[89/94] Compiling Rainbow ControlCode.swift
[92/94] Compiling Rainbow OutputTarget.swift
[93/94] Compiling Rainbow Rainbow.swift
[94/94] Emitting module Rainbow
[95/105] Compiling Light WebAPIProtocol.swift
[96/105] Compiling Light WebAPI.swift
[97/105] Emitting module SofarKit
[98/105] Compiling Light URLSession+WebAPI.swift
[99/105] Compiling Light Light.swift
[100/105] Emitting module Light
[101/105] Compiling SofarKit SofarKit.swift
[102/105] Compiling SofarKit Highlight.swift
[103/105] Compiling SofarKit HighlightParser.swift
[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:60: error: referencing operator function '+' on 'SIMD' requires that 'Self' conform to 'SIMD'
86 | public var eventsHTML: ReadOnlyStorage<EventCode, Document> {
87 | return baseStorage
88 | .mapKeys(to: EventCode.self, { code in .events + .init(rawValue: code.description) + .manage })
| `- error: referencing operator function '+' on 'SIMD' requires that 'Self' conform to 'SIMD'
89 | .mapString()
90 | .mapHTMLDocument()
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:88:67: error: extraneous argument label 'rawValue:' in call
86 | public var eventsHTML: ReadOnlyStorage<EventCode, Document> {
87 | return baseStorage
88 | .mapKeys(to: EventCode.self, { code in .events + .init(rawValue: code.description) + .manage })
| `- error: extraneous argument label 'rawValue:' in call
89 | .mapString()
90 | .mapHTMLDocument()
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:88:63: error: type 'FloatingPoint' cannot be instantiated
86 | public var eventsHTML: ReadOnlyStorage<EventCode, Document> {
87 | return baseStorage
88 | .mapKeys(to: EventCode.self, { code in .events + .init(rawValue: code.description) + .manage })
| `- error: type 'FloatingPoint' cannot be instantiated
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.45s)
Updated https://github.com/scottrhoyt/SwiftyTextTable (0.45s)
Updated https://github.com/onevcat/Rainbow (0.45s)
Updated https://github.com/scinfu/SwiftSoup (0.45s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (1.09s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (0.61s)
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.55s)
Updating https://github.com/dreymonde/Shallows.git
Updated https://github.com/dreymonde/Shallows.git (0.43s)
Computing version for https://github.com/dreymonde/Shallows.git
Computed https://github.com/dreymonde/Shallows.git at 0.13.4 (1.12s)
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
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable
Working copy of https://github.com/scottrhoyt/SwiftyTextTable resolved at 0.9.0
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/80] Compiling Rainbow StringGenerator.swift
[3/80] Compiling Rainbow Style.swift
[4/81] Compiling Rainbow Color.swift
[5/81] Compiling Rainbow String+Rainbow.swift
[6/81] Compiling SwiftyTextTable TextTable.swift
[7/81] Emitting module SwiftyTextTable
[8/81] Compiling SwiftSoup Token.swift
[9/81] Compiling SwiftSoup TokenQueue.swift
[10/81] Compiling Rainbow Rainbow.swift
[11/81] Compiling Rainbow OutputTarget.swift
[12/81] Compiling Rainbow ControlCode.swift
[13/81] Emitting module Rainbow
[14/81] Compiling Rainbow ModesExtractor.swift
[15/81] Compiling Shallows WriteOnlyStorage.swift
[16/82] Compiling Shallows Shallows.swift
[17/82] Compiling Rainbow XcodeColorsSupport.swift
[18/82] Compiling Shallows Storage.swift
[19/82] Compiling Shallows SyncStorage.swift
[20/82] Compiling Shallows ShallowsResult.swift
[21/82] Emitting module Shallows
[22/82] Compiling SwiftSoup TreeBuilder.swift
[23/82] Compiling SwiftSoup ArrayExt.swift
[24/82] Compiling SwiftSoup Attribute.swift
[25/82] Compiling SwiftSoup Attributes.swift
[26/82] Compiling Shallows Zip.swift
[29/82] Compiling SwiftSoup Tokeniser.swift
[30/82] Compiling SwiftSoup TokeniserState.swift
[31/82] Compiling SwiftSoup SerializationException.swift
[32/82] Compiling SwiftSoup SimpleDictionary.swift
[33/82] Compiling SwiftSoup StreamReader.swift
[34/82] Compiling SwiftSoup String.swift
[35/82] Compiling SwiftSoup StringBuilder.swift
[36/87] Emitting module SwiftSoup
[37/92] Compiling Light WebAPI.swift
[38/92] Compiling Light Light.swift
[39/92] Compiling Light WebAPIProtocol.swift
[40/92] Emitting module Light
[41/92] Compiling Light URLSession+WebAPI.swift
[47/92] Compiling SwiftSoup UnicodeScalar.swift
[48/92] Compiling SwiftSoup Validate.swift
[49/92] Compiling SwiftSoup Whitelist.swift
[50/92] Compiling SwiftSoup XmlDeclaration.swift
[51/92] Compiling SwiftSoup XmlTreeBuilder.swift
[52/92] Compiling SwiftSoup ParseErrorList.swift
[53/92] Compiling SwiftSoup ParseSettings.swift
[54/92] Compiling SwiftSoup Parser.swift
[55/92] Compiling SwiftSoup Pattern.swift
[56/92] Compiling SwiftSoup QueryParser.swift
[57/92] Compiling SwiftSoup Selector.swift
[58/92] Compiling SwiftSoup StringUtil.swift
[59/92] Compiling SwiftSoup StructuralEvaluator.swift
[60/92] Compiling SwiftSoup SwiftSoup.swift
[61/92] Compiling SwiftSoup Tag.swift
[62/92] Compiling SwiftSoup TextNode.swift
[63/92] Compiling SwiftSoup Node.swift
[64/92] Compiling SwiftSoup NodeTraversor.swift
[65/92] Compiling SwiftSoup NodeVisitor.swift
[66/92] Compiling SwiftSoup OrderedDictionary.swift
[67/92] Compiling SwiftSoup OrderedSet.swift
[68/92] Compiling SwiftSoup ParseError.swift
[69/92] Compiling SwiftSoup DataUtil.swift
[70/92] Compiling SwiftSoup Document.swift
[71/92] Compiling SwiftSoup DocumentType.swift
[72/92] Compiling SwiftSoup Element.swift
[73/92] Compiling SwiftSoup Elements.swift
[74/92] Compiling SwiftSoup Entities.swift
[75/92] Compiling SwiftSoup Cleaner.swift
[76/92] Compiling SwiftSoup Collector.swift
[77/92] Compiling SwiftSoup CombiningEvaluator.swift
[78/92] Compiling SwiftSoup Comment.swift
[79/92] Compiling SwiftSoup Connection.swift
[80/92] Compiling SwiftSoup DataNode.swift
[84/92] Compiling SwiftSoup BooleanAttribute.swift
[85/92] Compiling SwiftSoup CharacterExt.swift
[86/92] Compiling SwiftSoup CharacterReader.swift
[87/92] Compiling SwiftSoup Evaluator.swift
[88/92] Compiling SwiftSoup Exception.swift
[89/92] Compiling SwiftSoup FormElement.swift
[90/92] Compiling SwiftSoup HtmlTreeBuilder.swift
[91/92] Compiling SwiftSoup HtmlTreeBuilderState.swift
[92/92] Compiling SwiftSoup HttpStatusException.swift
[93/98] Compiling SofarKit Highlight.swift
[94/98] Compiling SofarKit SofarKit.swift
[95/98] Compiling SofarKit HighlightParser.swift
[96/98] Compiling SofarKit EventParser.swift
[97/98] Compiling SofarKit Event.swift
[98/98] Emitting module SofarKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[99/100] 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) {
[100/100] 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:60: error: referencing operator function '+' on 'SIMD' requires that 'Self' conform to 'SIMD'
86 | public var eventsHTML: ReadOnlyStorage<EventCode, Document> {
87 | return baseStorage
88 | .mapKeys(to: EventCode.self, { code in .events + .init(rawValue: code.description) + .manage })
| `- error: referencing operator function '+' on 'SIMD' requires that 'Self' conform to 'SIMD'
89 | .mapString()
90 | .mapHTMLDocument()
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:88:63: error: type 'FloatingPoint' cannot be instantiated
86 | public var eventsHTML: ReadOnlyStorage<EventCode, Document> {
87 | return baseStorage
88 | .mapKeys(to: EventCode.self, { code in .events + .init(rawValue: code.description) + .manage })
| `- error: type 'FloatingPoint' cannot be instantiated
89 | .mapString()
90 | .mapHTMLDocument()
/Users/admin/builder/spi-builder-workspace/Sources/SofarManager/SofarManager.swift:88:67: error: extraneous argument label 'rawValue:' in call
86 | public var eventsHTML: ReadOnlyStorage<EventCode, Document> {
87 | return baseStorage
88 | .mapKeys(to: EventCode.self, { code in .events + .init(rawValue: code.description) + .manage })
| `- error: extraneous argument label 'rawValue:' in call
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 | }
BUILD FAILURE 6.1 macosSpm