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 RSSwiftNetworking, reference main (c1a44b), with Swift 6.0 for Linux on 30 Nov 2024 05:20:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rootstrap/RSSwiftNetworking.git
Reference: main
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/rootstrap/RSSwiftNetworking
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c1a44b6 Merge pull request #17 from rootstrap/refactor/version-number-fix
Cloned https://github.com/rootstrap/RSSwiftNetworking.git
Revision (git rev-parse @):
c1a44b60c4e949092629948158a2b27472a5e0be
SUCCESS checkout https://github.com/rootstrap/RSSwiftNetworking.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/rootstrap/RSSwiftNetworking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Alamofire/Alamofire.git
[1/30017] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (5.16s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.93s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Building for debugging...
[0/5] Write sources
[0/5] Copying PrivacyInfo.xcprivacy
[3/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/66] Emitting module RSSwiftNetworking
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Errors/APIError.swift:7:14: warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 5 | public struct APIError: LocalizedError {
 6 |   public let statusCode: Int
 7 |   public let underlayingError: RailsError
   |              `- warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 8 |
 9 |   public init?(
   :
49 |
50 | /// A structure that represents a Ruby on Rails API error object
51 | public struct RailsError: Decodable {
   |               `- note: consider making struct 'RailsError' conform to the 'Sendable' protocol
52 |
53 |   public let errors: [String: [String]]?
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:14:21: error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Returns a `URLRequest` object to be executed in a `URLSessionTask`
14 |     var urlRequest: URLRequest {
   |                     `- error: cannot find type 'URLRequest' in scope
15 |         var request = URLRequest(url: requestURL)
16 |         request.httpMethod = method.name
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/EncodingConfiguration.swift:5:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Gives an opportunity to define custom encoding for network requests
4 | public struct EncodingConfiguration {
  |               `- note: consider making struct 'EncodingConfiguration' conform to the 'Sendable' protocol
5 |   public static let `default` = EncodingConfiguration()
  |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
  |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/DecodingConfiguration.swift:6:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A decoding configuration object used in the request chain
 4 | public struct DecodingConfiguration {
   |               `- note: consider making struct 'DecodingConfiguration' conform to the 'Sendable' protocol
 5 |
 6 |   public static let `default` = DecodingConfiguration()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |   let dateStrategy: JSONDecoder.DateDecodingStrategy
[7/69] Emitting module Alamofire
[8/74] Compiling RSSwiftNetworking HeaderProvider.swift
[9/74] Compiling RSSwiftNetworking NetworkProvider.swift
[10/74] Compiling RSSwiftNetworking BaseAPIClient.swift
[11/74] Compiling RSSwiftNetworking RailsAPIEndpoint.swift
[12/74] Compiling RSSwiftNetworking APIEndpoint.swift
[13/74] Compiling Alamofire Combine.swift
[14/74] Compiling Alamofire Concurrency.swift
[15/74] Compiling Alamofire EventMonitor.swift
[16/74] Compiling Alamofire MultipartFormData.swift
[17/74] Compiling Alamofire MultipartUpload.swift
[18/74] Compiling Alamofire ParameterEncoding.swift
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Errors/APIError.swift:7:14: warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 5 | public struct APIError: LocalizedError {
 6 |   public let statusCode: Int
 7 |   public let underlayingError: RailsError
   |              `- warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 8 |
 9 |   public init?(
   :
49 |
50 | /// A structure that represents a Ruby on Rails API error object
51 | public struct RailsError: Decodable {
   |               `- note: consider making struct 'RailsError' conform to the 'Sendable' protocol
52 |
53 |   public let errors: [String: [String]]?
[19/74] Compiling Alamofire Protected.swift
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Errors/APIError.swift:7:14: warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 5 | public struct APIError: LocalizedError {
 6 |   public let statusCode: Int
 7 |   public let underlayingError: RailsError
   |              `- warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 8 |
 9 |   public init?(
   :
49 |
50 | /// A structure that represents a Ruby on Rails API error object
51 | public struct RailsError: Decodable {
   |               `- note: consider making struct 'RailsError' conform to the 'Sendable' protocol
52 |
53 |   public let errors: [String: [String]]?
[20/74] Compiling Alamofire Request.swift
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Errors/APIError.swift:7:14: warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 5 | public struct APIError: LocalizedError {
 6 |   public let statusCode: Int
 7 |   public let underlayingError: RailsError
   |              `- warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 8 |
 9 |   public init?(
   :
49 |
50 | /// A structure that represents a Ruby on Rails API error object
51 | public struct RailsError: Decodable {
   |               `- note: consider making struct 'RailsError' conform to the 'Sendable' protocol
52 |
53 |   public let errors: [String: [String]]?
[21/74] Compiling Alamofire HTTPMethod.swift
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:14:21: error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Returns a `URLRequest` object to be executed in a `URLSessionTask`
14 |     var urlRequest: URLRequest {
   |                     `- error: cannot find type 'URLRequest' in scope
15 |         var request = URLRequest(url: requestURL)
16 |         request.httpMethod = method.name
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:15:23: error: cannot find 'URLRequest' in scope
13 |     /// Returns a `URLRequest` object to be executed in a `URLSessionTask`
14 |     var urlRequest: URLRequest {
15 |         var request = URLRequest(url: requestURL)
   |                       `- error: cannot find 'URLRequest' in scope
16 |         request.httpMethod = method.name
17 |         request.allHTTPHeaderFields = headers
[22/74] Compiling Alamofire Notifications.swift
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:14:21: error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Returns a `URLRequest` object to be executed in a `URLSessionTask`
14 |     var urlRequest: URLRequest {
   |                     `- error: cannot find type 'URLRequest' in scope
15 |         var request = URLRequest(url: requestURL)
16 |         request.httpMethod = method.name
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:15:23: error: cannot find 'URLRequest' in scope
13 |     /// Returns a `URLRequest` object to be executed in a `URLSessionTask`
14 |     var urlRequest: URLRequest {
15 |         var request = URLRequest(url: requestURL)
   |                       `- error: cannot find 'URLRequest' in scope
16 |         request.httpMethod = method.name
17 |         request.allHTTPHeaderFields = headers
[23/74] Compiling Alamofire ParameterEncoder.swift
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:14:21: error: cannot find type 'URLRequest' in scope
12 |
13 |     /// Returns a `URLRequest` object to be executed in a `URLSessionTask`
14 |     var urlRequest: URLRequest {
   |                     `- error: cannot find type 'URLRequest' in scope
15 |         var request = URLRequest(url: requestURL)
16 |         request.httpMethod = method.name
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:15:23: error: cannot find 'URLRequest' in scope
13 |     /// Returns a `URLRequest` object to be executed in a `URLSessionTask`
14 |     var urlRequest: URLRequest {
15 |         var request = URLRequest(url: requestURL)
   |                       `- error: cannot find 'URLRequest' in scope
16 |         request.httpMethod = method.name
17 |         request.allHTTPHeaderFields = headers
[24/74] Compiling RSSwiftNetworking EncodingConfiguration.swift
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/EncodingConfiguration.swift:5:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Gives an opportunity to define custom encoding for network requests
4 | public struct EncodingConfiguration {
  |               `- note: consider making struct 'EncodingConfiguration' conform to the 'Sendable' protocol
5 |   public static let `default` = EncodingConfiguration()
  |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
  |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
[25/74] Compiling RSSwiftNetworking Endpoint.swift
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/EncodingConfiguration.swift:5:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Gives an opportunity to define custom encoding for network requests
4 | public struct EncodingConfiguration {
  |               `- note: consider making struct 'EncodingConfiguration' conform to the 'Sendable' protocol
5 |   public static let `default` = EncodingConfiguration()
  |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
  |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
[26/74] Compiling RSSwiftNetworking HTTPHeader.swift
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/EncodingConfiguration.swift:5:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Gives an opportunity to define custom encoding for network requests
4 | public struct EncodingConfiguration {
  |               `- note: consider making struct 'EncodingConfiguration' conform to the 'Sendable' protocol
5 |   public static let `default` = EncodingConfiguration()
  |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
  |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
[27/74] Compiling RSSwiftNetworking ParameterEncoding.swift
[28/74] Compiling RSSwiftNetworking RailsAPIHeadersProvider.swift
[29/74] Compiling RSSwiftNetworking Network.swift
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/DecodingConfiguration.swift:6:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A decoding configuration object used in the request chain
 4 | public struct DecodingConfiguration {
   |               `- note: consider making struct 'DecodingConfiguration' conform to the 'Sendable' protocol
 5 |
 6 |   public static let `default` = DecodingConfiguration()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |   let dateStrategy: JSONDecoder.DateDecodingStrategy
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/DecodingConfiguration.swift:6:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A decoding configuration object used in the request chain
 4 | public struct DecodingConfiguration {
   |               `- note: consider making struct 'DecodingConfiguration' conform to the 'Sendable' protocol
 5 |
 6 |   public static let `default` = DecodingConfiguration()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |   let dateStrategy: JSONDecoder.DateDecodingStrategy
[32/74] Compiling RSSwiftNetworking DecodingConfiguration.swift
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/DecodingConfiguration.swift:6:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A decoding configuration object used in the request chain
 4 | public struct DecodingConfiguration {
   |               `- note: consider making struct 'DecodingConfiguration' conform to the 'Sendable' protocol
 5 |
 6 |   public static let `default` = DecodingConfiguration()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |   let dateStrategy: JSONDecoder.DateDecodingStrategy
[33/74] Compiling Alamofire NetworkReachabilityManager.swift
[34/74] Compiling Alamofire RedirectHandler.swift
[35/74] Compiling Alamofire RequestCompression.swift
[36/74] Compiling Alamofire RequestInterceptor.swift
[37/74] Compiling Alamofire ResponseSerialization.swift
[38/74] Compiling RSSwiftNetworking JSONDecoder+DecodingConfiguration.swift
[39/74] Compiling RSSwiftNetworking String+File.swift
[40/74] Compiling Alamofire UploadRequest.swift
[41/74] Compiling Alamofire RequestTaskMap.swift
[42/74] Compiling Alamofire Response.swift
[43/74] Compiling Alamofire Session.swift
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/EncodingConfiguration.swift:5:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Gives an opportunity to define custom encoding for network requests
4 | public struct EncodingConfiguration {
  |               `- note: consider making struct 'EncodingConfiguration' conform to the 'Sendable' protocol
5 |   public static let `default` = EncodingConfiguration()
  |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
  |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/DecodingConfiguration.swift:6:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A decoding configuration object used in the request chain
 4 | public struct DecodingConfiguration {
   |               `- note: consider making struct 'DecodingConfiguration' conform to the 'Sendable' protocol
 5 |
 6 |   public static let `default` = DecodingConfiguration()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |   let dateStrategy: JSONDecoder.DateDecodingStrategy
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/EncodingConfiguration.swift:5:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Gives an opportunity to define custom encoding for network requests
4 | public struct EncodingConfiguration {
  |               `- note: consider making struct 'EncodingConfiguration' conform to the 'Sendable' protocol
5 |   public static let `default` = EncodingConfiguration()
  |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
  |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/DecodingConfiguration.swift:6:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A decoding configuration object used in the request chain
 4 | public struct DecodingConfiguration {
   |               `- note: consider making struct 'DecodingConfiguration' conform to the 'Sendable' protocol
 5 |
 6 |   public static let `default` = DecodingConfiguration()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |   let dateStrategy: JSONDecoder.DateDecodingStrategy
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/EncodingConfiguration.swift:5:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Gives an opportunity to define custom encoding for network requests
4 | public struct EncodingConfiguration {
  |               `- note: consider making struct 'EncodingConfiguration' conform to the 'Sendable' protocol
5 |   public static let `default` = EncodingConfiguration()
  |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
  |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/DecodingConfiguration.swift:6:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A decoding configuration object used in the request chain
 4 | public struct DecodingConfiguration {
   |               `- note: consider making struct 'DecodingConfiguration' conform to the 'Sendable' protocol
 5 |
 6 |   public static let `default` = DecodingConfiguration()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |   let dateStrategy: JSONDecoder.DateDecodingStrategy
[60/74] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[61/74] Compiling Alamofire AlamofireExtended.swift
[62/74] Compiling Alamofire AuthenticationInterceptor.swift
[63/74] Compiling Alamofire CachedResponseHandler.swift
[64/74] Compiling Alamofire RetryPolicy.swift
[65/74] Compiling Alamofire ServerTrustEvaluation.swift
[66/74] Compiling Alamofire URLEncodedFormEncoder.swift
[67/74] Compiling Alamofire Validation.swift
[68/74] Compiling Alamofire resource_bundle_accessor.swift
BUILD FAILURE 6.0 linux