Build Information
Successful build of AudiusKit, reference main (9dcd59
), with Swift 6.1 for macOS (SPM) on 6 Jul 2025 05:00:17 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/julianbaker/audiusKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9dcd59f Merge pull request #2 from julianbaker/codex/update-documentation-to-remove-audiuskitintents-references
Cloned https://github.com/julianbaker/audiusKit.git
Revision (git rev-parse @):
9dcd59ff71d0ed2bc9d642808cec7242e165d6f4
SUCCESS checkout https://github.com/julianbaker/audiusKit.git at main
========================================
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
[3/98] Fetching audiuskit
Fetched https://github.com/julianbaker/audiusKit.git from cache (0.80s)
Creating working copy for https://github.com/julianbaker/audiusKit.git
Working copy of https://github.com/julianbaker/audiusKit.git resolved at main (9dcd59f)
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 AudiusAPIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:373: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
371 | "trending_tracks_\(genre ?? "all")_\(timeRange.rawValue)_\(safeOffset)_\(safeLimit)"
372 | if !forceRefresh {
373 | 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
374 | return cachedTracks
375 | }
/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:425: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
423 |
424 | if !forceRefresh {
425 | 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
426 | return cachedTrack
427 | }
/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:499: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
497 |
498 | if !forceRefresh {
499 | 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
500 | return cachedUser
501 | }
/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:534: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
532 | let cacheKey = "user_tracks_\(userId)_\(safeOffset)_\(safeLimit)"
533 | if !forceRefresh {
534 | 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
535 | return cachedTracks
536 | }
/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:569: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
567 | let cacheKey = "followers_\(userId)_\(safeOffset)_\(safeLimit)"
568 | if !forceRefresh {
569 | 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
570 | return cached
571 | }
/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:604: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
602 | let cacheKey = "following_\(userId)_\(safeOffset)_\(safeLimit)"
603 | if !forceRefresh {
604 | 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
605 | return cached
606 | }
/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:633: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
631 | let cacheKey = "supporters_\(userId)_\(safeOffset)_\(safeLimit)"
632 | if !forceRefresh {
633 | 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
634 | return cached
635 | }
/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:668: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
666 | let cacheKey = "supporting_\(userId)_\(safeOffset)_\(safeLimit)"
667 | if !forceRefresh {
668 | 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
669 | return cached
670 | }
/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:697: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
695 | let cacheKey = "mutuals_\(userId)_\(safeOffset)_\(safeLimit)"
696 | if !forceRefresh {
697 | 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
698 | return cached
699 | }
/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:726: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
724 | let cacheKey = "playlists_\(userId)_\(safeOffset)_\(safeLimit)"
725 | if !forceRefresh {
726 | 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
727 | return cached
728 | }
/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:755: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
753 | let cacheKey = "reposts_\(userId)_\(safeOffset)_\(safeLimit)"
754 | if !forceRefresh {
755 | 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
756 | return cached
757 | }
/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:889: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
887 | let cacheKey = "playlists_bulk_\(ids.joined(separator: ","))"
888 | if !forceRefresh {
889 | 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
890 | return cached
891 | }
/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:911: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
909 | let cacheKey = "playlist_permalink_\(handle)_\(slug)"
910 | if !forceRefresh {
911 | 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
912 | return cached
913 | }
/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:931: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
929 | let cacheKey = "tracks_bulk_\(ids.joined(separator: ","))"
930 | if !forceRefresh {
931 | 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
932 | return cached
933 | }
/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:952: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
950 | let cacheKey = "tracks_bulk_permalinks_\(permalinks.joined(separator: ","))"
951 | if !forceRefresh {
952 | 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
953 | return cached
954 | }
/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:392:24: warning: sending 'limitedTracks' risks causing data races; this is an error in the Swift 6 language mode
390 | let response: TracksResponse = try await fetch(url: url)
391 | let limitedTracks = Array(response.data.prefix(safeLimit))
392 | 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
393 | return limitedTracks
394 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:437:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
435 |
436 | // Cache the result
437 | 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
438 |
439 | return response.data
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:511:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
509 |
510 | // Cache the result
511 | 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
512 |
513 | return response.data
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:547:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
545 | logger.debug("Requesting user tracks from URL: \(url)")
546 | let response: TracksResponse = try await fetch(url: url)
547 | 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
548 | return response.data
549 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:582:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
580 | logger.debug("Requesting followers from URL: \(url)")
581 | let response: UsersResponse = try await fetch(url: url)
582 | 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
583 | return response.data
584 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:617:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
615 | logger.debug("Requesting following from URL: \(url)")
616 | let response: UsersResponse = try await fetch(url: url)
617 | 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
618 | return response.data
619 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:647:26: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
645 | do {
646 | let response: UsersResponse = try await fetch(url: url)
647 | 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
648 | return response.data
649 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:681:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
679 | logger.debug("Requesting supporting from URL: \(url)")
680 | let response: UsersResponse = try await fetch(url: url)
681 | 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
682 | return response.data
683 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:710:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
708 | logger.debug("Requesting mutuals from URL: \(url)")
709 | let response: UsersResponse = try await fetch(url: url)
710 | 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
711 | return response.data
712 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:739:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
737 | logger.debug("Requesting playlists from URL: \(url)")
738 | let response: TracksResponse = try await fetch(url: url)
739 | 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
740 | return response.data
741 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:769:26: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
767 | do {
768 | let response: TracksResponse = try await fetch(url: url)
769 | 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
770 | return response.data
771 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:897:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
895 | logger.debug("Requesting bulk playlists from URL: \(url)")
896 | let response: PlaylistsResponse = try await fetch(url: url)
897 | 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
898 | return response.data
899 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:919:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
917 | logger.debug("Requesting playlist by permalink from URL: \(url)")
918 | let response: PlaylistResponse = try await fetch(url: url)
919 | 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
920 | return response.data
921 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:939:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
937 | logger.debug("Requesting bulk tracks from URL: \(url)")
938 | let response: TracksResponse = try await fetch(url: url)
939 | 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
940 | return response.data
941 | }
/Users/admin/builder/spi-builder-workspace/Sources/AudiusKit/Networking/AudiusAPIClient.swift:960:24: warning: sending 'response.data' risks causing data races; this is an error in the Swift 6 language mode
958 | logger.debug("Requesting bulk tracks by permalinks from URL: \(url)")
959 | let response: TracksResponse = try await fetch(url: url)
960 | 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
961 | return response.data
962 | }
[4/9] Compiling AudiusKit Track.swift
[5/9] Compiling AudiusKit CacheManager.swift
[6/9] Compiling AudiusKit Responses.swift
[7/9] Compiling AudiusKit AudiusAPIError.swift
[8/9] Compiling AudiusKit ImageTypes.swift
[9/9] Emitting module AudiusKit
Build complete! (9.02s)
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.