Build Information
Failed to build ScrobbleKit, reference 2.1.0 (b7feac), with Swift 6.2 for Wasm on 27 Sep 2026 17:35:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tfmart/ScrobbleKit.git
Reference: 2.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/tfmart/ScrobbleKit
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at b7feac5 Add pagination regression coverage
Cloned https://github.com/tfmart/ScrobbleKit.git
Revision (git rev-parse @):
b7feac5436c46c0b4bc982ad4ba4cbbae12959c1
SUCCESS checkout https://github.com/tfmart/ScrobbleKit.git at 2.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/tfmart/ScrobbleKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.67s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (1.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3831] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.59s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.80s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/171] Compiling ScrobbleKit SBKSearchResultsResponse.swift
[6/171] Compiling ScrobbleKit SBKThrowable.swift
[7/171] Compiling ScrobbleKit SBKTimestamp.swift
[8/171] Compiling ScrobbleKit AddTagsService.swift
[9/171] Compiling ScrobbleKit RemoveTagService.swift
[10/171] Compiling ScrobbleKit AlbumGetInfoService.swift
[11/171] Compiling ScrobbleKit AlbumGetTagsService.swift
[12/171] Compiling ScrobbleKit AlbumGetTopTagsService.swift
[13/171] Compiling ScrobbleKit AlbumSearchService.swift
[14/171] Compiling ScrobbleKit SBKAddTagAlbumResponse.swift
[15/171] Compiling ScrobbleKit SBKAlbumRequestResponseList.swift
[16/171] Compiling ScrobbleKit SBKAlbumSearchResultListResponse.swift
[17/171] Compiling ScrobbleKit SBKAlbumTopTagsResponse.swift
[18/171] Compiling ScrobbleKit ArtistGetCorrectionService.swift
[19/171] Compiling ScrobbleKit ArtistGetInfoService.swift
[20/171] Compiling ScrobbleKit ArtistGetSimilarService.swift
[21/171] Compiling ScrobbleKit ArtistGetTopAlbumsService.swift
[22/171] Compiling ScrobbleKit ArtistGetTopTagsService.swift
[23/171] Compiling ScrobbleKit ArtistGetTopTracksService.swift
[24/171] Compiling ScrobbleKit ArtistSearchService.swift
[25/171] Compiling ScrobbleKit ArtistGetTagsService.swift
[26/171] Compiling ScrobbleKit SBKArtistGetInfoRequestResponse.swift
[27/171] Compiling ScrobbleKit SBKArtistGetInfoSimilarArtist.swift
[28/171] Compiling ScrobbleKit SBKArtistGetSimilarResponse.swift
[29/194] Compiling ScrobbleKit SBKManager+TrackGetSimilarService.swift
[30/194] Compiling ScrobbleKit SBKmanager+TrackGetTagsService.swift
[31/194] Compiling ScrobbleKit SBKManager+TrackGetTopTagsService.swift
[32/194] Compiling ScrobbleKit SBKManager+TrackLoveService.swift
[33/194] Compiling ScrobbleKit SBKManager+TrackRemoveTag.swift
[34/194] Compiling ScrobbleKit SBKTrackSearchMethod.swift
[35/194] Compiling ScrobbleKit SBKManager+Scrobble.swift
[36/194] Compiling ScrobbleKit SBKManager+TrackSearchService.swift
[37/194] Compiling ScrobbleKit SBKManager+TrackUnloveService.swift
[38/194] Compiling ScrobbleKit SBKManager+TrackUpdateNowPlayingService.swift
[39/194] Compiling ScrobbleKit SBKManager+UserGetFriendsService.swift
[40/194] Compiling ScrobbleKit SBKManager+UserGetInfoService.swift
[41/194] Compiling ScrobbleKit SBKManager+UserGetLovedTracksService.swift
[42/194] Compiling ScrobbleKit SBKManager+UserGetPersonalTagsService.swift
[43/194] Compiling ScrobbleKit SBKManager+UserGetRecentTracksService.swift
[44/194] Compiling ScrobbleKit SBKManager+UserGetTopAlbumsService.swift
[45/194] Compiling ScrobbleKit SBKManager+UserGetTopArtistsService.swift
[46/194] Compiling ScrobbleKit SBKManager+UserGetTopTagsService.swift
[47/194] Compiling ScrobbleKit SBKManager+UserGetTopTracksService.swift
[48/194] Compiling ScrobbleKit SBKManager+UserGetWeeklyChartsService.swift
[49/194] Compiling ScrobbleKit SBKAlbum.swift
[50/194] Compiling ScrobbleKit SBKAlbumSearchMethod.swift
[51/194] Compiling ScrobbleKit SBKArtist.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/194] Compiling ScrobbleKit SBKArtistGetTopAlbumsResponse.swift
[53/194] Compiling ScrobbleKit SBKArtistSearchResultsList.swift
[54/194] Compiling ScrobbleKit SBKArtistTopTracksResponse.swift
[55/194] Compiling ScrobbleKit SBKManager+TagGetWeeklyChartList.swift
[56/194] Compiling ScrobbleKit AuthSessionService.swift
[57/194] Compiling ScrobbleKit ChartGetTopArtistsService.swift
[58/194] Compiling ScrobbleKit ChartGetTopTracksService.swift
[59/194] Compiling ScrobbleKit ChartsGetTopTagsService.swift
[60/194] Compiling ScrobbleKit SBKArtistTopChartsRequestResponse.swift
[61/194] Compiling ScrobbleKit SBKChartGetTopTagsResponse.swift
[62/194] Compiling ScrobbleKit SBKChartGetTopTracksResponse.swift
[63/194] Compiling ScrobbleKit SBKChartTopTagsResponse.swift
[64/194] Compiling ScrobbleKit GeoGetTopArtistsService.swift
[65/194] Compiling ScrobbleKit GeoGetTopTracksService.swift
[66/194] Compiling ScrobbleKit SBKGeoTopArtistsResponse copy.swift
[67/194] Compiling ScrobbleKit LibraryGetArtistsService.swift
[68/194] Compiling ScrobbleKit SBKLibraryGetArtistsResponse.swift
[69/194] Compiling ScrobbleKit TagGetInfoService.swift
[70/194] Compiling ScrobbleKit TagGetSimilarService.swift
[71/194] Compiling ScrobbleKit TagGetTopAlbumsService.swift
[72/194] Compiling ScrobbleKit TagGetTopArtistsService.swift
[73/194] Compiling ScrobbleKit TagGetTopTagsService.swift
[74/194] Compiling ScrobbleKit TagGetTopTracksService.swift
[75/194] Compiling ScrobbleKit TagGetWeeklyChartListService.swift
[76/194] Emitting module ScrobbleKit
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
[77/194] Compiling ScrobbleKit SBKManager+ArtistGetSimilar.swift
[78/194] Compiling ScrobbleKit SBKManager+ArtistGetTagsService.swift
[79/194] Compiling ScrobbleKit SBKManager+ArtistGetTopAlbums.swift
[80/194] Compiling ScrobbleKit SBKManager+ArtistGetTopTagsService.swift
[81/194] Compiling ScrobbleKit SBKManager+ArtistGetTopTracksService.swift
[82/194] Compiling ScrobbleKit SBKManager+ArtistRemoveTagService.swift
[83/194] Compiling ScrobbleKit SBKManager+ArtistSearchService.swift
[84/194] Compiling ScrobbleKit SBKManager+ChartGetTopArtistsService.swift
[85/194] Compiling ScrobbleKit SBKManager+ChartGetTopTagsService.swift
[86/194] Compiling ScrobbleKit SBKManager+ChartGetTopTracksService.swift
[87/194] Compiling ScrobbleKit SBKManager+GeoGetTopArtistsService.swift
[88/194] Compiling ScrobbleKit SBKManager+GeoGetTopTracksService.swift
[89/194] Compiling ScrobbleKit SBKCountry.swift
[90/194] Compiling ScrobbleKit SBKService+LibraryGetArtistsService.swift
[91/194] Compiling ScrobbleKit SBKManager+TagGetInfo.swift
[92/194] Compiling ScrobbleKit SBKManager+TagGetSimilar.swift
[93/194] Compiling ScrobbleKit SBKManager+TagGetTopAlbums.swift
[94/194] Compiling ScrobbleKit SBKManager+TagGetTopArtistsService.swift
[95/194] Compiling ScrobbleKit SBKManager+TagGetTopTagsService.swift
[96/194] Compiling ScrobbleKit SBKService+TagGetTopTracksService.swift
[97/194] Compiling ScrobbleKit SBKManager+TrackAddTags.swift
[98/194] Compiling ScrobbleKit SBKManager+TrackCorrectionService.swift
[99/194] Compiling ScrobbleKit SBKManager+TrackGetInfoService.swift
[100/194] Compiling ScrobbleKit SBKScrobbleList.swift
[101/194] Compiling ScrobbleKit SBKTrackGetSimilarResponse.swift
[102/194] Compiling ScrobbleKit SBKTrackRequestResponseList.swift
[103/194] Compiling ScrobbleKit SBKTrackUpdateNowPlayingCode.swift
[104/194] Compiling ScrobbleKit SBKTrackUpdateNowPlayingResponse.swift
[105/194] Compiling ScrobbleKit SBKTrackSearchResultListResponse.swift
[106/194] Compiling ScrobbleKit ScrobbleService.swift
[107/194] Compiling ScrobbleKit TrackCorrectionService.swift
[108/194] Compiling ScrobbleKit TrackGetInfoService.swift
[109/194] Compiling ScrobbleKit TrackGetSimilarService.swift
[110/194] Compiling ScrobbleKit TrackGetTagsService.swift
[111/194] Compiling ScrobbleKit TrackGetTopTagsService.swift
[112/194] Compiling ScrobbleKit TrackLoveService.swift
[113/194] Compiling ScrobbleKit TrackSearchService.swift
[114/194] Compiling ScrobbleKit TrackUnloveService.swift
[115/194] Compiling ScrobbleKit TrackUpdateNowPlayingService.swift
[116/194] Compiling ScrobbleKit SBKUserGetFriendsResponse.swift
[117/194] Compiling ScrobbleKit SBKUserGetRecentTracksResponse.swift
[118/194] Compiling ScrobbleKit SBKUserGetTopAlbumsResponse.swift
[119/194] Compiling ScrobbleKit SBKUserInfoResponse.swift
[120/194] Compiling ScrobbleKit SBKUserPersonalTags.swift
[121/194] Compiling ScrobbleKit SBKUserTagsResponse.swift
[122/194] Compiling ScrobbleKit SBKUserWeeklyChartResponse.swift
[123/194] Compiling ScrobbleKit UserGetLovedTracksResponse.swift
[124/194] Compiling ScrobbleKit UserGetFriendsService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[125/194] Compiling ScrobbleKit UserGetInfoService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[126/194] Compiling ScrobbleKit UserGetLovedTracksService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[127/194] Compiling ScrobbleKit UserGetPersonalTagsService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[128/194] Compiling ScrobbleKit UserGetRecentTracksService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[129/194] Compiling ScrobbleKit UserGetTopAlbumsService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[130/194] Compiling ScrobbleKit UserGetTopArtistsService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[131/194] Compiling ScrobbleKit UserGetTopTagsService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[132/194] Compiling ScrobbleKit UserGetTopTracksService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[133/194] Compiling ScrobbleKit UserGetWeeklyChartServices.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[134/194] Compiling ScrobbleKit SBKAuthenticatedService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[135/194] Compiling ScrobbleKit SBKOptionallyAuthenticatedService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[136/194] Compiling ScrobbleKit SBKService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[137/194] Compiling ScrobbleKit SBKURLBuilder.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[138/194] Compiling ScrobbleKit SBKURLBuilderError.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[139/194] Compiling ScrobbleKit SBKManager+AlbumAddTags.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[140/194] Compiling ScrobbleKit SBKManager+AlbumGetInfo.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[141/194] Compiling ScrobbleKit SBKManager+AlbumGetTags.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[142/194] Compiling ScrobbleKit SBKManager+AlbumGetTopTags.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[143/194] Compiling ScrobbleKit SBKManager+AlbumRemoveTagService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[144/194] Compiling ScrobbleKit SBKManager+AlbumSearchService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[145/194] Compiling ScrobbleKit SBKManager+ArtistAddTags.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[146/194] Compiling ScrobbleKit SBKManager+ArtistGetCorrectionService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[147/194] Compiling ScrobbleKit SBKManager+ArtistGetInfoService.swift
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:79:34: error: cannot find type 'URLRequest' in scope
77 | // MARK: Request builder
78 | internal extension SBKService {
79 | func makeRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
80 | guard let url = url else {
81 | throw SBKClientError.badURL
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:84:23: error: cannot find 'URLRequest' in scope
82 | }
83 |
84 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
85 | request.httpMethod = httpMethod.rawValue
86 |
/host/spi-builder-workspace/Sources/ScrobbleKit/Internal/Services/Protocols/SBKService.swift:125:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
123 | func start() async throws -> ResponseType {
124 | let request = try makeRequest()
125 | let (data, _) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 | let decodedModel = try parse(data)
127 | return decodedModel
[148/194] Compiling ScrobbleKit Bool+Int.swift
[149/194] Compiling ScrobbleKit Int+Page.swift
[150/194] Compiling ScrobbleKit OptinalStringInitializers.swift
[151/194] Compiling ScrobbleKit SBKParameter+URLQueryItem.swift
[152/194] Compiling ScrobbleKit String+MD5.swift
[153/194] Compiling ScrobbleKit URLQuertyItem+Numeric.swift
[154/194] Compiling ScrobbleKit URLQueryItem+Bool.swift
[155/194] Compiling ScrobbleKit SBKClientError.swift
[156/194] Compiling ScrobbleKit SBKError.swift
[157/194] Compiling ScrobbleKit SBKErrorMessage.swift
[158/194] Compiling ScrobbleKit SBKScrobbleError.swift
[159/194] Compiling ScrobbleKit SBKHttpMethod.swift
[160/194] Compiling ScrobbleKit SBKLanguage.swift
[161/194] Compiling ScrobbleKit SBKMethod.swift
[162/194] Compiling ScrobbleKit SBKParameter.swift
[163/194] Compiling ScrobbleKit NumericStringDecoder.swift
[164/194] Compiling ScrobbleKit SBKCorrectedResponse.swift
[165/194] Compiling ScrobbleKit SBKEmptyResponse.swift
[166/194] Compiling ScrobbleKit SBKOneOrMany.swift
[167/194] Compiling ScrobbleKit SBKPagination.swift
[168/194] Compiling ScrobbleKit SBKPaginationAttributes.swift
[169/194] Compiling ScrobbleKit SBKSearchAttribute.swift
[170/194] Compiling ScrobbleKit SBKSearchQuery.swift
[171/194] Compiling ScrobbleKit SBKSearchResult+Pagination.swift
[172/194] Compiling ScrobbleKit SBKArtistSearchMethod.swift
[173/194] Compiling ScrobbleKit SBKImage.swift
[174/194] Compiling ScrobbleKit SBKLovedTrack.swift
[175/194] Compiling ScrobbleKit SBKLovedTracks.swift
[176/194] Compiling ScrobbleKit SBKNowPlayingCorrected.swift
[177/194] Compiling ScrobbleKit SBKScrobbleResponse.swift
[178/194] Compiling ScrobbleKit SBKScrobbleResponseAttribute.swift
[179/194] Compiling ScrobbleKit SBKScrobbleResponseTrack.swift
[180/194] Compiling ScrobbleKit SBKScrobbleResponseTrackStatus.swift
[181/194] Compiling ScrobbleKit SBKScrobbledTrack.swift
[182/194] Compiling ScrobbleKit SBKSearchAttributes.swift
[183/194] Compiling ScrobbleKit SBKSearchPeriod.swift
[184/194] Compiling ScrobbleKit SBKSearchResult.swift
[185/194] Compiling ScrobbleKit SBKSearchTerm.swift
[186/194] Compiling ScrobbleKit SBKSessionResponse.swift
[187/194] Compiling ScrobbleKit SBKSimilarArtist.swift
[188/194] Compiling ScrobbleKit SBKSimilarTrack.swift
[189/194] Compiling ScrobbleKit SBKTag.swift
[190/194] Compiling ScrobbleKit SBKTrack.swift
[191/194] Compiling ScrobbleKit SBKTrackToScrobble.swift
[192/194] Compiling ScrobbleKit SBKWeeklyChart.swift
[193/194] Compiling ScrobbleKit SBKWiki.swift
[194/194] Compiling ScrobbleKit SBKManager.swift
BUILD FAILURE 6.2 wasm