The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build LastFMKit, reference 1.0.0 (a78b06), with Swift 6.1 for Android on 13 Jul 2025 11:27:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guitaripod/LastFMKit.git
Reference: 1.0.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/guitaripod/LastFMKit
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at a78b061 Enhance DocC documentation for core components
Cloned https://github.com/guitaripod/LastFMKit.git
Revision (git rev-parse @):
a78b061a20c04db0f17307c956f4a749ce7717ce
SUCCESS checkout https://github.com/guitaripod/LastFMKit.git at 1.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/guitaripod/LastFMKit.git
https://github.com/guitaripod/LastFMKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "LastFMKit",
  "name" : "LastFMKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "LastFMKit",
      "targets" : [
        "LastFMKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "lastfm-cli",
      "targets" : [
        "LastFMCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LastFMKitTests",
      "module_type" : "SwiftTarget",
      "name" : "LastFMKitTests",
      "path" : "Tests/LastFMKitTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/LastFMKitTests/Resources/README.md",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "BasicTests.swift"
      ],
      "target_dependencies" : [
        "LastFMKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LastFMKit",
      "module_type" : "SwiftTarget",
      "name" : "LastFMKit",
      "path" : "Sources/LastFMKit",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "LastFMKit",
        "lastfm-cli"
      ],
      "sources" : [
        "API/AlbumAPI.swift",
        "API/ArtistAPI.swift",
        "API/AuthAPI.swift",
        "API/BaseAPI.swift",
        "API/ChartAPI.swift",
        "API/GeoAPI.swift",
        "API/LibraryAPI.swift",
        "API/TagAPI.swift",
        "API/TrackAPI.swift",
        "API/UserAPI.swift",
        "Core/Endpoint.swift",
        "Core/LastFMClient.swift",
        "Core/LastFMError.swift",
        "Core/NetworkClient.swift",
        "Models/Album.swift",
        "Models/Artist.swift",
        "Models/Auth.swift",
        "Models/Chart.swift",
        "Models/Common.swift",
        "Models/Geo.swift",
        "Models/Library.swift",
        "Models/Tag.swift",
        "Models/Track.swift",
        "Models/User.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LastFMCLI",
      "module_type" : "SwiftTarget",
      "name" : "LastFMCLI",
      "path" : "Sources/LastFMCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "lastfm-cli"
      ],
      "sources" : [
        "AlbumCommands.swift",
        "AuthCommands.swift",
        "ChartCommands.swift",
        "ConfigCommands.swift",
        "ConfigManager.swift",
        "GeoCommands.swift",
        "LastFMCLI.swift",
        "LibraryCommands.swift",
        "MyCommands.swift",
        "TagCommands.swift",
        "TrackCommands.swift",
        "UserCommands.swift"
      ],
      "target_dependencies" : [
        "LastFMKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
[1/2094] Fetching swift-docc-plugin
[232/5948] Fetching swift-docc-plugin, swift-log
[5702/21472] Fetching swift-docc-plugin, swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-log from cache (0.73s)
[14669/17618] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin from cache (0.99s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.99s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (5.43s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3425] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.54s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.03s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.61s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.48s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/17] Write sources
[9/17] Write swift-version-24593BA9C3E375BF.txt
[11/24] Emitting module ArgumentParserToolInfo
[12/24] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/25] Wrapping AST for ArgumentParserToolInfo for debugging
[15/69] Emitting module ArgumentParser
[16/75] Compiling Logging MetadataProvider.swift
[17/75] Emitting module Logging
[18/75] Compiling Logging Locks.swift
[19/75] Compiling Logging LogHandler.swift
[20/75] Compiling Logging Logging.swift
[22/76] Compiling ArgumentParser Tree.swift
[23/76] Compiling ArgumentParser CodingKeyValidator.swift
[24/76] Compiling ArgumentParser NonsenseFlagsValidator.swift
[25/76] Compiling ArgumentParser ParsableArgumentsValidation.swift
[26/76] Compiling ArgumentParser PositionalArgumentsValidator.swift
[27/76] Compiling ArgumentParser UniqueNamesValidator.swift
[27/76] Wrapping AST for Logging for debugging
[29/98] Compiling LastFMKit LibraryAPI.swift
[30/98] Compiling LastFMKit TagAPI.swift
[31/98] Compiling LastFMKit TrackAPI.swift
[32/98] Compiling LastFMKit UserAPI.swift
[33/98] Compiling LastFMKit Endpoint.swift
[34/98] Compiling LastFMKit LastFMClient.swift
[35/98] Compiling LastFMKit Common.swift
[36/98] Compiling LastFMKit ChartAPI.swift
[37/98] Compiling LastFMKit GeoAPI.swift
[38/98] Compiling ArgumentParser Name.swift
[39/98] Compiling ArgumentParser Parsed.swift
[40/98] Compiling ArgumentParser ParsedValues.swift
[41/98] Compiling ArgumentParser ParserError.swift
[42/98] Compiling LastFMKit Geo.swift
[43/98] Compiling LastFMKit Library.swift
[44/98] Compiling LastFMKit AlbumAPI.swift
[45/98] Compiling LastFMKit ArtistAPI.swift
[46/98] Compiling LastFMKit AuthAPI.swift
[47/98] Compiling LastFMKit LastFMError.swift
[48/98] Compiling ArgumentParser OptionGroup.swift
[49/98] Compiling ArgumentParser AsyncParsableCommand.swift
[50/98] Compiling ArgumentParser CommandConfiguration.swift
[51/98] Compiling ArgumentParser CommandGroup.swift
[52/98] Compiling ArgumentParser EnumerableFlag.swift
[53/98] Compiling ArgumentParser ExpressibleByArgument.swift
[54/98] Compiling LastFMKit NetworkClient.swift
[55/98] Compiling LastFMKit Album.swift
[56/98] Compiling LastFMKit Artist.swift
[57/98] Compiling LastFMKit Auth.swift
[58/98] Compiling LastFMKit Chart.swift
[59/98] Compiling LastFMKit BaseAPI.swift
[60/98] Compiling ArgumentParser ParsableArguments.swift
[61/98] Compiling ArgumentParser ParsableCommand.swift
[62/98] Compiling ArgumentParser ArgumentDecoder.swift
[63/98] Compiling ArgumentParser ArgumentDefinition.swift
[64/98] Compiling ArgumentParser ArgumentSet.swift
[65/98] Compiling ArgumentParser CommandParser.swift
[66/98] Compiling ArgumentParser ArgumentVisibility.swift
[67/98] Compiling ArgumentParser CompletionKind.swift
[68/98] Compiling ArgumentParser Errors.swift
[69/98] Compiling ArgumentParser Flag.swift
[70/98] Compiling ArgumentParser NameSpecification.swift
[71/98] Compiling ArgumentParser Option.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/98] Emitting module LastFMKit
/host/spi-builder-workspace/Sources/LastFMKit/Core/LastFMClient.swift:240:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
203 | /// let client = LastFMClient(configuration: configuration)
204 | /// ```
205 | public struct ClientConfiguration {
    |               `- note: consider making struct 'ClientConfiguration' conform to the 'Sendable' protocol
206 |     /// The base URL for API requests.
207 |     /// Default: `https://lastfm-proxy-worker.guitaripod.workers.dev`
    :
238 |     /// - Timeout: 30 seconds
239 |     /// - Retry Policy: Exponential backoff with 3 retries
240 |     public static let `default` = ClientConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | }
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:31:17: warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'request'; this is an error in the Swift 6 language mode
 29 |     }
 30 |
 31 |     public func request<T: Decodable>(_ endpoint: Endpoint) async throws -> T {
    |                 |       `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
    |                 `- warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'request'; this is an error in the Swift 6 language mode
 32 |         let data = try await request(endpoint)
 33 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:31:17: warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 29 |     }
 30 |
 31 |     public func request<T: Decodable>(_ endpoint: Endpoint) async throws -> T {
    |                 `- warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 32 |         let data = try await request(endpoint)
 33 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/Endpoint.swift:3:15: note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public struct Endpoint {
   |               `- note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 4 |     public let path: String
 5 |     public let method: HTTPMethod
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:46:17: warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 44 |     }
 45 |
 46 |     public func request(_ endpoint: Endpoint) async throws -> Data {
    |                 `- warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 47 |         guard let url = endpoint.url else {
 48 |             throw LastFMError.invalidURL
/host/spi-builder-workspace/Sources/LastFMKit/Core/Endpoint.swift:3:15: note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public struct Endpoint {
   |               `- note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 4 |     public let path: String
 5 |     public let method: HTTPMethod
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:171:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NetworkConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
160 | }
161 |
162 | public struct NetworkConfiguration {
    |               `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
163 |     public let timeout: TimeInterval
164 |     public let retryPolicy: RetryPolicy
    :
169 |     }
170 |
171 |     public static let `default` = NetworkConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NetworkConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 | }
173 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:24:23: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 22 |         sessionConfig.timeoutIntervalForResource = configuration.timeout * 2
 23 |         #if !os(Linux)
 24 |         sessionConfig.waitsForConnectivity = true
    |                       `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 25 |         #endif
 26 |
[73/102] Wrapping AST for ArgumentParser for debugging
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:31:17: warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'request'; this is an error in the Swift 6 language mode
 29 |     }
 30 |
 31 |     public func request<T: Decodable>(_ endpoint: Endpoint) async throws -> T {
    |                 |       `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
    |                 `- warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'request'; this is an error in the Swift 6 language mode
 32 |         let data = try await request(endpoint)
 33 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:31:17: warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 29 |     }
 30 |
 31 |     public func request<T: Decodable>(_ endpoint: Endpoint) async throws -> T {
    |                 `- warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 32 |         let data = try await request(endpoint)
 33 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/Endpoint.swift:3:15: note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public struct Endpoint {
   |               `- note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 4 |     public let path: String
 5 |     public let method: HTTPMethod
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:46:17: warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 44 |     }
 45 |
 46 |     public func request(_ endpoint: Endpoint) async throws -> Data {
    |                 `- warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 47 |         guard let url = endpoint.url else {
 48 |             throw LastFMError.invalidURL
/host/spi-builder-workspace/Sources/LastFMKit/Core/Endpoint.swift:3:15: note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public struct Endpoint {
   |               `- note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 4 |     public let path: String
 5 |     public let method: HTTPMethod
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:171:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NetworkConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
160 | }
161 |
162 | public struct NetworkConfiguration {
    |               `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
163 |     public let timeout: TimeInterval
164 |     public let retryPolicy: RetryPolicy
    :
169 |     }
170 |
171 |     public static let `default` = NetworkConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NetworkConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 | }
173 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:24:23: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 22 |         sessionConfig.timeoutIntervalForResource = configuration.timeout * 2
 23 |         #if !os(Linux)
 24 |         sessionConfig.waitsForConnectivity = true
    |                       `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 25 |         #endif
 26 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:31:17: warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'request'; this is an error in the Swift 6 language mode
 29 |     }
 30 |
 31 |     public func request<T: Decodable>(_ endpoint: Endpoint) async throws -> T {
    |                 |       `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
    |                 `- warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'request'; this is an error in the Swift 6 language mode
 32 |         let data = try await request(endpoint)
 33 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:31:17: warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 29 |     }
 30 |
 31 |     public func request<T: Decodable>(_ endpoint: Endpoint) async throws -> T {
    |                 `- warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 32 |         let data = try await request(endpoint)
 33 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/Endpoint.swift:3:15: note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public struct Endpoint {
   |               `- note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 4 |     public let path: String
 5 |     public let method: HTTPMethod
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:46:17: warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 44 |     }
 45 |
 46 |     public func request(_ endpoint: Endpoint) async throws -> Data {
    |                 `- warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 47 |         guard let url = endpoint.url else {
 48 |             throw LastFMError.invalidURL
/host/spi-builder-workspace/Sources/LastFMKit/Core/Endpoint.swift:3:15: note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public struct Endpoint {
   |               `- note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 4 |     public let path: String
 5 |     public let method: HTTPMethod
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:171:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NetworkConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
160 | }
161 |
162 | public struct NetworkConfiguration {
    |               `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
163 |     public let timeout: TimeInterval
164 |     public let retryPolicy: RetryPolicy
    :
169 |     }
170 |
171 |     public static let `default` = NetworkConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NetworkConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 | }
173 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:24:23: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 22 |         sessionConfig.timeoutIntervalForResource = configuration.timeout * 2
 23 |         #if !os(Linux)
 24 |         sessionConfig.waitsForConnectivity = true
    |                       `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 25 |         #endif
 26 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:31:17: warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'request'; this is an error in the Swift 6 language mode
 29 |     }
 30 |
 31 |     public func request<T: Decodable>(_ endpoint: Endpoint) async throws -> T {
    |                 |       `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
    |                 `- warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'request'; this is an error in the Swift 6 language mode
 32 |         let data = try await request(endpoint)
 33 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:31:17: warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 29 |     }
 30 |
 31 |     public func request<T: Decodable>(_ endpoint: Endpoint) async throws -> T {
    |                 `- warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 32 |         let data = try await request(endpoint)
 33 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/Endpoint.swift:3:15: note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public struct Endpoint {
   |               `- note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 4 |     public let path: String
 5 |     public let method: HTTPMethod
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:46:17: warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 44 |     }
 45 |
 46 |     public func request(_ endpoint: Endpoint) async throws -> Data {
    |                 `- warning: non-sendable parameter type 'Endpoint' cannot be sent from caller of protocol requirement 'request' into actor-isolated implementation; this is an error in the Swift 6 language mode
 47 |         guard let url = endpoint.url else {
 48 |             throw LastFMError.invalidURL
/host/spi-builder-workspace/Sources/LastFMKit/Core/Endpoint.swift:3:15: note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | public struct Endpoint {
   |               `- note: consider making struct 'Endpoint' conform to the 'Sendable' protocol
 4 |     public let path: String
 5 |     public let method: HTTPMethod
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:171:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NetworkConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
160 | }
161 |
162 | public struct NetworkConfiguration {
    |               `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
163 |     public let timeout: TimeInterval
164 |     public let retryPolicy: RetryPolicy
    :
169 |     }
170 |
171 |     public static let `default` = NetworkConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NetworkConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 | }
173 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:24:23: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 22 |         sessionConfig.timeoutIntervalForResource = configuration.timeout * 2
 23 |         #if !os(Linux)
 24 |         sessionConfig.waitsForConnectivity = true
    |                       `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 25 |         #endif
 26 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/LastFMClient.swift:240:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
203 | /// let client = LastFMClient(configuration: configuration)
204 | /// ```
205 | public struct ClientConfiguration {
    |               `- note: consider making struct 'ClientConfiguration' conform to the 'Sendable' protocol
206 |     /// The base URL for API requests.
207 |     /// Default: `https://lastfm-proxy-worker.guitaripod.workers.dev`
    :
238 |     /// - Timeout: 30 seconds
239 |     /// - Retry Policy: Exponential backoff with 3 retries
240 |     public static let `default` = ClientConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | }
/host/spi-builder-workspace/Sources/LastFMKit/Core/LastFMClient.swift:156:29: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
154 |
155 |         let configuration = NetworkConfiguration(timeout: timeout, retryPolicy: retryPolicy)
156 |         let networkClient = NetworkClient(configuration: configuration)
    |                             |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: sending task-isolated 'configuration' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
157 |         self.networkClient = networkClient
158 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/LastFMClient.swift:240:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
203 | /// let client = LastFMClient(configuration: configuration)
204 | /// ```
205 | public struct ClientConfiguration {
    |               `- note: consider making struct 'ClientConfiguration' conform to the 'Sendable' protocol
206 |     /// The base URL for API requests.
207 |     /// Default: `https://lastfm-proxy-worker.guitaripod.workers.dev`
    :
238 |     /// - Timeout: 30 seconds
239 |     /// - Retry Policy: Exponential backoff with 3 retries
240 |     public static let `default` = ClientConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | }
/host/spi-builder-workspace/Sources/LastFMKit/Core/LastFMClient.swift:156:29: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
154 |
155 |         let configuration = NetworkConfiguration(timeout: timeout, retryPolicy: retryPolicy)
156 |         let networkClient = NetworkClient(configuration: configuration)
    |                             |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: sending task-isolated 'configuration' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
157 |         self.networkClient = networkClient
158 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/LastFMClient.swift:240:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
203 | /// let client = LastFMClient(configuration: configuration)
204 | /// ```
205 | public struct ClientConfiguration {
    |               `- note: consider making struct 'ClientConfiguration' conform to the 'Sendable' protocol
206 |     /// The base URL for API requests.
207 |     /// Default: `https://lastfm-proxy-worker.guitaripod.workers.dev`
    :
238 |     /// - Timeout: 30 seconds
239 |     /// - Retry Policy: Exponential backoff with 3 retries
240 |     public static let `default` = ClientConfiguration()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ClientConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | }
/host/spi-builder-workspace/Sources/LastFMKit/Core/LastFMClient.swift:156:29: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
154 |
155 |         let configuration = NetworkConfiguration(timeout: timeout, retryPolicy: retryPolicy)
156 |         let networkClient = NetworkClient(configuration: configuration)
    |                             |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: sending task-isolated 'configuration' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
157 |         self.networkClient = networkClient
158 |
[96/102] Compiling LastFMKit Tag.swift
[97/102] Compiling LastFMKit Track.swift
[98/102] Compiling LastFMKit User.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/12] Write swift-version-24593BA9C3E375BF.txt
[6/19] Emitting module ArgumentParserToolInfo
[7/19] Compiling Logging MetadataProvider.swift
[8/19] Compiling Logging LogHandler.swift
[9/19] Compiling Logging Locks.swift
[10/19] Emitting module Logging
[11/19] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/20] Compiling Logging Logging.swift
[14/20] Wrapping AST for Logging for debugging
[16/86] Compiling ArgumentParser ArgumentVisibility.swift
[17/86] Compiling ArgumentParser CompletionKind.swift
[18/86] Compiling ArgumentParser Errors.swift
[19/86] Compiling ArgumentParser Flag.swift
[20/86] Compiling ArgumentParser NameSpecification.swift
[21/86] Compiling ArgumentParser Option.swift
[22/86] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/86] Compiling ArgumentParser CompletionsGenerator.swift
[24/86] Compiling ArgumentParser FishCompletionsGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/89] Emitting module LastFMKit
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:24:23: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 22 |         sessionConfig.timeoutIntervalForResource = configuration.timeout * 2
 23 |         #if !os(Linux)
 24 |         sessionConfig.waitsForConnectivity = true
    |                       `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 25 |         #endif
 26 |
[26/89] Emitting module ArgumentParser
[27/95] Compiling ArgumentParser OptionGroup.swift
[28/95] Compiling ArgumentParser AsyncParsableCommand.swift
[29/95] Compiling ArgumentParser CommandConfiguration.swift
[30/95] Compiling ArgumentParser CommandGroup.swift
[31/95] Compiling ArgumentParser EnumerableFlag.swift
[32/95] Compiling ArgumentParser ExpressibleByArgument.swift
[33/95] Compiling ArgumentParser CollectionExtensions.swift
[34/95] Compiling ArgumentParser Mutex.swift
[35/95] Compiling ArgumentParser Platform.swift
[36/95] Compiling ArgumentParser SequenceExtensions.swift
[37/95] Compiling ArgumentParser StringExtensions.swift
[38/95] Compiling ArgumentParser SwiftExtensions.swift
[39/95] Compiling ArgumentParser ArgumentHelp.swift
[42/95] Compiling ArgumentParser Tree.swift
[43/95] Compiling ArgumentParser CodingKeyValidator.swift
[44/95] Compiling ArgumentParser NonsenseFlagsValidator.swift
[45/95] Compiling ArgumentParser ParsableArgumentsValidation.swift
[46/95] Compiling ArgumentParser PositionalArgumentsValidator.swift
[47/95] Compiling ArgumentParser UniqueNamesValidator.swift
[57/95] Compiling ArgumentParser ZshCompletionsGenerator.swift
[58/95] Compiling ArgumentParser Argument.swift
[59/95] Compiling ArgumentParser ArgumentDiscussion.swift
[61/95] Compiling ArgumentParser InputKey.swift
[62/95] Compiling ArgumentParser InputOrigin.swift
[63/95] Compiling ArgumentParser Name.swift
[64/95] Compiling ArgumentParser Parsed.swift
[65/95] Compiling ArgumentParser ParsedValues.swift
[66/95] Compiling ArgumentParser ParserError.swift
[67/95] Compiling ArgumentParser SplitArguments.swift
[68/95] Compiling ArgumentParser DumpHelpGenerator.swift
[69/95] Compiling LastFMKit Tag.swift
[70/95] Compiling LastFMKit Track.swift
[71/95] Compiling LastFMKit User.swift
[72/95] Compiling ArgumentParser UsageGenerator.swift
[73/95] Compiling ArgumentParser ParsableArguments.swift
[74/95] Compiling ArgumentParser ParsableCommand.swift
[75/95] Compiling ArgumentParser ArgumentDecoder.swift
[76/95] Compiling ArgumentParser ArgumentDefinition.swift
[77/95] Compiling ArgumentParser ArgumentSet.swift
[78/95] Compiling ArgumentParser CommandParser.swift
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:24:23: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 22 |         sessionConfig.timeoutIntervalForResource = configuration.timeout * 2
 23 |         #if !os(Linux)
 24 |         sessionConfig.waitsForConnectivity = true
    |                       `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 25 |         #endif
 26 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:24:23: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 22 |         sessionConfig.timeoutIntervalForResource = configuration.timeout * 2
 23 |         #if !os(Linux)
 24 |         sessionConfig.waitsForConnectivity = true
    |                       `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 25 |         #endif
 26 |
/host/spi-builder-workspace/Sources/LastFMKit/Core/NetworkClient.swift:24:23: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 22 |         sessionConfig.timeoutIntervalForResource = configuration.timeout * 2
 23 |         #if !os(Linux)
 24 |         sessionConfig.waitsForConnectivity = true
    |                       `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 25 |         #endif
 26 |
BUILD FAILURE 6.1 android