Build Information
Successful build of DecreeServices, reference master (4f9a08
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 02:41:18 UTC.
Swift 6 data race errors: 16
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/drewag/Decree.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/1272] Fetching decree
[141/13975] Fetching decree, cryptoswift
Fetched https://github.com/drewag/Decree.git from cache (1.90s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.90s)
Computing version for https://github.com/drewag/Decree.git
Computed https://github.com/drewag/Decree.git at 4.4.0 (0.53s)
Fetching https://github.com/MaxDesiatov/XMLCoder.git
[1/10011] Fetching xmlcoder
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (1.20s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (0.61s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.54s)
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
Creating working copy for https://github.com/drewag/Decree.git
Working copy of https://github.com/drewag/Decree.git resolved at 4.4.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "decreeservices",
"name": "DecreeServices",
"url": "https://github.com/drewag/DecreeServices.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DecreeServices",
"dependencies": [
{
"identity": "decree",
"name": "Decree",
"url": "https://github.com/drewag/Decree.git",
"version": "4.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Decree",
"dependencies": [
{
"identity": "xmlcoder",
"name": "XMLCoder",
"url": "https://github.com/MaxDesiatov/XMLCoder.git",
"version": "0.17.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XMLCoder",
"dependencies": [
]
}
]
},
{
"identity": "cryptoswift",
"name": "CryptoSwift",
"url": "https://github.com/krzyzanowskim/CryptoSwift.git",
"version": "1.8.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CryptoSwift",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/drewag/DecreeServices.git
[6/251] Fetching decreeservices
Fetched https://github.com/drewag/DecreeServices.git from cache (1.02s)
Fetching https://github.com/drewag/Decree.git from cache
Fetching https://github.com/krzyzanowskim/CryptoSwift.git from cache
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (0.57s)
Fetched https://github.com/drewag/Decree.git from cache (0.57s)
Computing version for https://github.com/drewag/Decree.git
Computed https://github.com/drewag/Decree.git at 4.4.0 (0.02s)
Fetching https://github.com/MaxDesiatov/XMLCoder.git from cache
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (0.45s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (0.02s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.02s)
Creating working copy for https://github.com/drewag/DecreeServices.git
Working copy of https://github.com/drewag/DecreeServices.git resolved at master (4f9a087)
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/drewag/Decree.git
Working copy of https://github.com/drewag/Decree.git resolved at 4.4.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.3
warning: '.resolve-product-dependencies': dependency 'decreeservices' is not used by any target
Found 2 product dependencies
- Decree
- CryptoSwift
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/drewag/DecreeServices.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/6] Write sources
[1/6] Copying PrivacyInfo.xcprivacy
[1/6] Write sources
[5/6] Write swift-version--7754E27361AE5C74.txt
[7/156] Emitting module XMLCoder
[8/161] Emitting module CryptoSwift
[9/172] Compiling XMLCoder XMLEncodingStorage.swift
[10/172] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[11/172] Compiling XMLCoder XMLReferencingEncoder.swift
[12/172] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[13/172] Compiling CryptoSwift Subtraction.swift
[14/172] Compiling CryptoSwift WordsAndBits.swift
[15/172] Compiling CryptoSwift ChaCha20.swift
[16/172] Compiling CryptoSwift Checksum.swift
[17/172] Compiling CryptoSwift Cipher.swift
[18/172] Compiling CryptoSwift Collection+Extension.swift
[19/172] Compiling CryptoSwift CompactMap.swift
[20/172] Compiling CryptoSwift CCM.swift
[21/172] Compiling CryptoSwift CFB.swift
[22/172] Compiling CryptoSwift CTR.swift
[23/172] Compiling CryptoSwift CipherModeWorker.swift
[24/172] Compiling CryptoSwift ECB.swift
[25/172] Compiling CryptoSwift Cryptor.swift
[26/172] Compiling CryptoSwift Cryptors.swift
[27/172] Compiling CryptoSwift Digest.swift
[28/172] Compiling CryptoSwift DigestType.swift
[29/172] Compiling CryptoSwift AES+Foundation.swift
[30/172] Compiling CryptoSwift Array+Foundation.swift
[31/172] Compiling CryptoSwift Blowfish+Foundation.swift
[32/172] Compiling CryptoSwift ChaCha20+Foundation.swift
[33/172] Compiling CryptoSwift Data+Extension.swift
[34/172] Compiling CryptoSwift HMAC+Foundation.swift
[35/172] Compiling CryptoSwift Rabbit+Foundation.swift
[36/172] Compiling CryptoSwift Bit.swift
[37/172] Compiling CryptoSwift BlockCipher.swift
[38/172] Compiling CryptoSwift BlockDecryptor.swift
[39/172] Compiling CryptoSwift BlockEncryptor.swift
[40/172] Compiling CryptoSwift BlockMode.swift
[41/172] Compiling CryptoSwift BlockModeOptions.swift
[42/172] Compiling CryptoSwift CBC.swift
[48/172] Compiling CryptoSwift Operators.swift
[49/172] Compiling CryptoSwift DER.swift
[50/172] Compiling CryptoSwift PBKDF1.swift
[51/172] Compiling CryptoSwift PBKDF2.swift
[52/172] Compiling CryptoSwift PKCS1v15.swift
[53/172] Compiling CryptoSwift PKCS5.swift
[54/172] Compiling CryptoSwift PKCS7.swift
[55/172] Compiling CryptoSwift PKCS7Padding.swift
[56/172] Compiling CryptoSwift Padding.swift
[57/172] Compiling CryptoSwift Poly1305.swift
[58/172] Compiling XMLCoder XMLEncoderImplementation.swift
[69/172] Compiling CryptoSwift String+FoundationExtension.swift
[70/172] Compiling CryptoSwift Utils+Foundation.swift
[71/172] Compiling CryptoSwift XChaCha20+Foundation.swift
[72/172] Compiling CryptoSwift Generics.swift
[73/172] Compiling CryptoSwift HKDF.swift
[74/172] Compiling CryptoSwift HMAC.swift
[75/172] Compiling CryptoSwift ISO10126Padding.swift
[76/172] Compiling CryptoSwift ISO78164Padding.swift
[77/172] Compiling CryptoSwift Int+Extension.swift
[78/172] Compiling CryptoSwift MD5.swift
[79/172] Compiling CryptoSwift NoPadding.swift
[80/172] Compiling CryptoSwift AEAD.swift
[81/172] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[82/172] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[83/172] Compiling CryptoSwift AES.Cryptors.swift
[84/172] Compiling CryptoSwift AES.swift
[90/172] Compiling CryptoSwift ASN1.swift
[91/172] Compiling CryptoSwift ASN1Decoder.swift
[92/172] Compiling CryptoSwift ASN1Encoder.swift
[93/172] Compiling CryptoSwift ASN1Scanner.swift
[94/172] Compiling CryptoSwift Array+Extension.swift
[95/172] Compiling CryptoSwift Authenticator.swift
[96/172] Compiling CryptoSwift BatchedCollection.swift
[117/172] Compiling CryptoSwift String+Extension.swift
[118/172] Compiling CryptoSwift UInt128.swift
[121/172] Compiling CryptoSwift UInt16+Extension.swift
[122/172] Compiling CryptoSwift UInt32+Extension.swift
[125/172] Compiling CryptoSwift UInt64+Extension.swift
[127/172] Compiling CryptoSwift UInt8+Extension.swift
[128/172] Compiling CryptoSwift Updatable.swift
[129/172] Compiling CryptoSwift Utils.swift
[130/172] Compiling CryptoSwift XChaCha20.swift
[131/172] Compiling CryptoSwift ZeroPadding.swift
[132/172] Compiling CryptoSwift resource_bundle_accessor.swift
[133/172] Compiling CryptoSwift Codable.swift
[134/172] Compiling CryptoSwift Comparable.swift
[135/172] Compiling CryptoSwift DataConversion.swift
[136/172] Compiling CryptoSwift Division.swift
[137/172] Compiling CryptoSwift Exponentiation.swift
[138/172] Compiling CryptoSwift FloatingPointConversion.swift
[139/172] Compiling CryptoSwift GCD.swift
[140/172] Compiling CryptoSwift Hashable.swift
[141/172] Compiling CryptoSwift IntegerConversion.swift
[142/172] Compiling CryptoSwift Multiplication.swift
[143/172] Compiling CryptoSwift PrimeTest.swift
[144/172] Compiling CryptoSwift Random.swift
[150/172] Compiling CryptoSwift GCM.swift
[151/172] Compiling CryptoSwift OCB.swift
[152/172] Compiling CryptoSwift OFB.swift
[153/172] Compiling CryptoSwift PCBC.swift
[154/172] Compiling CryptoSwift Blowfish.swift
[155/172] Compiling CryptoSwift CBCMAC.swift
[156/172] Compiling CryptoSwift CMAC.swift
[157/172] Compiling CryptoSwift Addition.swift
[158/172] Compiling CryptoSwift BigInt.swift
[159/172] Compiling CryptoSwift BigUInt.swift
[160/172] Compiling CryptoSwift BitwiseOps.swift
[161/172] Compiling CryptoSwift CS.swift
[162/172] Compiling CryptoSwift RSA+Signature.swift
[163/172] Compiling CryptoSwift RSA.swift
[164/172] Compiling CryptoSwift Rabbit.swift
[165/172] Compiling CryptoSwift SHA1.swift
[166/172] Compiling CryptoSwift SHA2.swift
[167/172] Compiling CryptoSwift SHA3.swift
[168/172] Compiling CryptoSwift Scrypt.swift
[169/172] Compiling CryptoSwift SecureBytes.swift
[170/172] Compiling CryptoSwift Signature.swift
[171/172] Compiling CryptoSwift StreamDecryptor.swift
[172/172] Compiling CryptoSwift StreamEncryptor.swift
[173/208] Compiling Decree NSXMLParser_ErrorCode.swift
[174/208] Compiling Decree ProgressObserver.swift
[175/208] Compiling Decree RequestInput.swift
[176/208] Compiling Decree String+Helpers.swift
[177/211] Compiling Decree InputFormat.swift
[178/211] Compiling Decree Method.swift
[179/211] Compiling Decree NoBasicResponse.swift
[180/211] Compiling Decree OutputFormat.swift
[181/211] Compiling Decree EmptyResult.swift
[182/211] Compiling Decree ErrorHandling.swift
[183/211] Compiling Decree ErrorResponse.swift
[184/211] Compiling Decree File.swift
[185/211] Compiling Decree Expectations+Private.swift
[186/211] Compiling Decree FormDataEncoder.swift
[187/211] Compiling Decree FormURLEncoder.swift
[188/211] Compiling Decree HTTPStatus.swift
[189/211] Compiling Decree Authorization.swift
[190/211] Compiling Decree AuthorizationRequirement.swift
[191/211] Compiling Decree DecreeError.swift
[192/211] Compiling Decree DecreeErrorDescribable.swift
[193/211] Emitting module Decree
[194/211] Compiling Decree String+TitleCase.swift
[195/211] Compiling Decree URLRequest+Logging.swift
[196/211] Compiling Decree URLResponse+Logging.swift
[197/211] Compiling Decree Logger.swift
[198/211] Compiling Decree Expectations.swift
[199/211] Compiling Decree WebService+AllRequestHandling.swift
[200/211] Compiling Decree WebService+Mocking.swift
[201/211] Compiling Decree WebServiceMock.swift
[202/211] Compiling Decree DecreeRequest.swift
[203/211] Compiling Decree DispatchQueue+Async.swift
[204/211] Compiling Decree Endpoint+PrivateMakeRequest.swift
[205/211] Compiling Decree WebService+MakeRequest.swift
[206/211] Compiling Decree WebServiceMock+HandleRequest.swift
[207/211] Compiling Decree WebService.swift
[208/211] Compiling Decree Session.swift
[209/211] Compiling Decree Endpoint+MakeRequest.swift
[210/211] Compiling Decree Endpoint.swift
[211/211] Compiling Decree KeyValueEncoder.swift
[212/219] Compiling DecreeServices TestableDate.swift
/Users/admin/builder/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) {
[213/219] Compiling DecreeServices AWSS3+Private.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[214/219] Compiling DecreeServices GoogleAnalytics.swift
/Users/admin/builder/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?
/Users/admin/builder/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 |
/Users/admin/builder/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 | ///
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
[215/219] Compiling DecreeServices FreshDesk.swift
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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 | ///
[216/219] Compiling DecreeServices AppleAppStore.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | ///
/Users/admin/builder/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 |
[217/219] Compiling DecreeServices AWSS3.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | ///
/Users/admin/builder/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
/Users/admin/builder/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 | ///
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | ///
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {
[218/219] Compiling DecreeServices AWSS3+Mocking.swift
[219/219] Emitting module DecreeServices
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | ///
/Users/admin/builder/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
/Users/admin/builder/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 | ///
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | ///
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | ///
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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 | ///
/Users/admin/builder/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?
/Users/admin/builder/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 |
/Users/admin/builder/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 | ///
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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) {
Build complete! (31.27s)
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" : "/Users/admin/builder/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"
}
Done.