Build Information
Successful build of SwiftAWSSignatureV4, reference master (c66f2d
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 04:55:22 UTC.
Swift 6 data race errors: 1
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/crspybits/SwiftAWSSignatureV4.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/crspybits/SwiftAWSSignatureV4
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c66f2db Updated docs.
Cloned https://github.com/crspybits/SwiftAWSSignatureV4.git
Revision (git rev-parse @):
c66f2db1211ad1969e3d11791b9de62361c78f45
SUCCESS checkout https://github.com/crspybits/SwiftAWSSignatureV4.git at master
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[1/1654] Fetching bluecryptor
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.88s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.32 (1.49s)
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.32
========================================
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": "swiftawssignaturev4",
"name": "SwiftAWSSignatureV4",
"url": "https://github.com/crspybits/SwiftAWSSignatureV4.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftAWSSignatureV4",
"dependencies": [
{
"identity": "bluecryptor",
"name": "Cryptor",
"url": "https://github.com/IBM-Swift/BlueCryptor.git",
"version": "1.0.200",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueCryptor",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/crspybits/SwiftAWSSignatureV4.git
[3/209] Fetching swiftawssignaturev4
Fetched https://github.com/crspybits/SwiftAWSSignatureV4.git from cache (0.60s)
Fetching https://github.com/IBM-Swift/BlueCryptor.git from cache
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.48s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (1.05s)
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/crspybits/SwiftAWSSignatureV4.git
Working copy of https://github.com/crspybits/SwiftAWSSignatureV4.git resolved at master (c66f2db)
warning: '.resolve-product-dependencies': dependency 'swiftawssignaturev4' is not used by any target
Found 1 product dependencies
- Cryptor
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/crspybits/SwiftAWSSignatureV4.git
https://github.com/crspybits/SwiftAWSSignatureV4.git
{
"dependencies" : [
{
"identity" : "bluecryptor",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/IBM-Swift/BlueCryptor.git"
}
],
"manifest_display_name" : "SwiftAWSSignatureV4",
"name" : "SwiftAWSSignatureV4",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftAWSSignatureV4",
"targets" : [
"SwiftAWSSignatureV4"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"5"
],
"targets" : [
{
"c99name" : "SwiftAWSSignatureV4Tests",
"module_type" : "SwiftTarget",
"name" : "SwiftAWSSignatureV4Tests",
"path" : "Tests/SwiftAWSSignatureV4Tests",
"sources" : [
"HexTests.swift",
"SigningTests.swift"
],
"target_dependencies" : [
"SwiftAWSSignatureV4"
],
"type" : "test"
},
{
"c99name" : "SwiftAWSSignatureV4",
"module_type" : "SwiftTarget",
"name" : "SwiftAWSSignatureV4",
"path" : "Sources/SwiftAWSSignatureV4",
"product_dependencies" : [
"Cryptor"
],
"product_memberships" : [
"SwiftAWSSignatureV4"
],
"sources" : [
"AWSAccount.swift",
"Chunking.swift",
"String+Extensions.swift",
"URLRequest+AWSAccountSigning.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/14] Compiling Cryptor Crypto.swift
[5/14] Compiling Cryptor Cryptor.swift
[6/14] Compiling Cryptor Random.swift
[7/14] Compiling Cryptor Updatable.swift
[8/14] Compiling Cryptor StreamCryptor.swift
[9/14] Compiling Cryptor SSLPointerTricks.swift
[10/14] Compiling Cryptor Status.swift
[11/14] Compiling Cryptor KeyDerivation.swift
[12/14] Emitting module Cryptor
[13/14] Compiling Cryptor Digest.swift
[14/14] Compiling Cryptor HMAC.swift
[15/15] Compiling Cryptor Utilities.swift
[16/20] Compiling SwiftAWSSignatureV4 AWSAccount.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAWSSignatureV4/AWSAccount.swift:44:13: warning: static property 'calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | static var calendar:Calendar = { ()->(Calendar) in
| |- warning: static property 'calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'calendar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'calendar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | var aCalendar = Calendar(identifier: .gregorian)
46 | //TODO: can we do this on linux?
[17/20] Compiling SwiftAWSSignatureV4 URLRequest+AWSAccountSigning.swift
[18/20] Compiling SwiftAWSSignatureV4 String+Extensions.swift
[19/20] Emitting module SwiftAWSSignatureV4
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAWSSignatureV4/AWSAccount.swift:44:13: warning: static property 'calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | static var calendar:Calendar = { ()->(Calendar) in
| |- warning: static property 'calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'calendar' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'calendar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | var aCalendar = Calendar(identifier: .gregorian)
46 | //TODO: can we do this on linux?
[20/20] Compiling SwiftAWSSignatureV4 Chunking.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAWSSignatureV4/Chunking.swift:199:5: warning: capture of 'runloop' with non-sendable type 'RunLoop' in a '@Sendable' closure
197 | ,let (runloop, mode) = scheduledRunLoopsMode {
198 | delayQueue.asyncAfter(wallDeadline: .now() + 0.00001, execute: {
199 | runloop.perform(#selector(ChunkedStream.triggerSendingHasBytesAvailable), target: self, argument: nil, order: 0, modes: [mode])
| `- warning: capture of 'runloop' with non-sendable type 'RunLoop' in a '@Sendable' closure
200 | })
201 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h:16:12: note: class 'RunLoop' does not conform to the 'Sendable' protocol
14 | FOUNDATION_EXPORT NSRunLoopMode const NSRunLoopCommonModes API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
15 |
16 | @interface NSRunLoop : NSObject
| `- note: class 'RunLoop' does not conform to the 'Sendable' protocol
17 |
18 | @property (class, readonly, strong) NSRunLoop *currentRunLoop NS_SWIFT_UNAVAILABLE_FROM_ASYNC("currentRunLoop cannot be used from async contexts.");
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAWSSignatureV4/Chunking.swift:199:87: warning: capture of 'self' with non-sendable type 'ChunkedStream' in a '@Sendable' closure
145 |
146 |
147 | @objc public class ChunkedStream : InputStream, StreamDelegate {
| `- note: class 'ChunkedStream' does not conform to the 'Sendable' protocol
148 |
149 | static let readBufferSize:Int = 8192
:
197 | ,let (runloop, mode) = scheduledRunLoopsMode {
198 | delayQueue.asyncAfter(wallDeadline: .now() + 0.00001, execute: {
199 | runloop.perform(#selector(ChunkedStream.triggerSendingHasBytesAvailable), target: self, argument: nil, order: 0, modes: [mode])
| `- warning: capture of 'self' with non-sendable type 'ChunkedStream' in a '@Sendable' closure
200 | })
201 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAWSSignatureV4/Chunking.swift:205:6: warning: capture of 'runloop' with non-sendable type 'RunLoop' in a '@Sendable' closure
203 | if let (runloop, mode) = scheduledRunLoopsMode {
204 | delayQueue.asyncAfter(wallDeadline: .now() + 0.00001, execute: {
205 | runloop.perform(#selector(ChunkedStream.triggerSendingEnd), target: self, argument: nil, order: 1, modes: [mode])
| `- warning: capture of 'runloop' with non-sendable type 'RunLoop' in a '@Sendable' closure
206 | })
207 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h:16:12: note: class 'RunLoop' does not conform to the 'Sendable' protocol
14 | FOUNDATION_EXPORT NSRunLoopMode const NSRunLoopCommonModes API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
15 |
16 | @interface NSRunLoop : NSObject
| `- note: class 'RunLoop' does not conform to the 'Sendable' protocol
17 |
18 | @property (class, readonly, strong) NSRunLoop *currentRunLoop NS_SWIFT_UNAVAILABLE_FROM_ASYNC("currentRunLoop cannot be used from async contexts.");
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAWSSignatureV4/Chunking.swift:205:74: warning: capture of 'self' with non-sendable type 'ChunkedStream' in a '@Sendable' closure
145 |
146 |
147 | @objc public class ChunkedStream : InputStream, StreamDelegate {
| `- note: class 'ChunkedStream' does not conform to the 'Sendable' protocol
148 |
149 | static let readBufferSize:Int = 8192
:
203 | if let (runloop, mode) = scheduledRunLoopsMode {
204 | delayQueue.asyncAfter(wallDeadline: .now() + 0.00001, execute: {
205 | runloop.perform(#selector(ChunkedStream.triggerSendingEnd), target: self, argument: nil, order: 1, modes: [mode])
| `- warning: capture of 'self' with non-sendable type 'ChunkedStream' in a '@Sendable' closure
206 | })
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAWSSignatureV4/Chunking.swift:212:6: warning: capture of 'runloop' with non-sendable type 'RunLoop' in a '@Sendable' closure
210 | if let (runloop, mode) = scheduledRunLoopsMode {
211 | delayQueue.asyncAfter(wallDeadline: .now() + 0.00001, execute: {
212 | runloop.perform(#selector(ChunkedStream.triggerSendingHasBytesAvailable), target: self, argument: nil, order: 1, modes: [mode])
| `- warning: capture of 'runloop' with non-sendable type 'RunLoop' in a '@Sendable' closure
213 | })
214 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h:16:12: note: class 'RunLoop' does not conform to the 'Sendable' protocol
14 | FOUNDATION_EXPORT NSRunLoopMode const NSRunLoopCommonModes API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
15 |
16 | @interface NSRunLoop : NSObject
| `- note: class 'RunLoop' does not conform to the 'Sendable' protocol
17 |
18 | @property (class, readonly, strong) NSRunLoop *currentRunLoop NS_SWIFT_UNAVAILABLE_FROM_ASYNC("currentRunLoop cannot be used from async contexts.");
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAWSSignatureV4/Chunking.swift:212:88: warning: capture of 'self' with non-sendable type 'ChunkedStream' in a '@Sendable' closure
145 |
146 |
147 | @objc public class ChunkedStream : InputStream, StreamDelegate {
| `- note: class 'ChunkedStream' does not conform to the 'Sendable' protocol
148 |
149 | static let readBufferSize:Int = 8192
:
210 | if let (runloop, mode) = scheduledRunLoopsMode {
211 | delayQueue.asyncAfter(wallDeadline: .now() + 0.00001, execute: {
212 | runloop.perform(#selector(ChunkedStream.triggerSendingHasBytesAvailable), target: self, argument: nil, order: 1, modes: [mode])
| `- warning: capture of 'self' with non-sendable type 'ChunkedStream' in a '@Sendable' closure
213 | })
214 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAWSSignatureV4/Chunking.swift:363:6: warning: capture of 'runloop' with non-sendable type 'RunLoop' in a '@Sendable' closure
361 | if let (runloop, mode) = scheduledRunLoopsMode {
362 | delayQueue.asyncAfter(wallDeadline: .now() + 0.00001, execute: {
363 | runloop.perform(#selector(ChunkedStream.triggerSendingHasBytesAvailable), target: self, argument: nil, order: 0, modes: [mode])
| `- warning: capture of 'runloop' with non-sendable type 'RunLoop' in a '@Sendable' closure
364 | })
365 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h:16:12: note: class 'RunLoop' does not conform to the 'Sendable' protocol
14 | FOUNDATION_EXPORT NSRunLoopMode const NSRunLoopCommonModes API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0));
15 |
16 | @interface NSRunLoop : NSObject
| `- note: class 'RunLoop' does not conform to the 'Sendable' protocol
17 |
18 | @property (class, readonly, strong) NSRunLoop *currentRunLoop NS_SWIFT_UNAVAILABLE_FROM_ASYNC("currentRunLoop cannot be used from async contexts.");
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAWSSignatureV4/Chunking.swift:363:88: warning: capture of 'self' with non-sendable type 'ChunkedStream' in a '@Sendable' closure
145 |
146 |
147 | @objc public class ChunkedStream : InputStream, StreamDelegate {
| `- note: class 'ChunkedStream' does not conform to the 'Sendable' protocol
148 |
149 | static let readBufferSize:Int = 8192
:
361 | if let (runloop, mode) = scheduledRunLoopsMode {
362 | delayQueue.asyncAfter(wallDeadline: .now() + 0.00001, execute: {
363 | runloop.perform(#selector(ChunkedStream.triggerSendingHasBytesAvailable), target: self, argument: nil, order: 0, modes: [mode])
| `- warning: capture of 'self' with non-sendable type 'ChunkedStream' in a '@Sendable' closure
364 | })
365 | }
Build complete! (6.59s)
Build complete.
{
"dependencies" : [
{
"identity" : "bluecryptor",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/IBM-Swift/BlueCryptor.git"
}
],
"manifest_display_name" : "SwiftAWSSignatureV4",
"name" : "SwiftAWSSignatureV4",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftAWSSignatureV4",
"targets" : [
"SwiftAWSSignatureV4"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"5"
],
"targets" : [
{
"c99name" : "SwiftAWSSignatureV4Tests",
"module_type" : "SwiftTarget",
"name" : "SwiftAWSSignatureV4Tests",
"path" : "Tests/SwiftAWSSignatureV4Tests",
"sources" : [
"HexTests.swift",
"SigningTests.swift"
],
"target_dependencies" : [
"SwiftAWSSignatureV4"
],
"type" : "test"
},
{
"c99name" : "SwiftAWSSignatureV4",
"module_type" : "SwiftTarget",
"name" : "SwiftAWSSignatureV4",
"path" : "Sources/SwiftAWSSignatureV4",
"product_dependencies" : [
"Cryptor"
],
"product_memberships" : [
"SwiftAWSSignatureV4"
],
"sources" : [
"AWSAccount.swift",
"Chunking.swift",
"String+Extensions.swift",
"URLRequest+AWSAccountSigning.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.