Build Information
Failed to build SwiftAWSSignatureV4, reference 2.0.0 (fb039c
), with Swift 6.0 for Linux on 30 Nov 2024 10:27:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crspybits/SwiftAWSSignatureV4.git
Reference: 2.0.0
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
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at fb039c4 Upgrade to Swift 5, & upgrade BlueCryptor dependency version. Use basic http dates Correct query encoding Specify minimum mac version 10.11
Cloned https://github.com/crspybits/SwiftAWSSignatureV4.git
Revision (git rev-parse @):
fb039c4ae7002aa2e8296f12d3ced2d23d70ac27
SUCCESS checkout https://github.com/crspybits/SwiftAWSSignatureV4.git at 2.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/crspybits/SwiftAWSSignatureV4.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[1/1640] Fetching bluecryptor
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.26s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (0.43s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.18s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.84s)
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/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling Cryptor Status.swift
[5/14] Compiling Cryptor StreamCryptor.swift
[6/15] Compiling Cryptor SSLPointerTricks.swift
[7/15] Compiling Cryptor KeyDerivation.swift
[8/15] Compiling Cryptor Random.swift
[9/15] Compiling Cryptor Updatable.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] Compiling SwiftAWSSignatureV4 URLRequest+AWSAccountSigning.swift
/host/spi-builder-workspace/Sources/SwiftAWSSignatureV4/URLRequest+AWSAccountSigning.swift:26:11: error: cannot find type 'URLRequest' in scope
24 |
25 |
26 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | ///adds an Authorization header
[18/21] Compiling SwiftAWSSignatureV4 String+Extensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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 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: 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] Emitting module SwiftAWSSignatureV4
/host/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: 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?
/host/spi-builder-workspace/Sources/SwiftAWSSignatureV4/URLRequest+AWSAccountSigning.swift:26:11: error: cannot find type 'URLRequest' in scope
24 |
25 |
26 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
27 |
28 | ///adds an Authorization header
BUILD FAILURE 6.0 linux