The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftAWSSignatureV4, reference 2.0.0 (fb039c), with Swift 6.1 for Linux on 28 Apr 2025 04:47:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
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.1
Building package at path:  $PWD
https://github.com/crspybits/SwiftAWSSignatureV4.git
https://github.com/crspybits/SwiftAWSSignatureV4.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "bluecryptor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.32",
            "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" : [
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "SwiftAWSSignatureV4",
      "targets" : [
        "SwiftAWSSignatureV4"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SwiftAWSSignatureV4Tests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAWSSignatureV4Tests",
      "path" : "Tests/SwiftAWSSignatureV4Tests",
      "sources" : [
        "HexTests.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.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[1/1654] Fetching bluecryptor
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.30s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (0.91s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.30s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (3.25s)
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 SSLPointerTricks.swift
[5/15] Compiling Cryptor Utilities.swift
[6/15] Compiling Cryptor Updatable.swift
[7/15] Compiling Cryptor KeyDerivation.swift
[8/15] Compiling Cryptor Random.swift
[9/15] Compiling Cryptor StreamCryptor.swift
[10/15] Compiling Cryptor Status.swift
[11/15] Emitting module Cryptor
[12/15] Compiling Cryptor Crypto.swift
[13/15] Compiling Cryptor Cryptor.swift
[14/15] Compiling Cryptor Digest.swift
[15/15] Compiling Cryptor HMAC.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 Chunking.swift
[19/21] Compiling SwiftAWSSignatureV4 String+Extensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/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: 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?
[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: 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?
/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling Cryptor Status.swift
[3/13] Emitting module Cryptor
[4/13] Compiling Cryptor SSLPointerTricks.swift
[5/13] Compiling Cryptor StreamCryptor.swift
[6/13] Compiling Cryptor Updatable.swift
[7/13] Compiling Cryptor KeyDerivation.swift
[8/13] Compiling Cryptor Random.swift
[9/13] Compiling Cryptor Utilities.swift
[10/13] Compiling Cryptor Crypto.swift
[11/13] Compiling Cryptor Cryptor.swift
[12/13] Compiling Cryptor Digest.swift
[13/13] Compiling Cryptor HMAC.swift
[15/19] 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
[16/19] Compiling SwiftAWSSignatureV4 Chunking.swift
[17/19] Compiling SwiftAWSSignatureV4 String+Extensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/19] Compiling SwiftAWSSignatureV4 AWSAccount.swift
[19/19] Emitting module SwiftAWSSignatureV4
/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.1 linux