Build Information
Successful build of StubNetworkKit, reference main (6bb203
), with Swift 5.9 for Linux on 17 Nov 2024 19:45:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/417-72KI/StubNetworkKit.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/417-72KI/StubNetworkKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6bb2039 Merge pull request #47 from 417-72KI/hashable-condition
Cloned https://github.com/417-72KI/StubNetworkKit.git
Revision (git rev-parse @):
6bb2039054c8a2524d217a0363cb1da529306d6b
SUCCESS checkout https://github.com/417-72KI/StubNetworkKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/417-72KI/StubNetworkKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:a06db64ee3297a5f3491915d7662e6a86c0024d45425be3d593d7649696fef17
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/417-72KI/MultipartFormDataParser.git
Fetching https://github.com/apple/swift-testing
[1/1921] Fetching multipartformdataparser
[1922/17965] Fetching multipartformdataparser, swift-testing
[11709/47760] Fetching multipartformdataparser, swift-testing, alamofire
Fetched https://github.com/apple/swift-testing (0.60s)
[5795/31716] Fetching multipartformdataparser, alamofire
Fetched https://github.com/417-72KI/MultipartFormDataParser.git (3.67s)
Fetched https://github.com/Alamofire/Alamofire.git (3.73s)
Computing version for https://github.com/apple/swift-testing
Computed https://github.com/apple/swift-testing at 0.3.0 (0.40s)
Fetching https://github.com/apple/swift-syntax.git
[1/66578] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (20.80s)
Computing version for https://github.com/417-72KI/MultipartFormDataParser.git
Computed https://github.com/417-72KI/MultipartFormDataParser.git at 2.3.1 (0.38s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.1 (0.33s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (1.19s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/apple/swift-testing
Working copy of https://github.com/apple/swift-testing resolved at 0.3.0
Creating working copy for https://github.com/417-72KI/MultipartFormDataParser.git
Working copy of https://github.com/417-72KI/MultipartFormDataParser.git resolved at 2.3.1
Building for debugging...
[1/11] Emitting module SwiftSyntax509
[2/11] Compiling SwiftSyntax509 Empty.swift
[4/13] Wrapping AST for SwiftSyntax509 for debugging
[6/58] Compiling SwiftSyntax AbsolutePosition.swift
[7/58] Compiling SwiftSyntax Assert.swift
[8/58] Compiling SwiftSyntax BumpPtrAllocator.swift
[9/58] Compiling SwiftSyntax CommonAncestor.swift
[10/58] Compiling SwiftSyntax Convenience.swift
[11/58] Compiling SwiftSyntax MemoryLayout.swift
[12/58] Compiling SwiftSyntax MissingNodeInitializers.swift
[13/64] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[14/64] Compiling SwiftSyntax Syntax.swift
[15/64] Compiling SwiftSyntax SyntaxArena.swift
[16/64] Compiling SwiftSyntax SyntaxChildren.swift
[17/64] Compiling SwiftSyntax SyntaxCollection.swift
[18/64] Compiling SwiftSyntax SyntaxData.swift
[19/64] Compiling SwiftSyntax RawSyntax.swift
[20/64] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[21/64] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[22/64] Compiling SwiftSyntax RawSyntaxTokenView.swift
[23/64] Compiling SwiftSyntax SourceLength.swift
[24/64] Compiling SwiftSyntax SourceLocation.swift
[25/64] Compiling SwiftSyntax SourcePresence.swift
[26/64] Emitting module SwiftSyntax
[27/64] Compiling SwiftSyntax SyntaxDeclNodes.swift
[28/64] Compiling SwiftSyntax SyntaxExprNodes.swift
[29/64] Compiling SwiftSyntax SyntaxNodes.swift
[30/64] Compiling SwiftSyntax SyntaxPatternNodes.swift
[31/64] Compiling SwiftSyntax SyntaxStmtNodes.swift
[32/64] Compiling SwiftSyntax SyntaxTypeNodes.swift
[33/64] Compiling SwiftSyntax SyntaxCollections.swift
[34/64] Compiling SwiftSyntax SyntaxEnum.swift
[35/64] Compiling SwiftSyntax SyntaxKind.swift
[36/64] Compiling SwiftSyntax SyntaxRewriter.swift
[37/64] Compiling SwiftSyntax SyntaxTraits.swift
[38/64] Compiling SwiftSyntax SyntaxTransform.swift
[39/64] Compiling SwiftSyntax SyntaxVisitor.swift
[40/64] Compiling SwiftSyntax TokenKind.swift
[41/64] Compiling SwiftSyntax Tokens.swift
[42/64] Compiling SwiftSyntax TriviaPieces.swift
[43/64] Compiling SwiftSyntax RawSyntaxNodes.swift
[44/64] Compiling SwiftSyntax RawSyntaxValidation.swift
[45/64] Compiling SwiftSyntax ChildNameForKeyPath.swift
[46/64] Compiling SwiftSyntax Keyword.swift
[47/64] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[48/64] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[49/64] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[50/64] Compiling SwiftSyntax SyntaxBaseNodes.swift
[51/64] Compiling SwiftSyntax SyntaxText.swift
[52/64] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[53/64] Compiling SwiftSyntax TokenDiagnostic.swift
[54/64] Compiling SwiftSyntax TokenSyntax.swift
[55/64] Compiling SwiftSyntax Trivia.swift
[56/64] Compiling SwiftSyntax Utils.swift
[58/71] Wrapping AST for SwiftSyntax for debugging
[60/117] Emitting module SwiftDiagnostics
[61/117] Compiling SwiftDiagnostics Note.swift
[62/117] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[63/117] Compiling SwiftDiagnostics Message.swift
[64/117] Compiling SwiftDiagnostics FixIt.swift
[65/117] Compiling SwiftBasicFormat Syntax+Extensions.swift
[66/117] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[67/117] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[68/117] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[69/117] Compiling SwiftDiagnostics Diagnostic.swift
[70/117] Compiling SwiftDiagnostics Convenience.swift
[72/119] Wrapping AST for SwiftDiagnostics for debugging
[74/119] Emitting module SwiftBasicFormat
[75/119] Compiling SwiftBasicFormat BasicFormat.swift
[77/121] Wrapping AST for SwiftBasicFormat for debugging
[79/121] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[80/121] Compiling SwiftParser StringLiterals.swift
[81/121] Compiling SwiftParser SwiftParserCompatibility.swift
[82/121] Compiling SwiftParser SyntaxUtils.swift
[83/121] Compiling SwiftParser TokenConsumer.swift
[84/126] Compiling SwiftParser TokenPrecedence.swift
[85/126] Compiling SwiftParser TokenSpec.swift
[86/126] Compiling SwiftParser TokenSpecSet.swift
[87/126] Compiling SwiftParser TopLevel.swift
[88/126] Compiling SwiftParser TriviaParser.swift
[89/126] Compiling SwiftParser Lexer.swift
[90/126] Compiling SwiftParser RegexLiteralLexer.swift
[91/126] Compiling SwiftParser UnicodeScalarExtensions.swift
[92/126] Compiling SwiftParser Lookahead.swift
[93/126] Compiling SwiftParser LoopProgressCondition.swift
[94/126] Compiling SwiftParser Modifiers.swift
[95/126] Compiling SwiftParser Names.swift
[96/126] Compiling SwiftParser Nominals.swift
[97/126] Compiling SwiftParser Parameters.swift
[98/126] Compiling SwiftParser ParseSourceFile.swift
[99/126] Compiling SwiftParser Parser.swift
[100/126] Compiling SwiftParser Patterns.swift
[101/126] Compiling SwiftParser Recovery.swift
[102/126] Compiling SwiftParser Specifiers.swift
[103/126] Compiling SwiftParser Statements.swift
[104/126] Emitting module SwiftParser
[105/126] Compiling SwiftParser Attributes.swift
[106/126] Compiling SwiftParser Availability.swift
[107/126] Compiling SwiftParser CharacterInfo.swift
[108/126] Compiling SwiftParser CollectionNodes+Parsable.swift
[109/126] Compiling SwiftParser Declarations.swift
[110/126] Compiling SwiftParser Directives.swift
[111/126] Compiling SwiftParser ExperimentalFeatures.swift
[112/126] Compiling SwiftParser Expressions.swift
[113/126] Compiling SwiftParser IncrementalParseTransition.swift
[114/126] Compiling SwiftParser Cursor.swift
[115/126] Compiling SwiftParser Lexeme.swift
[116/126] Compiling SwiftParser LexemeSequence.swift
[117/126] Compiling SwiftParser Types.swift
[118/126] Compiling SwiftParser IsLexerClassified.swift
[119/126] Compiling SwiftParser LayoutNodes+Parsable.swift
[120/126] Compiling SwiftParser Parser+TokenSpecSet.swift
[121/126] Compiling SwiftParser TokenSpecStaticMembers.swift
[123/128] Wrapping AST for SwiftParser for debugging
[125/141] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[126/141] Compiling SwiftParserDiagnostics Utils.swift
[127/142] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[128/142] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[129/142] Emitting module SwiftParserDiagnostics
[130/142] Compiling SwiftParserDiagnostics MissingNodesError.swift
[131/142] Compiling SwiftParserDiagnostics MissingTokenError.swift
[132/142] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[133/142] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[134/142] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[135/142] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[136/142] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[137/142] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[138/142] Compiling SwiftParserDiagnostics PresenceUtils.swift
[140/144] Wrapping AST for SwiftParserDiagnostics for debugging
[142/158] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[143/158] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[144/159] Compiling SwiftSyntaxBuilder Indenter.swift
[145/159] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[146/159] Emitting module SwiftSyntaxBuilder
[147/159] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[148/159] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[149/159] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[150/159] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[151/159] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[152/159] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[153/159] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[154/159] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[155/159] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[156/159] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[158/161] Wrapping AST for SwiftSyntaxBuilder for debugging
[160/163] Compiling GitStatus main.swift
[161/163] Emitting module GitStatus
[163/165] Wrapping AST for GitStatus for debugging
[164/165] Linking GitStatus
Build complete! (92.68s)
[1/1] Compiling plugin GitStatusPlugin
Building for debugging...
[2/7] Compiling MultipartFormDataParser Data+Util.swift
[3/7] Compiling MultipartFormDataParser MultipartFormDataParser.swift
[4/7] Compiling MultipartFormDataParser MultipartFormData+Sequence.swift
[5/7] Compiling MultipartFormDataParser MultipartFormData.swift
[6/7] Emitting module MultipartFormDataParser
[7/7] Compiling MultipartFormDataParser Error.swift
[10/31] Emitting module StubNetworkKit
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Body.swift:87:10: warning: associated value 'isForm(_:file:line:)' of 'Sendable'-conforming enum '_Body' has non-sendable type 'URLQueryItem'
case isForm([URLQueryItem], file: StaticString = #file, line: UInt = #line)
^
Foundation.URLQueryItem:1:15: note: struct 'URLQueryItem' does not conform to the 'Sendable' protocol
public struct URLQueryItem : ReferenceConvertible, Hashable, Equatable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Body.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Path.swift:40:10: warning: associated value 'matches(_:options:file:line:)' of 'Sendable'-conforming enum '_Path' has non-sendable type 'NSRegularExpression.Options'
case matches(String, options: NSRegularExpression.Options = [], file: StaticString = #file, line: UInt = #line)
^
Foundation.NSRegularExpression:2:19: note: struct 'Options' does not conform to the 'Sendable' protocol
public struct Options : OptionSet {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Path.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/QueryParams.swift:46:10: warning: associated value 'containsItems(_:file:line:)' of 'Sendable'-conforming enum '_QueryParams' has non-sendable type 'URLQueryItem'
case containsItems([URLQueryItem], file: StaticString = #file, line: UInt = #line)
^
Foundation.URLQueryItem:1:15: note: struct 'URLQueryItem' does not conform to the 'Sendable' protocol
public struct URLQueryItem : ReferenceConvertible, Hashable, Equatable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/QueryParams.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:7:10: warning: associated value 'unexpectedRequest' of 'Sendable'-conforming enum 'StubError' has non-sendable type 'URLRequest'
case unexpectedRequest(URLRequest)
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:3:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:8:10: warning: associated value 'responseInitializingFailed' of 'Sendable'-conforming enum 'StubError' has non-sendable type 'URL'
case responseInitializingFailed(URL, Int, [String: String]?)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[11/34] Compiling StubNetworkKit QueryParams.swift
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/QueryParams.swift:46:10: warning: associated value 'containsItems(_:file:line:)' of 'Sendable'-conforming enum '_QueryParams' has non-sendable type 'URLQueryItem'
case containsItems([URLQueryItem], file: StaticString = #file, line: UInt = #line)
^
Foundation.URLQueryItem:1:15: note: struct 'URLQueryItem' does not conform to the 'Sendable' protocol
public struct URLQueryItem : ReferenceConvertible, Hashable, Equatable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/QueryParams.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/QueryParams.swift:62:24: warning: capture of 'items' with non-sendable type '[URLQueryItem]' in a `@Sendable` closure
return items.allSatisfy {
^
Foundation.URLQueryItem:1:15: note: struct 'URLQueryItem' does not conform to the 'Sendable' protocol
public struct URLQueryItem : ReferenceConvertible, Hashable, Equatable {
^
[12/34] Compiling StubNetworkKit Scheme.swift
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/QueryParams.swift:46:10: warning: associated value 'containsItems(_:file:line:)' of 'Sendable'-conforming enum '_QueryParams' has non-sendable type 'URLQueryItem'
case containsItems([URLQueryItem], file: StaticString = #file, line: UInt = #line)
^
Foundation.URLQueryItem:1:15: note: struct 'URLQueryItem' does not conform to the 'Sendable' protocol
public struct URLQueryItem : ReferenceConvertible, Hashable, Equatable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/QueryParams.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/QueryParams.swift:62:24: warning: capture of 'items' with non-sendable type '[URLQueryItem]' in a `@Sendable` closure
return items.allSatisfy {
^
Foundation.URLQueryItem:1:15: note: struct 'URLQueryItem' does not conform to the 'Sendable' protocol
public struct URLQueryItem : ReferenceConvertible, Hashable, Equatable {
^
[13/34] Compiling StubNetworkKit StubCondition+ResultBuilder.swift
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/QueryParams.swift:46:10: warning: associated value 'containsItems(_:file:line:)' of 'Sendable'-conforming enum '_QueryParams' has non-sendable type 'URLQueryItem'
case containsItems([URLQueryItem], file: StaticString = #file, line: UInt = #line)
^
Foundation.URLQueryItem:1:15: note: struct 'URLQueryItem' does not conform to the 'Sendable' protocol
public struct URLQueryItem : ReferenceConvertible, Hashable, Equatable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/QueryParams.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/QueryParams.swift:62:24: warning: capture of 'items' with non-sendable type '[URLQueryItem]' in a `@Sendable` closure
return items.allSatisfy {
^
Foundation.URLQueryItem:1:15: note: struct 'URLQueryItem' does not conform to the 'Sendable' protocol
public struct URLQueryItem : ReferenceConvertible, Hashable, Equatable {
^
[14/34] Compiling StubNetworkKit StubCondition.swift
[15/34] Compiling StubNetworkKit StubMatcher+Operators.swift
[16/34] Compiling StubNetworkKit StubMatcher.swift
[17/34] Compiling StubNetworkKit Header.swift
[18/34] Compiling StubNetworkKit Host.swift
[19/34] Compiling StubNetworkKit Method.swift
[20/34] Compiling StubNetworkKit StubURLProtocol.swift
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:61:9: warning: reference to static property 'stubs' is not concurrency-safe because it involves shared mutable state
stubs.append(stub)
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:11:29: note: static property declared here
private(set) static var stubs: [Stub] = []
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:65:9: warning: reference to static property 'stubs' is not concurrency-safe because it involves shared mutable state
stubs = []
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:11:29: note: static property declared here
private(set) static var stubs: [Stub] = []
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:71:14: warning: reference to static property 'stubs' is not concurrency-safe because it involves shared mutable state
Self.stubs
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:11:29: note: static property declared here
private(set) static var stubs: [Stub] = []
^
[21/34] Compiling StubNetworkKit Sequence.swift
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:61:9: warning: reference to static property 'stubs' is not concurrency-safe because it involves shared mutable state
stubs.append(stub)
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:11:29: note: static property declared here
private(set) static var stubs: [Stub] = []
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:65:9: warning: reference to static property 'stubs' is not concurrency-safe because it involves shared mutable state
stubs = []
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:11:29: note: static property declared here
private(set) static var stubs: [Stub] = []
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:71:14: warning: reference to static property 'stubs' is not concurrency-safe because it involves shared mutable state
Self.stubs
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:11:29: note: static property declared here
private(set) static var stubs: [Stub] = []
^
[22/34] Compiling StubNetworkKit JSON.swift
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:61:9: warning: reference to static property 'stubs' is not concurrency-safe because it involves shared mutable state
stubs.append(stub)
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:11:29: note: static property declared here
private(set) static var stubs: [Stub] = []
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:65:9: warning: reference to static property 'stubs' is not concurrency-safe because it involves shared mutable state
stubs = []
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:11:29: note: static property declared here
private(set) static var stubs: [Stub] = []
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:71:14: warning: reference to static property 'stubs' is not concurrency-safe because it involves shared mutable state
Self.stubs
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubURLProtocol.swift:11:29: note: static property declared here
private(set) static var stubs: [Stub] = []
^
[23/34] Compiling StubNetworkKit ORStubCondition.swift
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Path.swift:40:10: warning: associated value 'matches(_:options:file:line:)' of 'Sendable'-conforming enum '_Path' has non-sendable type 'NSRegularExpression.Options'
case matches(String, options: NSRegularExpression.Options = [], file: StaticString = #file, line: UInt = #line)
^
Foundation.NSRegularExpression:2:19: note: struct 'Options' does not conform to the 'Sendable' protocol
public struct Options : OptionSet {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Path.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Path.swift:54:81: warning: capture of 'options' with non-sendable type 'NSRegularExpression.Options' in a `@Sendable` closure
let regex = try! NSRegularExpression(pattern: pattern, options: options)
^
Foundation.NSRegularExpression:2:19: note: struct 'Options' does not conform to the 'Sendable' protocol
public struct Options : OptionSet {
^
[24/34] Compiling StubNetworkKit Path.swift
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Path.swift:40:10: warning: associated value 'matches(_:options:file:line:)' of 'Sendable'-conforming enum '_Path' has non-sendable type 'NSRegularExpression.Options'
case matches(String, options: NSRegularExpression.Options = [], file: StaticString = #file, line: UInt = #line)
^
Foundation.NSRegularExpression:2:19: note: struct 'Options' does not conform to the 'Sendable' protocol
public struct Options : OptionSet {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Path.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Path.swift:54:81: warning: capture of 'options' with non-sendable type 'NSRegularExpression.Options' in a `@Sendable` closure
let regex = try! NSRegularExpression(pattern: pattern, options: options)
^
Foundation.NSRegularExpression:2:19: note: struct 'Options' does not conform to the 'Sendable' protocol
public struct Options : OptionSet {
^
[25/34] Compiling StubNetworkKit PathExtension.swift
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Path.swift:40:10: warning: associated value 'matches(_:options:file:line:)' of 'Sendable'-conforming enum '_Path' has non-sendable type 'NSRegularExpression.Options'
case matches(String, options: NSRegularExpression.Options = [], file: StaticString = #file, line: UInt = #line)
^
Foundation.NSRegularExpression:2:19: note: struct 'Options' does not conform to the 'Sendable' protocol
public struct Options : OptionSet {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Path.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Path.swift:54:81: warning: capture of 'options' with non-sendable type 'NSRegularExpression.Options' in a `@Sendable` closure
let regex = try! NSRegularExpression(pattern: pattern, options: options)
^
Foundation.NSRegularExpression:2:19: note: struct 'Options' does not conform to the 'Sendable' protocol
public struct Options : OptionSet {
^
[26/34] Compiling StubNetworkKit StubResponse+Fixtures.swift
[27/34] Compiling StubNetworkKit StubResponse+Path.swift
[28/34] Compiling StubNetworkKit StubResponse.swift
[29/34] Compiling StubNetworkKit Stub.swift
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:7:10: warning: associated value 'unexpectedRequest' of 'Sendable'-conforming enum 'StubError' has non-sendable type 'URLRequest'
case unexpectedRequest(URLRequest)
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:3:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:8:10: warning: associated value 'responseInitializingFailed' of 'Sendable'-conforming enum 'StubError' has non-sendable type 'URL'
case responseInitializingFailed(URL, Int, [String: String]?)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/StubNetworking.swift:15:33: warning: reference to static property '_option' is not concurrency-safe because it involves shared mutable state
static var option: Option { _option }
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubNetworking.swift:10:24: note: static property declared here
private static var _option = defaultOption
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubNetworking.swift:23:9: warning: reference to static property '_option' is not concurrency-safe because it involves shared mutable state
_option = .init(
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubNetworking.swift:10:24: note: static property declared here
private static var _option = defaultOption
^
[30/34] Compiling StubNetworkKit StubError.swift
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:7:10: warning: associated value 'unexpectedRequest' of 'Sendable'-conforming enum 'StubError' has non-sendable type 'URLRequest'
case unexpectedRequest(URLRequest)
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:3:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:8:10: warning: associated value 'responseInitializingFailed' of 'Sendable'-conforming enum 'StubError' has non-sendable type 'URL'
case responseInitializingFailed(URL, Int, [String: String]?)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/StubNetworking.swift:15:33: warning: reference to static property '_option' is not concurrency-safe because it involves shared mutable state
static var option: Option { _option }
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubNetworking.swift:10:24: note: static property declared here
private static var _option = defaultOption
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubNetworking.swift:23:9: warning: reference to static property '_option' is not concurrency-safe because it involves shared mutable state
_option = .init(
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubNetworking.swift:10:24: note: static property declared here
private static var _option = defaultOption
^
[31/34] Compiling StubNetworkKit StubNetworking.swift
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:7:10: warning: associated value 'unexpectedRequest' of 'Sendable'-conforming enum 'StubError' has non-sendable type 'URLRequest'
case unexpectedRequest(URLRequest)
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:3:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:8:10: warning: associated value 'responseInitializingFailed' of 'Sendable'-conforming enum 'StubError' has non-sendable type 'URL'
case responseInitializingFailed(URL, Int, [String: String]?)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubError.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/StubNetworking.swift:15:33: warning: reference to static property '_option' is not concurrency-safe because it involves shared mutable state
static var option: Option { _option }
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubNetworking.swift:10:24: note: static property declared here
private static var _option = defaultOption
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubNetworking.swift:23:9: warning: reference to static property '_option' is not concurrency-safe because it involves shared mutable state
_option = .init(
^
/host/spi-builder-workspace/Sources/StubNetworkKit/StubNetworking.swift:10:24: note: static property declared here
private static var _option = defaultOption
^
[32/34] Compiling StubNetworkKit ANDStubCondition.swift
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Body.swift:87:10: warning: associated value 'isForm(_:file:line:)' of 'Sendable'-conforming enum '_Body' has non-sendable type 'URLQueryItem'
case isForm([URLQueryItem], file: StaticString = #file, line: UInt = #line)
^
Foundation.URLQueryItem:1:15: note: struct 'URLQueryItem' does not conform to the 'Sendable' protocol
public struct URLQueryItem : ReferenceConvertible, Hashable, Equatable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Body.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Body.swift:119:13: warning: type 'URLQueryItem' does not conform to the 'Sendable' protocol
stubMatcher({ $0.formBody?.sorted(by: \.name) }, queryItems.sorted(by: \.name), file: file, line: line)
^
Foundation.URLQueryItem:1:15: note: struct 'URLQueryItem' does not conform to the 'Sendable' protocol
public struct URLQueryItem : ReferenceConvertible, Hashable, Equatable {
^
[33/34] Compiling StubNetworkKit AnyStubCondition.swift
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Body.swift:87:10: warning: associated value 'isForm(_:file:line:)' of 'Sendable'-conforming enum '_Body' has non-sendable type 'URLQueryItem'
case isForm([URLQueryItem], file: StaticString = #file, line: UInt = #line)
^
Foundation.URLQueryItem:1:15: note: struct 'URLQueryItem' does not conform to the 'Sendable' protocol
public struct URLQueryItem : ReferenceConvertible, Hashable, Equatable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Body.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Body.swift:119:13: warning: type 'URLQueryItem' does not conform to the 'Sendable' protocol
stubMatcher({ $0.formBody?.sorted(by: \.name) }, queryItems.sorted(by: \.name), file: file, line: line)
^
Foundation.URLQueryItem:1:15: note: struct 'URLQueryItem' does not conform to the 'Sendable' protocol
public struct URLQueryItem : ReferenceConvertible, Hashable, Equatable {
^
[34/34] Compiling StubNetworkKit Body.swift
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Body.swift:87:10: warning: associated value 'isForm(_:file:line:)' of 'Sendable'-conforming enum '_Body' has non-sendable type 'URLQueryItem'
case isForm([URLQueryItem], file: StaticString = #file, line: UInt = #line)
^
Foundation.URLQueryItem:1:15: note: struct 'URLQueryItem' does not conform to the 'Sendable' protocol
public struct URLQueryItem : ReferenceConvertible, Hashable, Equatable {
^
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Body.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/StubNetworkKit/Condition/Body.swift:119:13: warning: type 'URLQueryItem' does not conform to the 'Sendable' protocol
stubMatcher({ $0.formBody?.sorted(by: \.name) }, queryItems.sorted(by: \.name), file: file, line: line)
^
Foundation.URLQueryItem:1:15: note: struct 'URLQueryItem' does not conform to the 'Sendable' protocol
public struct URLQueryItem : ReferenceConvertible, Hashable, Equatable {
^
Build complete! (132.51s)
Build complete.
Done.