Build Information
Successful build of DecreeServices, reference master (4f9a08
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 12:07:30 UTC.
Swift 6 data race errors: 16
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.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/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/drewag/Decree.git
[1/1272] Fetching decree
[141/14206] Fetching decree, cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.74s)
Fetched https://github.com/drewag/Decree.git from cache (1.74s)
Computing version for https://github.com/drewag/Decree.git
Computed https://github.com/drewag/Decree.git at 4.4.0 (2.37s)
Fetching https://github.com/MaxDesiatov/XMLCoder.git from cache
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (0.42s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (1.06s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.60s)
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.4
========================================
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.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CryptoSwift",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/drewag/DecreeServices.git
[1/251] Fetching decreeservices
Fetched https://github.com/drewag/DecreeServices.git from cache (0.90s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git from cache
Fetching https://github.com/drewag/Decree.git from cache
Fetched https://github.com/drewag/Decree.git from cache (0.56s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (0.56s)
Computing version for https://github.com/drewag/Decree.git
Computed https://github.com/drewag/Decree.git at 4.4.0 (0.62s)
Fetching https://github.com/MaxDesiatov/XMLCoder.git from cache
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (0.43s)
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.4 (0.03s)
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/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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
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.1
Building package at path: $PWD
https://github.com/drewag/DecreeServices.git
https://github.com/drewag/DecreeServices.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
[3/6] Copying PrivacyInfo.xcprivacy
[4/6] Write sources
[5/6] Write swift-version-2F0A5646E1D333AE.txt
[7/156] Emitting module XMLCoder
[8/161] Compiling CryptoSwift Bit.swift
[9/161] Compiling CryptoSwift BlockCipher.swift
[10/161] Compiling CryptoSwift BlockDecryptor.swift
[11/161] Compiling CryptoSwift BlockEncryptor.swift
[12/161] Compiling CryptoSwift BlockMode.swift
[13/161] Compiling XMLCoder XMLEncoderImplementation.swift
[14/161] Compiling XMLCoder XMLEncodingStorage.swift
[15/161] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[16/161] Compiling XMLCoder XMLReferencingEncoder.swift
[17/161] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[18/161] Compiling CryptoSwift ASN1Scanner.swift
[19/161] Compiling CryptoSwift Array+Extension.swift
[20/161] Compiling CryptoSwift Authenticator.swift
[21/161] Compiling CryptoSwift BatchedCollection.swift
[22/161] Compiling CryptoSwift GCM.swift
[23/161] Compiling CryptoSwift CipherModeWorker.swift
[24/161] Compiling CryptoSwift ECB.swift
[25/161] Compiling CryptoSwift AEAD.swift
[26/161] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[27/161] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[28/161] Compiling CryptoSwift AES.Cryptors.swift
[29/161] Compiling CryptoSwift AES.swift
[30/161] Compiling CryptoSwift ASN1.swift
[31/161] Compiling CryptoSwift ASN1Decoder.swift
[32/161] Compiling CryptoSwift ASN1Encoder.swift
[33/161] Compiling CryptoSwift CMAC.swift
[34/161] Compiling CryptoSwift Addition.swift
[35/161] Compiling CryptoSwift BigInt.swift
[36/161] Compiling CryptoSwift BigUInt.swift
[37/161] Compiling CryptoSwift BitwiseOps.swift
[38/161] Compiling CryptoSwift OCB.swift
[39/161] Compiling CryptoSwift OFB.swift
[40/161] Compiling CryptoSwift PCBC.swift
[41/161] Compiling CryptoSwift Blowfish.swift
[42/161] Compiling CryptoSwift CBCMAC.swift
[43/161] Compiling CryptoSwift Operators.swift
[44/161] Compiling CryptoSwift DER.swift
[45/161] Compiling CryptoSwift PBKDF1.swift
[46/161] Compiling CryptoSwift PBKDF2.swift
[47/161] Compiling CryptoSwift PKCS1v15.swift
[48/161] Compiling CryptoSwift PKCS5.swift
[49/161] Compiling CryptoSwift PKCS7.swift
[50/161] Compiling CryptoSwift PKCS7Padding.swift
[51/161] Compiling CryptoSwift Padding.swift
[52/161] Compiling CryptoSwift Poly1305.swift
[53/161] Compiling CryptoSwift RSA+Cipher.swift
[54/161] Compiling CryptoSwift BlockModeOptions.swift
[55/161] Compiling CryptoSwift CBC.swift
[56/161] Compiling CryptoSwift CCM.swift
[57/161] Compiling CryptoSwift CFB.swift
[58/161] Compiling CryptoSwift CTR.swift
[59/164] Compiling CryptoSwift Exponentiation.swift
[60/164] Compiling CryptoSwift FloatingPointConversion.swift
[61/164] Compiling CryptoSwift GCD.swift
[62/164] Compiling CryptoSwift Hashable.swift
[63/164] Compiling CryptoSwift IntegerConversion.swift
[64/164] Compiling CryptoSwift CS.swift
[65/165] Compiling CryptoSwift Codable.swift
[66/165] Compiling CryptoSwift Comparable.swift
[67/165] Compiling CryptoSwift DataConversion.swift
[68/165] Compiling CryptoSwift Division.swift
[71/172] Compiling CryptoSwift Strideable.swift
[72/172] Compiling CryptoSwift StringConversion.swift
[73/172] Compiling CryptoSwift Subtraction.swift
[74/172] Compiling CryptoSwift WordsAndBits.swift
[75/172] Compiling CryptoSwift ChaCha20.swift
[76/172] Compiling CryptoSwift Checksum.swift
[77/172] Compiling CryptoSwift Cipher.swift
[78/172] Compiling CryptoSwift Collection+Extension.swift
[79/172] Compiling CryptoSwift CompactMap.swift
[80/172] Emitting module CryptoSwift
[93/208] Compiling Decree NSXMLParser_ErrorCode.swift
[94/208] Compiling Decree ProgressObserver.swift
[95/208] Compiling Decree RequestInput.swift
[96/208] Compiling Decree String+Helpers.swift
[97/208] Compiling Decree Authorization.swift
[98/208] Compiling Decree AuthorizationRequirement.swift
[99/208] Compiling Decree DecreeError.swift
[100/208] Compiling Decree DecreeErrorDescribable.swift
[101/208] Compiling Decree Logger.swift
[102/208] Compiling Decree Expectations.swift
[103/208] Compiling Decree WebService+AllRequestHandling.swift
[104/208] Compiling Decree WebService+Mocking.swift
[105/208] Compiling Decree EmptyResult.swift
[106/208] Compiling Decree ErrorHandling.swift
[107/208] Compiling Decree ErrorResponse.swift
[108/208] Compiling Decree File.swift
[109/208] Compiling Decree Session.swift
[110/208] Compiling Decree Endpoint+MakeRequest.swift
[111/208] Compiling Decree Endpoint.swift
[112/208] Compiling Decree KeyValueEncoder.swift
[113/208] Compiling Decree WebServiceMock.swift
[114/208] Compiling Decree DecreeRequest.swift
[115/208] Compiling Decree DispatchQueue+Async.swift
[116/208] Compiling Decree Endpoint+PrivateMakeRequest.swift
[117/208] Compiling Decree String+TitleCase.swift
[118/208] Compiling Decree URLRequest+Logging.swift
[119/208] Compiling Decree URLResponse+Logging.swift
[120/208] Compiling Decree InputFormat.swift
[121/208] Compiling Decree Method.swift
[122/208] Compiling Decree NoBasicResponse.swift
[123/208] Compiling Decree OutputFormat.swift
[124/208] Compiling Decree Expectations+Private.swift
[125/208] Compiling Decree FormDataEncoder.swift
[126/208] Compiling Decree FormURLEncoder.swift
[127/208] Compiling Decree HTTPStatus.swift
[129/208] Emitting module Decree
[130/211] Compiling CryptoSwift String+Extension.swift
[131/211] Compiling CryptoSwift UInt128.swift
[132/211] Compiling CryptoSwift UInt16+Extension.swift
[133/211] Compiling CryptoSwift UInt32+Extension.swift
[134/211] Compiling CryptoSwift UInt64+Extension.swift
[135/211] Compiling CryptoSwift UInt8+Extension.swift
[136/211] Compiling CryptoSwift Updatable.swift
[137/211] Compiling CryptoSwift Utils.swift
[138/211] Compiling CryptoSwift XChaCha20.swift
[139/211] Compiling CryptoSwift ZeroPadding.swift
[140/211] Compiling CryptoSwift resource_bundle_accessor.swift
[160/211] Compiling Decree WebService+MakeRequest.swift
[161/211] Compiling Decree WebServiceMock+HandleRequest.swift
[162/211] Compiling Decree WebService.swift
[179/211] Compiling CryptoSwift Cryptor.swift
[180/211] Compiling CryptoSwift Cryptors.swift
[181/211] Compiling CryptoSwift Digest.swift
[182/211] Compiling CryptoSwift DigestType.swift
[183/211] Compiling CryptoSwift AES+Foundation.swift
[184/211] Compiling CryptoSwift Array+Foundation.swift
[185/211] Compiling CryptoSwift Blowfish+Foundation.swift
[186/211] Compiling CryptoSwift ChaCha20+Foundation.swift
[187/211] Compiling CryptoSwift Data+Extension.swift
[188/211] Compiling CryptoSwift HMAC+Foundation.swift
[189/211] Compiling CryptoSwift Rabbit+Foundation.swift
[190/211] Compiling CryptoSwift RSA+Signature.swift
[191/211] Compiling CryptoSwift RSA.swift
[192/211] Compiling CryptoSwift Rabbit.swift
[193/211] Compiling CryptoSwift SHA1.swift
[194/211] Compiling CryptoSwift SHA2.swift
[195/211] Compiling CryptoSwift SHA3.swift
[196/211] Compiling CryptoSwift Scrypt.swift
[197/211] Compiling CryptoSwift SecureBytes.swift
[198/211] Compiling CryptoSwift Signature.swift
[199/211] Compiling CryptoSwift StreamDecryptor.swift
[200/211] Compiling CryptoSwift StreamEncryptor.swift
[201/211] Compiling CryptoSwift String+FoundationExtension.swift
[202/211] Compiling CryptoSwift Utils+Foundation.swift
[203/211] Compiling CryptoSwift XChaCha20+Foundation.swift
[204/211] Compiling CryptoSwift Generics.swift
[205/211] Compiling CryptoSwift HKDF.swift
[206/211] Compiling CryptoSwift HMAC.swift
[207/211] Compiling CryptoSwift ISO10126Padding.swift
[208/211] Compiling CryptoSwift ISO78164Padding.swift
[209/211] Compiling CryptoSwift Int+Extension.swift
[210/211] Compiling CryptoSwift MD5.swift
[211/211] Compiling CryptoSwift NoPadding.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: add '@MainActor' to make static property 'faked' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'inputFormat' part of global actor 'MainActor'
| `- 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 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: add '@MainActor' to make static property 'outputFormat' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'outputFormat' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'outputFormat' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | public var baseURL: URL {
[216/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'inputFormat' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
| `- 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 | ///
[217/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: add '@MainActor' to make static property 'outputFormat' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'outputFormat' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'outputFormat' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'inputFormat' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'inputFormat' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'faked' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public static func startFakingNow(from: Date) {
[218/219] Compiling DecreeServices AWSS3+Mocking.swift
[219/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public let path = ""
56 |
Build complete! (9.57s)
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.