Build Information
Successful build of AudiusKit, reference v1.0.0 (fb9de7
), with Swift 6.1 for macOS (SPM) on 28 Jun 2025 04:57:50 UTC.
Swift 6 data race errors: 0
Build Command
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
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/julianbaker/audiusKit.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/julianbaker/audiusKit
* tag v1.0.0 -> FETCH_HEAD
HEAD is now at fb9de7a update readme
Cloned https://github.com/julianbaker/audiusKit.git
Revision (git rev-parse @):
fb9de7ab91ad989803ac88c2a424df147abed3a5
SUCCESS checkout https://github.com/julianbaker/audiusKit.git at v1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "audiuskit",
"name": "AudiusKit",
"url": "https://github.com/julianbaker/audiusKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/audiusKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/julianbaker/audiusKit.git
[1/47] Fetching audiuskit
Fetched https://github.com/julianbaker/audiusKit.git from cache (0.70s)
Creating working copy for https://github.com/julianbaker/audiusKit.git
Working copy of https://github.com/julianbaker/audiusKit.git resolved at v1.0.0 (fb9de7a)
warning: '.resolve-product-dependencies': dependency 'audiuskit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/julianbaker/audiusKit.git
https://github.com/julianbaker/audiusKit.git
{
"dependencies" : [
],
"manifest_display_name" : "AudiusKit",
"name" : "AudiusKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "watchos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "AudiusKit",
"targets" : [
"AudiusKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AudiusKitTests",
"module_type" : "SwiftTarget",
"name" : "AudiusKitTests",
"path" : "Tests/AudiusKitTests",
"sources" : [
"AudiusAPIClientMockTests.swift",
"AudiusAPIClientTests.swift",
"CacheManagerTests.swift"
],
"target_dependencies" : [
"AudiusKit"
],
"type" : "test"
},
{
"c99name" : "AudiusKit",
"module_type" : "SwiftTarget",
"name" : "AudiusKit",
"path" : "Sources/AudiusKit",
"product_memberships" : [
"AudiusKit"
],
"sources" : [
"Errors/AudiusAPIError.swift",
"Models/ImageTypes.swift",
"Models/Responses.swift",
"Models/Track.swift",
"Networking/AudiusAPIClient.swift",
"Networking/CacheManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/9] Compiling AudiusKit Responses.swift
[4/9] Compiling AudiusKit Track.swift
[5/9] Emitting module AudiusKit
[6/9] Compiling AudiusKit ImageTypes.swift
[7/9] Compiling AudiusKit AudiusAPIError.swift
[8/9] Compiling AudiusKit AudiusAPIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:366:57: warning: non-sendable result type '[Track]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
364 | "trending_tracks_\(genre ?? "all")_\(timeRange.rawValue)_\(safeOffset)_\(safeLimit)"
365 | if !forceRefresh {
366 | if let cachedTracks: [Track] = await cacheManager.getCachedMetadata(forKey: cacheKey) {
| `- warning: non-sendable result type '[Track]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
367 | return cachedTracks
368 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Models/Track.swift:93:15: note: consider making struct 'Track' conform to the 'Sendable' protocol
91 |
92 | /// Represents a track on Audius
93 | public struct Track: Codable, Identifiable, Hashable {
| `- note: consider making struct 'Track' conform to the 'Sendable' protocol
94 | public let id: String
95 | public let title: String
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:418:54: warning: non-sendable result type 'Track?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
416 |
417 | if !forceRefresh {
418 | if let cachedTrack: Track = await cacheManager.getCachedMetadata(forKey: cacheKey) {
| `- warning: non-sendable result type 'Track?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
419 | return cachedTrack
420 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Models/Track.swift:93:15: note: consider making struct 'Track' conform to the 'Sendable' protocol
91 |
92 | /// Represents a track on Audius
93 | public struct Track: Codable, Identifiable, Hashable {
| `- note: consider making struct 'Track' conform to the 'Sendable' protocol
94 | public let id: String
95 | public let title: String
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:492:58: warning: non-sendable result type 'Track.User?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
490 |
491 | if !forceRefresh {
492 | if let cachedUser: Track.User = await cacheManager.getCachedMetadata(forKey: cacheKey) {
| `- warning: non-sendable result type 'Track.User?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
493 | return cachedUser
494 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Models/Track.swift:167:17: note: consider making struct 'User' conform to the 'Sendable' protocol
165 | }
166 |
167 | public struct User: Codable, Hashable, Identifiable {
| `- note: consider making struct 'User' conform to the 'Sendable' protocol
168 | public let id: String
169 | public let handle: String
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:527:57: warning: non-sendable result type '[Track]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
525 | let cacheKey = "user_tracks_\(userId)_\(safeOffset)_\(safeLimit)"
526 | if !forceRefresh {
527 | if let cachedTracks: [Track] = await cacheManager.getCachedMetadata(forKey: cacheKey) {
| `- warning: non-sendable result type '[Track]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
528 | return cachedTracks
529 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Models/Track.swift:93:15: note: consider making struct 'Track' conform to the 'Sendable' protocol
91 |
92 | /// Represents a track on Audius
93 | public struct Track: Codable, Identifiable, Hashable {
| `- note: consider making struct 'Track' conform to the 'Sendable' protocol
94 | public let id: String
95 | public let title: String
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:562:56: warning: non-sendable result type '[Track.User]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
560 | let cacheKey = "followers_\(userId)_\(safeOffset)_\(safeLimit)"
561 | if !forceRefresh {
562 | if let cached: [Track.User] = await cacheManager.getCachedMetadata(forKey: cacheKey) {
| `- warning: non-sendable result type '[Track.User]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
563 | return cached
564 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Models/Track.swift:167:17: note: consider making struct 'User' conform to the 'Sendable' protocol
165 | }
166 |
167 | public struct User: Codable, Hashable, Identifiable {
| `- note: consider making struct 'User' conform to the 'Sendable' protocol
168 | public let id: String
169 | public let handle: String
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:597:56: warning: non-sendable result type '[Track.User]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
595 | let cacheKey = "following_\(userId)_\(safeOffset)_\(safeLimit)"
596 | if !forceRefresh {
597 | if let cached: [Track.User] = await cacheManager.getCachedMetadata(forKey: cacheKey) {
| `- warning: non-sendable result type '[Track.User]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
598 | return cached
599 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Models/Track.swift:167:17: note: consider making struct 'User' conform to the 'Sendable' protocol
165 | }
166 |
167 | public struct User: Codable, Hashable, Identifiable {
| `- note: consider making struct 'User' conform to the 'Sendable' protocol
168 | public let id: String
169 | public let handle: String
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:626:56: warning: non-sendable result type '[Track.User]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
624 | let cacheKey = "supporters_\(userId)_\(safeOffset)_\(safeLimit)"
625 | if !forceRefresh {
626 | if let cached: [Track.User] = await cacheManager.getCachedMetadata(forKey: cacheKey) {
| `- warning: non-sendable result type '[Track.User]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
627 | return cached
628 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Models/Track.swift:167:17: note: consider making struct 'User' conform to the 'Sendable' protocol
165 | }
166 |
167 | public struct User: Codable, Hashable, Identifiable {
| `- note: consider making struct 'User' conform to the 'Sendable' protocol
168 | public let id: String
169 | public let handle: String
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:661:56: warning: non-sendable result type '[Track.User]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
659 | let cacheKey = "supporting_\(userId)_\(safeOffset)_\(safeLimit)"
660 | if !forceRefresh {
661 | if let cached: [Track.User] = await cacheManager.getCachedMetadata(forKey: cacheKey) {
| `- warning: non-sendable result type '[Track.User]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
662 | return cached
663 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Models/Track.swift:167:17: note: consider making struct 'User' conform to the 'Sendable' protocol
165 | }
166 |
167 | public struct User: Codable, Hashable, Identifiable {
| `- note: consider making struct 'User' conform to the 'Sendable' protocol
168 | public let id: String
169 | public let handle: String
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:690:56: warning: non-sendable result type '[Track.User]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
688 | let cacheKey = "mutuals_\(userId)_\(safeOffset)_\(safeLimit)"
689 | if !forceRefresh {
690 | if let cached: [Track.User] = await cacheManager.getCachedMetadata(forKey: cacheKey) {
| `- warning: non-sendable result type '[Track.User]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
691 | return cached
692 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Models/Track.swift:167:17: note: consider making struct 'User' conform to the 'Sendable' protocol
165 | }
166 |
167 | public struct User: Codable, Hashable, Identifiable {
| `- note: consider making struct 'User' conform to the 'Sendable' protocol
168 | public let id: String
169 | public let handle: String
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:719:51: warning: non-sendable result type '[Track]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
717 | let cacheKey = "playlists_\(userId)_\(safeOffset)_\(safeLimit)"
718 | if !forceRefresh {
719 | if let cached: [Track] = await cacheManager.getCachedMetadata(forKey: cacheKey) {
| `- warning: non-sendable result type '[Track]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
720 | return cached
721 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Models/Track.swift:93:15: note: consider making struct 'Track' conform to the 'Sendable' protocol
91 |
92 | /// Represents a track on Audius
93 | public struct Track: Codable, Identifiable, Hashable {
| `- note: consider making struct 'Track' conform to the 'Sendable' protocol
94 | public let id: String
95 | public let title: String
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:748:51: warning: non-sendable result type '[Track]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
746 | let cacheKey = "reposts_\(userId)_\(safeOffset)_\(safeLimit)"
747 | if !forceRefresh {
748 | if let cached: [Track] = await cacheManager.getCachedMetadata(forKey: cacheKey) {
| `- warning: non-sendable result type '[Track]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
749 | return cached
750 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Models/Track.swift:93:15: note: consider making struct 'Track' conform to the 'Sendable' protocol
91 |
92 | /// Represents a track on Audius
93 | public struct Track: Codable, Identifiable, Hashable {
| `- note: consider making struct 'Track' conform to the 'Sendable' protocol
94 | public let id: String
95 | public let title: String
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:882:54: warning: non-sendable result type '[Playlist]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
880 | let cacheKey = "playlists_bulk_\(ids.joined(separator: ","))"
881 | if !forceRefresh {
882 | if let cached: [Playlist] = await cacheManager.getCachedMetadata(forKey: cacheKey) {
| `- warning: non-sendable result type '[Playlist]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
883 | return cached
884 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Models/Responses.swift:31:15: note: consider making struct 'Playlist' conform to the 'Sendable' protocol
29 |
30 | /// Represents a playlist on Audius
31 | public struct Playlist: Codable, Identifiable, Hashable {
| `- note: consider making struct 'Playlist' conform to the 'Sendable' protocol
32 | public let id: String
33 | public let playlistName: String
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:904:52: warning: non-sendable result type 'Playlist?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
902 | let cacheKey = "playlist_permalink_\(handle)_\(slug)"
903 | if !forceRefresh {
904 | if let cached: Playlist = await cacheManager.getCachedMetadata(forKey: cacheKey) {
| `- warning: non-sendable result type 'Playlist?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
905 | return cached
906 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Models/Responses.swift:31:15: note: consider making struct 'Playlist' conform to the 'Sendable' protocol
29 |
30 | /// Represents a playlist on Audius
31 | public struct Playlist: Codable, Identifiable, Hashable {
| `- note: consider making struct 'Playlist' conform to the 'Sendable' protocol
32 | public let id: String
33 | public let playlistName: String
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:924:51: warning: non-sendable result type '[Track]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
922 | let cacheKey = "tracks_bulk_\(ids.joined(separator: ","))"
923 | if !forceRefresh {
924 | if let cached: [Track] = await cacheManager.getCachedMetadata(forKey: cacheKey) {
| `- warning: non-sendable result type '[Track]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
925 | return cached
926 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Models/Track.swift:93:15: note: consider making struct 'Track' conform to the 'Sendable' protocol
91 |
92 | /// Represents a track on Audius
93 | public struct Track: Codable, Identifiable, Hashable {
| `- note: consider making struct 'Track' conform to the 'Sendable' protocol
94 | public let id: String
95 | public let title: String
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:945:51: warning: non-sendable result type '[Track]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
943 | let cacheKey = "tracks_bulk_permalinks_\(permalinks.joined(separator: ","))"
944 | if !forceRefresh {
945 | if let cached: [Track] = await cacheManager.getCachedMetadata(forKey: cacheKey) {
| `- warning: non-sendable result type '[Track]?' cannot be sent from actor-isolated context in call to instance method 'getCachedMetadata(forKey:)'; this is an error in the Swift 6 language mode
946 | return cached
947 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Models/Track.swift:93:15: note: consider making struct 'Track' conform to the 'Sendable' protocol
91 |
92 | /// Represents a track on Audius
93 | public struct Track: Codable, Identifiable, Hashable {
| `- note: consider making struct 'Track' conform to the 'Sendable' protocol
94 | public let id: String
95 | public let title: String
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:385:24: warning: sending 'limitedTracks' risks causing data races; this is an error in the Swift 6 language mode
383 | let response: TracksResponse = try await fetch(url: url)
384 | let limitedTracks = Array(response.data.prefix(safeLimit))
385 | await cacheManager.cacheMetadata(limitedTracks, forKey: cacheKey)
| |- warning: sending 'limitedTracks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'limitedTracks' to actor-isolated instance method 'cacheMetadata(_:forKey:)' risks causing data races between actor-isolated and 'self'-isolated uses
386 | return limitedTracks
387 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:430:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
428 |
429 | // Cache the result
430 | await cacheManager.cacheMetadata(response.data, forKey: cacheKey)
| |- warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'response.data' to actor-isolated instance method 'cacheMetadata(_:forKey:)' risks causing data races between actor-isolated and 'self'-isolated uses
431 |
432 | return response.data
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:504:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
502 |
503 | // Cache the result
504 | await cacheManager.cacheMetadata(response.data, forKey: cacheKey)
| |- warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'response.data' to actor-isolated instance method 'cacheMetadata(_:forKey:)' risks causing data races between actor-isolated and 'self'-isolated uses
505 |
506 | return response.data
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:540:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
538 | logger.debug("Requesting user tracks from URL: \(url)")
539 | let response: TracksResponse = try await fetch(url: url)
540 | await cacheManager.cacheMetadata(response.data, forKey: cacheKey)
| |- warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'response.data' to actor-isolated instance method 'cacheMetadata(_:forKey:)' risks causing data races between actor-isolated and 'self'-isolated uses
541 | return response.data
542 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:575:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
573 | logger.debug("Requesting followers from URL: \(url)")
574 | let response: UsersResponse = try await fetch(url: url)
575 | await cacheManager.cacheMetadata(response.data, forKey: cacheKey)
| |- warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'response.data' to actor-isolated instance method 'cacheMetadata(_:forKey:)' risks causing data races between actor-isolated and 'self'-isolated uses
576 | return response.data
577 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:610:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
608 | logger.debug("Requesting following from URL: \(url)")
609 | let response: UsersResponse = try await fetch(url: url)
610 | await cacheManager.cacheMetadata(response.data, forKey: cacheKey)
| |- warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'response.data' to actor-isolated instance method 'cacheMetadata(_:forKey:)' risks causing data races between actor-isolated and 'self'-isolated uses
611 | return response.data
612 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:640:26: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
638 | do {
639 | let response: UsersResponse = try await fetch(url: url)
640 | await cacheManager.cacheMetadata(response.data, forKey: cacheKey)
| |- warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'response.data' to actor-isolated instance method 'cacheMetadata(_:forKey:)' risks causing data races between actor-isolated and 'self'-isolated uses
641 | return response.data
642 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:674:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
672 | logger.debug("Requesting supporting from URL: \(url)")
673 | let response: UsersResponse = try await fetch(url: url)
674 | await cacheManager.cacheMetadata(response.data, forKey: cacheKey)
| |- warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'response.data' to actor-isolated instance method 'cacheMetadata(_:forKey:)' risks causing data races between actor-isolated and 'self'-isolated uses
675 | return response.data
676 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:703:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
701 | logger.debug("Requesting mutuals from URL: \(url)")
702 | let response: UsersResponse = try await fetch(url: url)
703 | await cacheManager.cacheMetadata(response.data, forKey: cacheKey)
| |- warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'response.data' to actor-isolated instance method 'cacheMetadata(_:forKey:)' risks causing data races between actor-isolated and 'self'-isolated uses
704 | return response.data
705 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:732:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
730 | logger.debug("Requesting playlists from URL: \(url)")
731 | let response: TracksResponse = try await fetch(url: url)
732 | await cacheManager.cacheMetadata(response.data, forKey: cacheKey)
| |- warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'response.data' to actor-isolated instance method 'cacheMetadata(_:forKey:)' risks causing data races between actor-isolated and 'self'-isolated uses
733 | return response.data
734 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:762:26: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
760 | do {
761 | let response: TracksResponse = try await fetch(url: url)
762 | await cacheManager.cacheMetadata(response.data, forKey: cacheKey)
| |- warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'response.data' to actor-isolated instance method 'cacheMetadata(_:forKey:)' risks causing data races between actor-isolated and 'self'-isolated uses
763 | return response.data
764 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:890:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
888 | logger.debug("Requesting bulk playlists from URL: \(url)")
889 | let response: PlaylistsResponse = try await fetch(url: url)
890 | await cacheManager.cacheMetadata(response.data, forKey: cacheKey)
| |- warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'response.data' to actor-isolated instance method 'cacheMetadata(_:forKey:)' risks causing data races between actor-isolated and 'self'-isolated uses
891 | return response.data
892 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:912:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
910 | logger.debug("Requesting playlist by permalink from URL: \(url)")
911 | let response: PlaylistResponse = try await fetch(url: url)
912 | await cacheManager.cacheMetadata(response.data, forKey: cacheKey)
| |- warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'response.data' to actor-isolated instance method 'cacheMetadata(_:forKey:)' risks causing data races between actor-isolated and 'self'-isolated uses
913 | return response.data
914 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:932:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
930 | logger.debug("Requesting bulk tracks from URL: \(url)")
931 | let response: TracksResponse = try await fetch(url: url)
932 | await cacheManager.cacheMetadata(response.data, forKey: cacheKey)
| |- warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'response.data' to actor-isolated instance method 'cacheMetadata(_:forKey:)' risks causing data races between actor-isolated and 'self'-isolated uses
933 | return response.data
934 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:953:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
951 | logger.debug("Requesting bulk tracks by permalinks from URL: \(url)")
952 | let response: TracksResponse = try await fetch(url: url)
953 | await cacheManager.cacheMetadata(response.data, forKey: cacheKey)
| |- warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'response.data' to actor-isolated instance method 'cacheMetadata(_:forKey:)' risks causing data races between actor-isolated and 'self'-isolated uses
954 | return response.data
955 | }
[9/9] Compiling AudiusKit CacheManager.swift
Build complete! (9.16s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AudiusKit",
"name" : "AudiusKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "watchos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "AudiusKit",
"targets" : [
"AudiusKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AudiusKitTests",
"module_type" : "SwiftTarget",
"name" : "AudiusKitTests",
"path" : "Tests/AudiusKitTests",
"sources" : [
"AudiusAPIClientMockTests.swift",
"AudiusAPIClientTests.swift",
"CacheManagerTests.swift"
],
"target_dependencies" : [
"AudiusKit"
],
"type" : "test"
},
{
"c99name" : "AudiusKit",
"module_type" : "SwiftTarget",
"name" : "AudiusKit",
"path" : "Sources/AudiusKit",
"product_memberships" : [
"AudiusKit"
],
"sources" : [
"Errors/AudiusAPIError.swift",
"Models/ImageTypes.swift",
"Models/Responses.swift",
"Models/Track.swift",
"Networking/AudiusAPIClient.swift",
"Networking/CacheManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.