Build Information
Successful build of DecreeServices, reference master (4f9a08
), with Swift 6.0 for Linux on 28 Nov 2024 02:33:52 UTC.
Swift 6 data race errors: 16
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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewag/DecreeServices.git
Reference: master
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/drewag/DecreeServices
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4f9a087 [CI] Fix build for Xcode 12
Cloned https://github.com/drewag/DecreeServices.git
Revision (git rev-parse @):
4f9a0879830c54d97080026a2c94d26bda880ac3
SUCCESS checkout https://github.com/drewag/DecreeServices.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/drewag/DecreeServices.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/drewag/Decree.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/1272] Fetching decree
[1273/13975] Fetching decree, cryptoswift
Fetched https://github.com/drewag/Decree.git from cache (1.57s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.60s)
Computing version for https://github.com/drewag/Decree.git
Computed https://github.com/drewag/Decree.git at 4.4.0 (0.64s)
Fetching https://github.com/MaxDesiatov/XMLCoder.git
[1/10011] Fetching xmlcoder
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (0.54s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (0.49s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.49s)
Creating working copy for https://github.com/drewag/Decree.git
Working copy of https://github.com/drewag/Decree.git resolved at 4.4.0
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.17.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.3
Building for debugging...
[0/6] Write sources
[0/6] Copying PrivacyInfo.xcprivacy
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/152] Emitting module XMLCoder
[8/158] Compiling CryptoSwift AEAD.swift
[9/158] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[10/158] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[11/158] Compiling CryptoSwift AES.Cryptors.swift
[12/158] Compiling CryptoSwift AES.swift
[13/158] Compiling CryptoSwift ASN1.swift
[14/158] Compiling CryptoSwift ASN1Decoder.swift
[15/158] Compiling XMLCoder XMLEncoder.swift
[16/158] Compiling XMLCoder XMLEncoderImplementation.swift
[17/158] Compiling XMLCoder XMLEncodingStorage.swift
[18/158] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[19/158] Compiling XMLCoder XMLReferencingEncoder.swift
[20/158] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[21/158] Compiling CryptoSwift Strideable.swift
[22/158] Compiling CryptoSwift StringConversion.swift
[23/158] Compiling CryptoSwift Subtraction.swift
[24/158] Compiling CryptoSwift WordsAndBits.swift
[25/158] Compiling CryptoSwift ChaCha20.swift
[26/158] Compiling CryptoSwift Checksum.swift
[27/158] Compiling CryptoSwift Cipher.swift
[28/158] Compiling CryptoSwift Collection+Extension.swift
[29/172] Emitting module CryptoSwift
[36/172] Compiling CryptoSwift ASN1Encoder.swift
[37/172] Compiling CryptoSwift ASN1Scanner.swift
[38/172] Compiling CryptoSwift Array+Extension.swift
[39/172] Compiling CryptoSwift Authenticator.swift
[40/172] Compiling CryptoSwift BatchedCollection.swift
[41/172] Compiling CryptoSwift Bit.swift
[42/172] Compiling CryptoSwift BlockCipher.swift
[43/172] Compiling CryptoSwift DataConversion.swift
[44/172] Compiling CryptoSwift Division.swift
[45/172] Compiling CryptoSwift Exponentiation.swift
[46/172] Compiling CryptoSwift FloatingPointConversion.swift
[47/172] Compiling CryptoSwift GCD.swift
[48/172] Compiling CryptoSwift Hashable.swift
[49/172] Compiling CryptoSwift BlockEncryptor.swift
[50/172] Compiling CryptoSwift BlockMode.swift
[51/172] Compiling CryptoSwift BlockModeOptions.swift
[52/172] Compiling CryptoSwift CBC.swift
[53/172] Compiling CryptoSwift CCM.swift
[54/172] Compiling CryptoSwift CFB.swift
[55/172] Compiling CryptoSwift CTR.swift
[56/172] Compiling CryptoSwift CipherModeWorker.swift
[57/172] Compiling CryptoSwift ECB.swift
[58/172] Compiling CryptoSwift GCM.swift
[59/172] Compiling CryptoSwift OCB.swift
[60/172] Compiling CryptoSwift OFB.swift
[61/172] Compiling CryptoSwift PCBC.swift
[62/172] Compiling CryptoSwift Blowfish.swift
[63/172] Compiling CryptoSwift CBCMAC.swift
[64/172] Compiling CryptoSwift CMAC.swift
[65/172] Compiling CryptoSwift Addition.swift
[66/172] Compiling CryptoSwift BigInt.swift
[67/172] Compiling CryptoSwift BigUInt.swift
[68/172] Compiling CryptoSwift BitwiseOps.swift
[69/172] Compiling CryptoSwift CS.swift
[70/172] Compiling CryptoSwift Codable.swift
[71/172] Compiling CryptoSwift Comparable.swift
[78/172] Compiling CryptoSwift BlockDecryptor.swift
[84/172] Compiling CryptoSwift XChaCha20+Foundation.swift
[85/172] Compiling CryptoSwift Generics.swift
[86/172] Compiling CryptoSwift HKDF.swift
[87/172] Compiling CryptoSwift HMAC.swift
[88/172] Compiling CryptoSwift ISO10126Padding.swift
[89/172] Compiling CryptoSwift ISO78164Padding.swift
[90/172] Compiling CryptoSwift Int+Extension.swift
[91/172] Compiling CryptoSwift MD5.swift
[92/172] Compiling CryptoSwift NoPadding.swift
[93/172] Compiling CryptoSwift Operators.swift
[94/172] Compiling CryptoSwift DER.swift
[95/172] Compiling CryptoSwift PBKDF1.swift
[96/172] Compiling CryptoSwift PBKDF2.swift
[97/172] Compiling CryptoSwift PKCS1v15.swift
[117/173] Compiling CryptoSwift CompactMap.swift
[118/173] Compiling CryptoSwift Cryptor.swift
[119/173] Compiling CryptoSwift Cryptors.swift
[120/173] Compiling CryptoSwift Digest.swift
[121/173] Compiling CryptoSwift DigestType.swift
[122/173] Compiling CryptoSwift AES+Foundation.swift
[123/173] Compiling CryptoSwift Array+Foundation.swift
[124/173] Compiling CryptoSwift Blowfish+Foundation.swift
[125/173] Compiling CryptoSwift ChaCha20+Foundation.swift
[126/173] Compiling CryptoSwift Data+Extension.swift
[127/173] Compiling CryptoSwift HMAC+Foundation.swift
[128/173] Compiling CryptoSwift Rabbit+Foundation.swift
[129/173] Compiling CryptoSwift String+FoundationExtension.swift
[130/173] Compiling CryptoSwift Utils+Foundation.swift
[131/173] Compiling CryptoSwift PKCS5.swift
[132/173] Compiling CryptoSwift PKCS7.swift
[133/173] Compiling CryptoSwift PKCS7Padding.swift
[134/173] Compiling CryptoSwift Padding.swift
[135/173] Compiling CryptoSwift Poly1305.swift
[136/173] Compiling CryptoSwift RSA+Cipher.swift
[137/173] Compiling CryptoSwift RSA+Signature.swift
[138/173] Compiling CryptoSwift RSA.swift
[139/173] Compiling CryptoSwift Rabbit.swift
[140/173] Compiling CryptoSwift SHA1.swift
[141/173] Compiling CryptoSwift SHA2.swift
[142/173] Compiling CryptoSwift SHA3.swift
[143/173] Compiling CryptoSwift Scrypt.swift
[144/173] Compiling CryptoSwift SecureBytes.swift
[160/208] Compiling CryptoSwift Signature.swift
[161/208] Compiling CryptoSwift StreamDecryptor.swift
[162/208] Compiling CryptoSwift StreamEncryptor.swift
[163/208] Compiling CryptoSwift String+Extension.swift
[164/208] Compiling CryptoSwift UInt128.swift
[165/208] Compiling CryptoSwift UInt16+Extension.swift
[166/208] Compiling CryptoSwift UInt32+Extension.swift
[167/208] Compiling CryptoSwift UInt64+Extension.swift
[168/208] Compiling CryptoSwift UInt8+Extension.swift
[169/208] Compiling CryptoSwift Updatable.swift
[170/208] Compiling CryptoSwift Utils.swift
[171/208] Compiling CryptoSwift XChaCha20.swift
[172/208] Compiling CryptoSwift ZeroPadding.swift
[173/208] Compiling CryptoSwift resource_bundle_accessor.swift
[174/208] Compiling Decree ErrorHandling.swift
[175/208] Compiling Decree ErrorResponse.swift
[176/208] Compiling Decree File.swift
[177/208] Compiling Decree InputFormat.swift
[178/208] Compiling Decree Method.swift
[179/208] Compiling Decree RequestInput.swift
[180/208] Compiling Decree String+Helpers.swift
[181/208] Compiling Decree String+TitleCase.swift
[182/208] Compiling Decree URLRequest+Logging.swift
[183/213] Compiling Decree FormDataEncoder.swift
[184/213] Compiling Decree FormURLEncoder.swift
[185/213] Compiling Decree HTTPStatus.swift
[186/213] Compiling Decree NSXMLParser_ErrorCode.swift
[187/213] Compiling Decree ProgressObserver.swift
[188/213] Emitting module Decree
[190/213] Compiling Decree NoBasicResponse.swift
[191/213] Compiling Decree OutputFormat.swift
[192/213] Compiling Decree Session.swift
[193/213] Compiling Decree Endpoint+MakeRequest.swift
[194/213] Compiling Decree Endpoint.swift
[195/213] Compiling Decree Authorization.swift
[196/213] Compiling Decree AuthorizationRequirement.swift
[197/213] Compiling Decree DecreeError.swift
[198/213] Compiling Decree DecreeErrorDescribable.swift
[199/213] Compiling Decree EmptyResult.swift
[200/213] Compiling Decree WebServiceMock.swift
[201/213] Compiling Decree DecreeRequest.swift
[202/213] Compiling Decree DispatchQueue+Async.swift
[203/213] Compiling Decree Endpoint+PrivateMakeRequest.swift
[204/213] Compiling Decree Expectations+Private.swift
[205/213] Compiling Decree URLResponse+Logging.swift
[206/213] Compiling Decree WebService+MakeRequest.swift
[207/213] Compiling Decree WebServiceMock+HandleRequest.swift
[208/213] Compiling Decree WebService.swift
[209/213] Compiling Decree KeyValueEncoder.swift
[210/213] Compiling Decree Logger.swift
[211/213] Compiling Decree Expectations.swift
[212/213] Compiling Decree WebService+AllRequestHandling.swift
[213/213] Compiling Decree WebService+Mocking.swift
[215/222] Compiling DecreeServices TestableDate.swift
/host/spi-builder-workspace/Sources/DecreeServices/Private/TestableDate.swift:11:24: warning: static property 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct TestableDate {
11 | private static var faked: (base: Date, started: Date)?
| |- warning: static property 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'faked' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'faked' 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
12 |
13 | public static func startFakingNow(from: Date) {
[216/222] Compiling DecreeServices GoogleAnalytics.swift
/host/spi-builder-workspace/Sources/DecreeServices/GoogleAnalytics.swift:21:27: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public typealias ErrorResponse = NoErrorResponse
20 |
21 | public static var shared = Analytics()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
22 |
23 | public var sessionOverride: Session?
/host/spi-builder-workspace/Sources/DecreeServices/GoogleAnalytics.swift:37:27: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
35 | public typealias Service = Google.Analytics
36 |
37 | public static let method = Method.post
| `- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
38 | public let path = "collect"
39 |
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/Method.swift:11:13: note: enum 'Method' does not conform to the 'Sendable' protocol
9 |
10 | /// [HTTP Method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) for making requests
11 | public enum Method {
| `- note: enum 'Method' does not conform to the 'Sendable' protocol
12 | /// [GET](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET)
13 | ///
/host/spi-builder-workspace/Sources/DecreeServices/GoogleAnalytics.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
8 |
9 | import Foundation
10 | import Decree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
11 |
12 | public struct Google {
:
35 | public typealias Service = Google.Analytics
36 |
37 | public static let method = Method.post
| |- note: annotate 'method' 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
38 | public let path = "collect"
39 |
/host/spi-builder-workspace/Sources/DecreeServices/GoogleAnalytics.swift:44:27: warning: static property 'inputFormat' is not concurrency-safe because non-'Sendable' type 'InputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
42 | public init() {}
43 |
44 | public static let inputFormat = InputFormat.formURLEncoded
| |- warning: static property 'inputFormat' is not concurrency-safe because non-'Sendable' type 'InputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inputFormat' 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
45 | }
46 |
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/InputFormat.swift:9:13: note: enum 'InputFormat' does not conform to the 'Sendable' protocol
7 |
8 | /// Format for uploading data to endpoint
9 | public enum InputFormat {
| `- note: enum 'InputFormat' does not conform to the 'Sendable' protocol
10 | /// [JSON](https://www.json.org)
11 | case JSON
[217/222] Compiling DecreeServices AWSS3+Private.swift
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:120:27: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 |
119 | /// Customize this shared instance for your target bucket
120 | public static var shared = AWS.S3(region: "us-west1", bucket: "default", accessKey: "", secretKey: "")
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
121 |
122 | public var baseURL: URL {
/host/spi-builder-workspace/Sources/DecreeServices/Private/AWSS3+Private.swift:125:71: warning: 'sha256' is deprecated: Use sha2(variant) instead.
123 |
124 | func dateKey(dateString: String) throws -> Array<UInt8> {
125 | return try HMAC(key: "AWS4\(self.secretKey)".bytes, variant: .sha256)
| `- warning: 'sha256' is deprecated: Use sha2(variant) instead.
126 | .authenticate(dateString.bytes)
127 | }
/host/spi-builder-workspace/Sources/DecreeServices/Private/AWSS3+Private.swift:130:82: warning: 'sha256' is deprecated: Use sha2(variant) instead.
128 |
129 | func dateRegionKey(dateString: String) throws -> Array<UInt8> {
130 | return try HMAC(key: try self.dateKey(dateString: dateString), variant: .sha256)
| `- warning: 'sha256' is deprecated: Use sha2(variant) instead.
131 | .authenticate(self.region.bytes)
132 | }
/host/spi-builder-workspace/Sources/DecreeServices/Private/AWSS3+Private.swift:135:88: warning: 'sha256' is deprecated: Use sha2(variant) instead.
133 |
134 | func dateRegionServiceKey(dateString: String) throws -> Array<UInt8> {
135 | return try HMAC(key: try self.dateRegionKey(dateString: dateString), variant: .sha256)
| `- warning: 'sha256' is deprecated: Use sha2(variant) instead.
136 | .authenticate("s3".bytes)
137 | }
/host/spi-builder-workspace/Sources/DecreeServices/Private/AWSS3+Private.swift:141:95: warning: 'sha256' is deprecated: Use sha2(variant) instead.
139 |
140 | func signingKey(dateString: String) throws -> Array<UInt8> {
141 | return try HMAC(key: try self.dateRegionServiceKey(dateString: dateString), variant: .sha256)
| `- warning: 'sha256' is deprecated: Use sha2(variant) instead.
142 | .authenticate("aws4_request".bytes)
143 | }
/host/spi-builder-workspace/Sources/DecreeServices/Private/AWSS3+Private.swift:146:85: warning: 'sha256' is deprecated: Use sha2(variant) instead.
144 |
145 | func signature<E: Endpoint>(queryBased: Bool, requestBody: Data, timestampString: String, dateString: String, endpoint: E) throws -> String {
146 | return try HMAC(key: try self.signingKey(dateString: dateString), variant: .sha256)
| `- warning: 'sha256' is deprecated: Use sha2(variant) instead.
147 | .authenticate(self.stringToSign(queryBased: queryBased, requestBody: requestBody, timestampString: timestampString, dateString: dateString, endpoint: endpoint).bytes).toHexString()
148 | }
[218/222] Compiling DecreeServices AWSS3.swift
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:37:31: warning: static property 'outputFormat' is not concurrency-safe because non-'Sendable' type 'OutputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
35 | public struct GetObject: OutEndpoint, AWSS3Endpoint {
36 | public typealias Output = Data
37 | public static let outputFormat = OutputFormat.XML
| `- warning: static property 'outputFormat' is not concurrency-safe because non-'Sendable' type 'OutputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | public let path: String
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/OutputFormat.swift:9:13: note: enum 'OutputFormat' does not conform to the 'Sendable' protocol
7 |
8 | /// Format for parsing data from endpoint
9 | public enum OutputFormat {
| `- note: enum 'OutputFormat' does not conform to the 'Sendable' protocol
10 | /// [JSON](https://www.json.org)
11 | case JSON
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
8 |
9 | import Foundation
10 | import Decree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
11 | #if canImport(FoundationNetworking)
12 | import FoundationNetworking
:
35 | public struct GetObject: OutEndpoint, AWSS3Endpoint {
36 | public typealias Output = Data
37 | public static let outputFormat = OutputFormat.XML
| |- note: annotate 'outputFormat' 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
38 |
39 | public let path: String
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:49:31: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
47 | /// Retrieve object's metadata
48 | public struct GetObjectMetadata: EmptyEndpoint, AWSS3Endpoint {
49 | public static let method = Method.head
| |- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'method' 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
50 |
51 | public let path: String
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/Method.swift:11:13: note: enum 'Method' does not conform to the 'Sendable' protocol
9 |
10 | /// [HTTP Method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) for making requests
11 | public enum Method {
| `- note: enum 'Method' does not conform to the 'Sendable' protocol
12 | /// [GET](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET)
13 | ///
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:61:31: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
59 | /// Add an object
60 | public struct AddObject: InEndpoint, AWSS3Endpoint {
61 | public static let method = Method.put
| |- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'method' 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
62 |
63 | public typealias Input = Data
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/Method.swift:11:13: note: enum 'Method' does not conform to the 'Sendable' protocol
9 |
10 | /// [HTTP Method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) for making requests
11 | public enum Method {
| `- note: enum 'Method' does not conform to the 'Sendable' protocol
12 | /// [GET](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET)
13 | ///
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:64:31: warning: static property 'outputFormat' is not concurrency-safe because non-'Sendable' type 'OutputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | public typealias Input = Data
64 | public static let outputFormat = OutputFormat.XML
| |- warning: static property 'outputFormat' is not concurrency-safe because non-'Sendable' type 'OutputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'outputFormat' 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
65 |
66 | public let path: String
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/OutputFormat.swift:9:13: note: enum 'OutputFormat' does not conform to the 'Sendable' protocol
7 |
8 | /// Format for parsing data from endpoint
9 | public enum OutputFormat {
| `- note: enum 'OutputFormat' does not conform to the 'Sendable' protocol
10 | /// [JSON](https://www.json.org)
11 | case JSON
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:76:31: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
74 | /// Delete an object
75 | public struct DeleteObject: EmptyEndpoint, AWSS3Endpoint {
76 | public static let method = Method.delete
| |- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'method' 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
77 |
78 | public static let outputFormat = OutputFormat.XML
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/Method.swift:11:13: note: enum 'Method' does not conform to the 'Sendable' protocol
9 |
10 | /// [HTTP Method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) for making requests
11 | public enum Method {
| `- note: enum 'Method' does not conform to the 'Sendable' protocol
12 | /// [GET](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET)
13 | ///
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:78:31: warning: static property 'outputFormat' is not concurrency-safe because non-'Sendable' type 'OutputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
76 | public static let method = Method.delete
77 |
78 | public static let outputFormat = OutputFormat.XML
| |- warning: static property 'outputFormat' is not concurrency-safe because non-'Sendable' type 'OutputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'outputFormat' 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
79 |
80 | public let path: String
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/OutputFormat.swift:9:13: note: enum 'OutputFormat' does not conform to the 'Sendable' protocol
7 |
8 | /// Format for parsing data from endpoint
9 | public enum OutputFormat {
| `- note: enum 'OutputFormat' does not conform to the 'Sendable' protocol
10 | /// [JSON](https://www.json.org)
11 | case JSON
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:120:27: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 |
119 | /// Customize this shared instance for your target bucket
120 | public static var shared = AWS.S3(region: "us-west1", bucket: "default", accessKey: "", secretKey: "")
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
121 |
122 | public var baseURL: URL {
[219/222] Emitting module DecreeServices
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:37:31: warning: static property 'outputFormat' is not concurrency-safe because non-'Sendable' type 'OutputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
35 | public struct GetObject: OutEndpoint, AWSS3Endpoint {
36 | public typealias Output = Data
37 | public static let outputFormat = OutputFormat.XML
| `- warning: static property 'outputFormat' is not concurrency-safe because non-'Sendable' type 'OutputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | public let path: String
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/OutputFormat.swift:9:13: note: enum 'OutputFormat' does not conform to the 'Sendable' protocol
7 |
8 | /// Format for parsing data from endpoint
9 | public enum OutputFormat {
| `- note: enum 'OutputFormat' does not conform to the 'Sendable' protocol
10 | /// [JSON](https://www.json.org)
11 | case JSON
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
8 |
9 | import Foundation
10 | import Decree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
11 | #if canImport(FoundationNetworking)
12 | import FoundationNetworking
:
35 | public struct GetObject: OutEndpoint, AWSS3Endpoint {
36 | public typealias Output = Data
37 | public static let outputFormat = OutputFormat.XML
| |- note: annotate 'outputFormat' 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
38 |
39 | public let path: String
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:49:31: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
47 | /// Retrieve object's metadata
48 | public struct GetObjectMetadata: EmptyEndpoint, AWSS3Endpoint {
49 | public static let method = Method.head
| |- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'method' 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
50 |
51 | public let path: String
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/Method.swift:11:13: note: enum 'Method' does not conform to the 'Sendable' protocol
9 |
10 | /// [HTTP Method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) for making requests
11 | public enum Method {
| `- note: enum 'Method' does not conform to the 'Sendable' protocol
12 | /// [GET](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET)
13 | ///
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:61:31: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
59 | /// Add an object
60 | public struct AddObject: InEndpoint, AWSS3Endpoint {
61 | public static let method = Method.put
| |- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'method' 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
62 |
63 | public typealias Input = Data
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/Method.swift:11:13: note: enum 'Method' does not conform to the 'Sendable' protocol
9 |
10 | /// [HTTP Method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) for making requests
11 | public enum Method {
| `- note: enum 'Method' does not conform to the 'Sendable' protocol
12 | /// [GET](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET)
13 | ///
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:64:31: warning: static property 'outputFormat' is not concurrency-safe because non-'Sendable' type 'OutputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | public typealias Input = Data
64 | public static let outputFormat = OutputFormat.XML
| |- warning: static property 'outputFormat' is not concurrency-safe because non-'Sendable' type 'OutputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'outputFormat' 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
65 |
66 | public let path: String
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/OutputFormat.swift:9:13: note: enum 'OutputFormat' does not conform to the 'Sendable' protocol
7 |
8 | /// Format for parsing data from endpoint
9 | public enum OutputFormat {
| `- note: enum 'OutputFormat' does not conform to the 'Sendable' protocol
10 | /// [JSON](https://www.json.org)
11 | case JSON
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:76:31: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
74 | /// Delete an object
75 | public struct DeleteObject: EmptyEndpoint, AWSS3Endpoint {
76 | public static let method = Method.delete
| |- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'method' 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
77 |
78 | public static let outputFormat = OutputFormat.XML
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/Method.swift:11:13: note: enum 'Method' does not conform to the 'Sendable' protocol
9 |
10 | /// [HTTP Method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) for making requests
11 | public enum Method {
| `- note: enum 'Method' does not conform to the 'Sendable' protocol
12 | /// [GET](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET)
13 | ///
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:78:31: warning: static property 'outputFormat' is not concurrency-safe because non-'Sendable' type 'OutputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
76 | public static let method = Method.delete
77 |
78 | public static let outputFormat = OutputFormat.XML
| |- warning: static property 'outputFormat' is not concurrency-safe because non-'Sendable' type 'OutputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'outputFormat' 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
79 |
80 | public let path: String
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/OutputFormat.swift:9:13: note: enum 'OutputFormat' does not conform to the 'Sendable' protocol
7 |
8 | /// Format for parsing data from endpoint
9 | public enum OutputFormat {
| `- note: enum 'OutputFormat' does not conform to the 'Sendable' protocol
10 | /// [JSON](https://www.json.org)
11 | case JSON
/host/spi-builder-workspace/Sources/DecreeServices/AWSS3.swift:120:27: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 |
119 | /// Customize this shared instance for your target bucket
120 | public static var shared = AWS.S3(region: "us-west1", bucket: "default", accessKey: "", secretKey: "")
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
121 |
122 | public var baseURL: URL {
/host/spi-builder-workspace/Sources/DecreeServices/AppleAppStore.swift:21:27: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public typealias ErrorResponse = NoErrorResponse
20 |
21 | public static var shared = AppStore()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
22 | public var sessionOverride: Session? = nil
23 |
/host/spi-builder-workspace/Sources/DecreeServices/AppleAppStore.swift:54:27: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
52 | public typealias Service = Apple.AppStore
53 |
54 | public static let method = Method.post
| `- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
55 | public let path = ""
56 |
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/Method.swift:11:13: note: enum 'Method' does not conform to the 'Sendable' protocol
9 |
10 | /// [HTTP Method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) for making requests
11 | public enum Method {
| `- note: enum 'Method' does not conform to the 'Sendable' protocol
12 | /// [GET](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET)
13 | ///
/host/spi-builder-workspace/Sources/DecreeServices/AppleAppStore.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
7 |
8 | import Foundation
9 | import Decree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
10 | #if canImport(FoundationNetworking)
11 | import FoundationNetworking
:
52 | public typealias Service = Apple.AppStore
53 |
54 | public static let method = Method.post
| |- note: annotate 'method' 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
55 | public let path = ""
56 |
/host/spi-builder-workspace/Sources/DecreeServices/FreshDesk.swift:26:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | }
25 |
26 | public static var shared = FreshDesk()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
27 | public private(set) var authorization: Authorization = .none
28 |
/host/spi-builder-workspace/Sources/DecreeServices/FreshDesk.swift:52:27: warning: static property 'inputFormat' is not concurrency-safe because non-'Sendable' type 'InputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | public typealias Input = Ticket
52 | public static let inputFormat = InputFormat.formData
| `- warning: static property 'inputFormat' is not concurrency-safe because non-'Sendable' type 'InputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | public static let method = Method.post
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/InputFormat.swift:9:13: note: enum 'InputFormat' does not conform to the 'Sendable' protocol
7 |
8 | /// Format for uploading data to endpoint
9 | public enum InputFormat {
| `- note: enum 'InputFormat' does not conform to the 'Sendable' protocol
10 | /// [JSON](https://www.json.org)
11 | case JSON
/host/spi-builder-workspace/Sources/DecreeServices/FreshDesk.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
7 |
8 | import Foundation
9 | import Decree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
10 | #if canImport(FoundationNetworking)
11 | import FoundationNetworking
:
50 |
51 | public typealias Input = Ticket
52 | public static let inputFormat = InputFormat.formData
| |- note: annotate 'inputFormat' 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
53 |
54 | public static let method = Method.post
/host/spi-builder-workspace/Sources/DecreeServices/FreshDesk.swift:54:27: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
52 | public static let inputFormat = InputFormat.formData
53 |
54 | public static let method = Method.post
| |- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'method' 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
55 |
56 | public let path = "tickets"
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/Method.swift:11:13: note: enum 'Method' does not conform to the 'Sendable' protocol
9 |
10 | /// [HTTP Method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) for making requests
11 | public enum Method {
| `- note: enum 'Method' does not conform to the 'Sendable' protocol
12 | /// [GET](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET)
13 | ///
/host/spi-builder-workspace/Sources/DecreeServices/GoogleAnalytics.swift:21:27: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public typealias ErrorResponse = NoErrorResponse
20 |
21 | public static var shared = Analytics()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
22 |
23 | public var sessionOverride: Session?
/host/spi-builder-workspace/Sources/DecreeServices/GoogleAnalytics.swift:37:27: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
35 | public typealias Service = Google.Analytics
36 |
37 | public static let method = Method.post
| `- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
38 | public let path = "collect"
39 |
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/Method.swift:11:13: note: enum 'Method' does not conform to the 'Sendable' protocol
9 |
10 | /// [HTTP Method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) for making requests
11 | public enum Method {
| `- note: enum 'Method' does not conform to the 'Sendable' protocol
12 | /// [GET](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET)
13 | ///
/host/spi-builder-workspace/Sources/DecreeServices/GoogleAnalytics.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
8 |
9 | import Foundation
10 | import Decree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
11 |
12 | public struct Google {
:
35 | public typealias Service = Google.Analytics
36 |
37 | public static let method = Method.post
| |- note: annotate 'method' 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
38 | public let path = "collect"
39 |
/host/spi-builder-workspace/Sources/DecreeServices/GoogleAnalytics.swift:44:27: warning: static property 'inputFormat' is not concurrency-safe because non-'Sendable' type 'InputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
42 | public init() {}
43 |
44 | public static let inputFormat = InputFormat.formURLEncoded
| |- warning: static property 'inputFormat' is not concurrency-safe because non-'Sendable' type 'InputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inputFormat' 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
45 | }
46 |
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/InputFormat.swift:9:13: note: enum 'InputFormat' does not conform to the 'Sendable' protocol
7 |
8 | /// Format for uploading data to endpoint
9 | public enum InputFormat {
| `- note: enum 'InputFormat' does not conform to the 'Sendable' protocol
10 | /// [JSON](https://www.json.org)
11 | case JSON
/host/spi-builder-workspace/Sources/DecreeServices/Private/TestableDate.swift:11:24: warning: static property 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct TestableDate {
11 | private static var faked: (base: Date, started: Date)?
| |- warning: static property 'faked' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'faked' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'faked' 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
12 |
13 | public static func startFakingNow(from: Date) {
[220/222] Compiling DecreeServices AWSS3+Mocking.swift
[221/222] Compiling DecreeServices FreshDesk.swift
/host/spi-builder-workspace/Sources/DecreeServices/FreshDesk.swift:26:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | }
25 |
26 | public static var shared = FreshDesk()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
27 | public private(set) var authorization: Authorization = .none
28 |
/host/spi-builder-workspace/Sources/DecreeServices/FreshDesk.swift:52:27: warning: static property 'inputFormat' is not concurrency-safe because non-'Sendable' type 'InputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | public typealias Input = Ticket
52 | public static let inputFormat = InputFormat.formData
| `- warning: static property 'inputFormat' is not concurrency-safe because non-'Sendable' type 'InputFormat' may have shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | public static let method = Method.post
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/InputFormat.swift:9:13: note: enum 'InputFormat' does not conform to the 'Sendable' protocol
7 |
8 | /// Format for uploading data to endpoint
9 | public enum InputFormat {
| `- note: enum 'InputFormat' does not conform to the 'Sendable' protocol
10 | /// [JSON](https://www.json.org)
11 | case JSON
/host/spi-builder-workspace/Sources/DecreeServices/FreshDesk.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
7 |
8 | import Foundation
9 | import Decree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
10 | #if canImport(FoundationNetworking)
11 | import FoundationNetworking
:
50 |
51 | public typealias Input = Ticket
52 | public static let inputFormat = InputFormat.formData
| |- note: annotate 'inputFormat' 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
53 |
54 | public static let method = Method.post
/host/spi-builder-workspace/Sources/DecreeServices/FreshDesk.swift:54:27: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
52 | public static let inputFormat = InputFormat.formData
53 |
54 | public static let method = Method.post
| |- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'method' 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
55 |
56 | public let path = "tickets"
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/Method.swift:11:13: note: enum 'Method' does not conform to the 'Sendable' protocol
9 |
10 | /// [HTTP Method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) for making requests
11 | public enum Method {
| `- note: enum 'Method' does not conform to the 'Sendable' protocol
12 | /// [GET](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET)
13 | ///
[222/222] Compiling DecreeServices AppleAppStore.swift
/host/spi-builder-workspace/Sources/DecreeServices/AppleAppStore.swift:21:27: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public typealias ErrorResponse = NoErrorResponse
20 |
21 | public static var shared = AppStore()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
22 | public var sessionOverride: Session? = nil
23 |
/host/spi-builder-workspace/Sources/DecreeServices/AppleAppStore.swift:54:27: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
52 | public typealias Service = Apple.AppStore
53 |
54 | public static let method = Method.post
| `- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
55 | public let path = ""
56 |
/host/spi-builder-workspace/.build/checkouts/Decree/Sources/Decree/Basic Types/Method.swift:11:13: note: enum 'Method' does not conform to the 'Sendable' protocol
9 |
10 | /// [HTTP Method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) for making requests
11 | public enum Method {
| `- note: enum 'Method' does not conform to the 'Sendable' protocol
12 | /// [GET](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET)
13 | ///
/host/spi-builder-workspace/Sources/DecreeServices/AppleAppStore.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
7 |
8 | import Foundation
9 | import Decree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Decree'
10 | #if canImport(FoundationNetworking)
11 | import FoundationNetworking
:
52 | public typealias Service = Apple.AppStore
53 |
54 | public static let method = Method.post
| |- note: annotate 'method' 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
55 | public let path = ""
56 |
Build complete! (27.01s)
Build complete.
{
"dependencies" : [
{
"identity" : "decree",
"requirement" : {
"range" : [
{
"lower_bound" : "4.4.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/drewag/Decree.git"
},
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
}
],
"manifest_display_name" : "DecreeServices",
"name" : "DecreeServices",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "DecreeServices",
"targets" : [
"DecreeServices"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "DecreeServicesTests",
"module_type" : "SwiftTarget",
"name" : "DecreeServicesTests",
"path" : "Tests/DecreeServicesTests",
"sources" : [
"AWSS3Tests.swift",
"AppleAppStoreTests.swift",
"FreshDeskTests.swift",
"GoogleAnalyticsTests.swift",
"Helpers/Data+Helpers.swift",
"Helpers/Decodable+Helpers.swift",
"Helpers/Result+Helpers.swift",
"Helpers/TestURLSession.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"DecreeServices"
],
"type" : "test"
},
{
"c99name" : "DecreeServices",
"module_type" : "SwiftTarget",
"name" : "DecreeServices",
"path" : "Sources/DecreeServices",
"product_dependencies" : [
"Decree",
"CryptoSwift"
],
"product_memberships" : [
"DecreeServices"
],
"sources" : [
"AWSS3+Mocking.swift",
"AWSS3.swift",
"AppleAppStore.swift",
"FreshDesk.swift",
"GoogleAnalytics.swift",
"Private/AWSS3+Private.swift",
"Private/TestableDate.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
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
Done.