Build Information
Successful build of SwiftAWSSignatureV4 with Swift 6.0 for Linux.
Swift 6 data race errors: 1
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crspybits/SwiftAWSSignatureV4.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/crspybits/SwiftAWSSignatureV4.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[1/1652] Fetching bluecryptor
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.38s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.32 (0.64s)
Fetching https://github.com/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git from cache (0.29s)
Computing version for https://github.com/IBM-Swift/OpenSSL.git
Computed https://github.com/IBM-Swift/OpenSSL.git at 2.3.1 (1.06s)
Creating working copy for https://github.com/IBM-Swift/OpenSSL.git
Working copy of https://github.com/IBM-Swift/OpenSSL.git resolved at 2.3.1
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling Cryptor Updatable.swift
[5/15] Compiling Cryptor SSLPointerTricks.swift
[6/15] Compiling Cryptor KeyDerivation.swift
[7/15] Compiling Cryptor Random.swift
[8/15] Compiling Cryptor Status.swift
[9/15] Compiling Cryptor StreamCryptor.swift
[10/15] Emitting module Cryptor
[11/15] Compiling Cryptor Crypto.swift
[12/15] Compiling Cryptor Cryptor.swift
[13/15] Compiling Cryptor Digest.swift
[14/15] Compiling Cryptor HMAC.swift
[15/15] Compiling Cryptor Utilities.swift
[17/21] Emitting module SwiftAWSSignatureV4
/host/spi-builder-workspace/Sources/SwiftAWSSignatureV4/AWSAccount.swift:44:13: warning: static property 'calendar' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'calendar' 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 | var aCalendar = Calendar(identifier: .gregorian)
46 | //TODO: can we do this on linux?
[18/21] Compiling SwiftAWSSignatureV4 String+Extensions.swift
[19/21] Compiling SwiftAWSSignatureV4 AWSAccount.swift
/host/spi-builder-workspace/Sources/SwiftAWSSignatureV4/AWSAccount.swift:44:13: warning: static property 'calendar' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'calendar' 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 | var aCalendar = Calendar(identifier: .gregorian)
46 | //TODO: can we do this on linux?
[20/21] Compiling SwiftAWSSignatureV4 Chunking.swift
[21/21] Compiling SwiftAWSSignatureV4 URLRequest+AWSAccountSigning.swift
Build complete! (14.65s)
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" : "/host/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.