Build Information
Failed to build RSSwiftNetworking, reference main (c1a44b
), with Swift 6.0 for Linux on 3 Nov 2024 20:32:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
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-4609320-0":/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 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/29795] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (4.39s)
Computing version for https://github.com/Alamofire/Alamofire.git
warning: 'alamofire': /Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 | platforms: [.macOS(.v10_13),
30 | .iOS(.v12),
Computed https://github.com/Alamofire/Alamofire.git at 5.10.1 (0.90s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.1
warning: 'alamofire': /host/spi-builder-workspace/.build/checkouts/Alamofire/Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 | platforms: [.macOS(.v10_13),
30 | .iOS(.v12),
Building for debugging...
[0/5] Write sources
[0/5] Copying PrivacyInfo.xcprivacy
[0/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] 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 |
[8/69] 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 |
[9/69] 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 |
[10/69] Compiling RSSwiftNetworking RailsAPIEndpoint.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
[11/69] Compiling RSSwiftNetworking APIEndpoint.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
[12/69] 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
[13/69] Compiling RSSwiftNetworking HeaderProvider.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
[14/69] Compiling RSSwiftNetworking NetworkProvider.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
[15/69] Compiling RSSwiftNetworking BaseAPIClient.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
[16/69] Compiling RSSwiftNetworking MultipartMedia.swift
[17/69] Compiling RSSwiftNetworking APIClient.swift
[18/69] Compiling RSSwiftNetworking Cancellable.swift
[19/69] Compiling Alamofire NetworkReachabilityManager.swift
[20/69] Compiling Alamofire RedirectHandler.swift
[21/69] Compiling Alamofire RequestCompression.swift
[22/69] Compiling Alamofire RequestInterceptor.swift
[23/69] Compiling Alamofire ResponseSerialization.swift
[24/69] Compiling RSSwiftNetworking ParameterEncoding.swift
[25/69] Compiling RSSwiftNetworking RailsAPIHeadersProvider.swift
[26/69] Compiling RSSwiftNetworking Network.swift
[27/74] Compiling RSSwiftNetworking APIClient+Concurrency.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
[28/74] Compiling RSSwiftNetworking Data+Base64.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
[29/74] Compiling RSSwiftNetworking Endpoint+URLRequest.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
[30/74] Compiling RSSwiftNetworking APIClientError.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]]?
[31/74] Compiling RSSwiftNetworking APIError.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]]?
[32/74] Compiling RSSwiftNetworking ErrorDomain.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]]?
[33/74] Compiling RSSwiftNetworking JSONDecoder+DecodingConfiguration.swift
[34/74] Compiling RSSwiftNetworking String+File.swift
[35/74] Compiling RSSwiftNetworking Base64Media.swift
BUILD FAILURE 6.0 linux