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

Successful build of SwiftAWSSignatureV4, reference master (c66f2d), with Swift 6.0 for Linux on 30 Nov 2024 10:27:27 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 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:  $PWD
https://github.com/crspybits/SwiftAWSSignatureV4.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.23s)
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.17s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.83s)
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/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.200
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling Cryptor StreamCryptor.swift
[5/14] Compiling Cryptor Status.swift
[6/14] Compiling Cryptor Updatable.swift
[7/15] Compiling Cryptor SSLPointerTricks.swift
[8/15] Compiling Cryptor Digest.swift
[9/15] Compiling Cryptor HMAC.swift
[10/15] Compiling Cryptor Crypto.swift
[11/15] Compiling Cryptor Cryptor.swift
[12/15] Emitting module Cryptor
[13/15] Compiling Cryptor KeyDerivation.swift
[14/15] Compiling Cryptor Random.swift
[15/15] Compiling Cryptor Utilities.swift
[17/21] Compiling SwiftAWSSignatureV4 Chunking.swift
[18/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?
[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 URLRequest+AWSAccountSigning.swift
[21/21] Compiling SwiftAWSSignatureV4 String+Extensions.swift
Build complete! (19.83s)
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"
}
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
Done.