Build Information
Failed to build RSSwiftNetworking with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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.40.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: $workDir
https://github.com/rootstrap/RSSwiftNetworking.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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
Fetching https://github.com/Alamofire/Alamofire.git
[1/28780] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.70s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.6.2 (0.55s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.6.2
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/59] 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
[6/62] Emitting module Alamofire
[7/66] Compiling Alamofire MultipartFormData.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
[8/66] Compiling Alamofire MultipartUpload.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
[9/66] Compiling Alamofire NetworkReachabilityManager.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
[10/66] Compiling Alamofire AuthenticationInterceptor.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]]?
[11/66] Compiling Alamofire CachedResponseHandler.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]]?
[12/66] Compiling Alamofire HTTPMethod.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]]?
[13/66] Compiling Alamofire AFError.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
[14/66] Compiling Alamofire Alamofire.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
[15/66] Compiling Alamofire AlamofireExtended.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
[16/66] Compiling RSSwiftNetworking ParameterEncoding.swift
[17/66] Compiling RSSwiftNetworking RailsAPIHeadersProvider.swift
[18/66] Compiling RSSwiftNetworking Network.swift
[19/66] Compiling Alamofire Protected.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
[20/66] Compiling Alamofire RedirectHandler.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
[21/66] Compiling Alamofire ResponseSerialization.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
[22/66] Compiling Alamofire OperationQueue+Alamofire.swift
[23/66] Compiling Alamofire ParameterEncoder.swift
[24/66] Compiling Alamofire ParameterEncoding.swift
[25/66] Compiling Alamofire DispatchQueue+Alamofire.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/66] Compiling Alamofire EventMonitor.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/66] Compiling Alamofire HTTPHeaders.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 |
[28/66] Compiling Alamofire Notifications.swift
[29/66] Compiling Alamofire Combine.swift
[30/66] Compiling Alamofire Concurrency.swift
[41/66] Compiling Alamofire URLEncodedFormEncoder.swift
[42/66] Compiling Alamofire URLRequest+Alamofire.swift
[43/66] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[44/66] Compiling Alamofire Validation.swift
[45/66] Compiling Alamofire Session.swift
[46/66] Compiling Alamofire SessionDelegate.swift
[47/66] Compiling Alamofire StringEncoding+Alamofire.swift
[48/66] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[54/66] Compiling Alamofire Request.swift
[55/66] Compiling Alamofire RequestInterceptor.swift
[56/66] Compiling Alamofire RequestTaskMap.swift
[57/66] Compiling Alamofire Response.swift
BUILD FAILURE 6.0 linux