The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of JWT, reference master (45e5d4), with Swift 6.0 for Linux on 31 Oct 2024 00:40:33 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kylef/JSONWebToken.swift.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/kylef/JSONWebToken.swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 45e5d4a Remove deprecated encode/decode methods, fix warnings and other… (#112)
Cloned https://github.com/kylef/JSONWebToken.swift.git
Revision (git rev-parse @):
45e5d4a0ff5a538d50b1cc3cb04a9b81f08eb95b
SUCCESS checkout https://github.com/kylef/JSONWebToken.swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kylef/JSONWebToken.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 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/krzyzanowskim/CryptoSwift.git
[1/12703] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.22s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 0.15.0 (2.03s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 0.15.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/71] Emitting module CryptoSwift
[6/80] Compiling CryptoSwift AEAD.swift
[7/80] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[8/80] Compiling CryptoSwift AES.Cryptors.swift
[9/80] Compiling CryptoSwift AES.swift
[10/80] Compiling CryptoSwift Array+Extension.swift
[11/80] Compiling CryptoSwift Authenticator.swift
[12/80] Compiling CryptoSwift BatchedCollection.swift
[13/80] Compiling CryptoSwift Bit.swift
[14/80] Compiling CryptoSwift BlockCipher.swift
[15/80] Compiling CryptoSwift BlockDecryptor.swift
[16/80] Compiling CryptoSwift OFB.swift
[17/80] Compiling CryptoSwift PCBC.swift
[18/80] Compiling CryptoSwift Blowfish.swift
[19/80] Compiling CryptoSwift CBCMAC.swift
[20/80] Compiling CryptoSwift CMAC.swift
[21/80] Compiling CryptoSwift ChaCha20.swift
[22/80] Compiling CryptoSwift Checksum.swift
[23/80] Compiling CryptoSwift Cipher.swift
[24/80] Compiling CryptoSwift Collection+Extension.swift
[25/80] Compiling CryptoSwift CompactMap.swift
[26/80] Compiling CryptoSwift BlockEncryptor.swift
[27/80] Compiling CryptoSwift BlockMode.swift
[28/80] Compiling CryptoSwift BlockModeOptions.swift
[29/80] Compiling CryptoSwift CBC.swift
[30/80] Compiling CryptoSwift CCM.swift
[31/80] Compiling CryptoSwift CFB.swift
[32/80] Compiling CryptoSwift CTR.swift
[33/80] Compiling CryptoSwift CipherModeWorker.swift
[34/80] Compiling CryptoSwift ECB.swift
[35/80] Compiling CryptoSwift GCM.swift
[36/80] Compiling CryptoSwift NoPadding.swift
[37/80] Compiling CryptoSwift Operators.swift
[38/80] Compiling CryptoSwift PBKDF1.swift
[39/80] Compiling CryptoSwift PBKDF2.swift
[40/80] Compiling CryptoSwift PKCS5.swift
[41/80] Compiling CryptoSwift PKCS7.swift
[42/80] Compiling CryptoSwift PKCS7Padding.swift
[43/80] Compiling CryptoSwift Padding.swift
[44/80] Compiling CryptoSwift Poly1305.swift
[45/80] Compiling CryptoSwift String+Extension.swift
[46/80] Compiling CryptoSwift UInt128.swift
[47/80] Compiling CryptoSwift UInt16+Extension.swift
[48/80] Compiling CryptoSwift UInt32+Extension.swift
[49/80] Compiling CryptoSwift UInt64+Extension.swift
[50/80] Compiling CryptoSwift UInt8+Extension.swift
[51/80] Compiling CryptoSwift Updatable.swift
[52/80] Compiling CryptoSwift Utils.swift
[53/80] Compiling CryptoSwift ZeroPadding.swift
[54/80] Compiling CryptoSwift Rabbit.swift
[55/80] Compiling CryptoSwift RandomBytesSequence.swift
[56/80] Compiling CryptoSwift SHA1.swift
[57/80] Compiling CryptoSwift SHA2.swift
[58/80] Compiling CryptoSwift SHA3.swift
[59/80] Compiling CryptoSwift Scrypt.swift
[60/80] Compiling CryptoSwift SecureBytes.swift
[61/80] Compiling CryptoSwift StreamDecryptor.swift
[62/80] Compiling CryptoSwift StreamEncryptor.swift
[63/80] Compiling CryptoSwift HMAC+Foundation.swift
[64/80] Compiling CryptoSwift Rabbit+Foundation.swift
[65/80] Compiling CryptoSwift String+FoundationExtension.swift
[66/80] Compiling CryptoSwift Utils+Foundation.swift
[67/80] Compiling CryptoSwift Generics.swift
[68/80] Compiling CryptoSwift HKDF.swift
[69/80] Compiling CryptoSwift HMAC.swift
[70/80] Compiling CryptoSwift Int+Extension.swift
[71/80] Compiling CryptoSwift MD5.swift
[72/80] Compiling CryptoSwift Cryptor.swift
[73/80] Compiling CryptoSwift Cryptors.swift
[74/80] Compiling CryptoSwift Digest.swift
[75/80] Compiling CryptoSwift DigestType.swift
[76/80] Compiling CryptoSwift AES+Foundation.swift
[77/80] Compiling CryptoSwift Array+Foundation.swift
[78/80] Compiling CryptoSwift Blowfish+Foundation.swift
[79/80] Compiling CryptoSwift ChaCha20+Foundation.swift
[80/80] Compiling CryptoSwift Data+Extension.swift
[82/86] Emitting module JWA
[83/86] Compiling JWA None.swift
[84/86] Compiling JWA HMACCryptoSwift.swift
[85/86] Compiling JWA HMAC.swift
[86/86] Compiling JWA JWA.swift
[88/97] Compiling JWT Encode.swift
[89/97] Compiling JWT JOSEHeader.swift
[90/98] Compiling JWT CompactJSONDecoder.swift
/host/spi-builder-workspace/Sources/JWT/CompactJSONDecoder.swift:3:7: warning: class 'CompactJSONDecoder' must restate inherited '@unchecked Sendable' conformance
 1 | import Foundation
 2 |
 3 | class CompactJSONDecoder: JSONDecoder {
   |       `- warning: class 'CompactJSONDecoder' must restate inherited '@unchecked Sendable' conformance
 4 |   override func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable {
 5 |     guard let string = String(data: data, encoding: .ascii) else {
[91/98] Compiling JWT Decode.swift
[92/98] Compiling JWT CompactJSONEncoder.swift
/host/spi-builder-workspace/Sources/JWT/CompactJSONEncoder.swift:4:7: warning: class 'CompactJSONEncoder' must restate inherited '@unchecked Sendable' conformance
 2 |
 3 |
 4 | class CompactJSONEncoder: JSONEncoder {
   |       `- warning: class 'CompactJSONEncoder' must restate inherited '@unchecked Sendable' conformance
 5 |   override func encode<T : Encodable>(_ value: T) throws -> Data {
 6 |     return try encodeString(value).data(using: .ascii) ?? Data()
[93/98] Compiling JWT JWT.swift
[94/98] Emitting module JWT
/host/spi-builder-workspace/Sources/JWT/CompactJSONDecoder.swift:3:7: warning: class 'CompactJSONDecoder' must restate inherited '@unchecked Sendable' conformance
 1 | import Foundation
 2 |
 3 | class CompactJSONDecoder: JSONDecoder {
   |       `- warning: class 'CompactJSONDecoder' must restate inherited '@unchecked Sendable' conformance
 4 |   override func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable {
 5 |     guard let string = String(data: data, encoding: .ascii) else {
/host/spi-builder-workspace/Sources/JWT/CompactJSONEncoder.swift:4:7: warning: class 'CompactJSONEncoder' must restate inherited '@unchecked Sendable' conformance
 2 |
 3 |
 4 | class CompactJSONEncoder: JSONEncoder {
   |       `- warning: class 'CompactJSONEncoder' must restate inherited '@unchecked Sendable' conformance
 5 |   override func encode<T : Encodable>(_ value: T) throws -> Data {
 6 |     return try encodeString(value).data(using: .ascii) ?? Data()
[95/98] Compiling JWT ClaimSet.swift
[96/98] Compiling JWT Claims.swift
[97/98] Compiling JWT Algorithm.swift
[98/98] Compiling JWT Base64.swift
Build complete! (18.39s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    }
  ],
  "manifest_display_name" : "JWT",
  "name" : "JWT",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JWT",
      "targets" : [
        "JWT"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JWTTests",
      "module_type" : "SwiftTarget",
      "name" : "JWTTests",
      "path" : "Tests/JWTTests",
      "sources" : [
        "ClaimSetTests.swift",
        "CompactJSONDecoderTests.swift",
        "CompactJSONEncoderTests.swift",
        "IntegrationTests.swift",
        "JWTDecodeTests.swift",
        "JWTEncodeTests.swift",
        "PayloadTests.swift"
      ],
      "target_dependencies" : [
        "JWT"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JWT",
      "module_type" : "SwiftTarget",
      "name" : "JWT",
      "path" : "Sources/JWT",
      "product_memberships" : [
        "JWT"
      ],
      "sources" : [
        "Algorithm.swift",
        "Base64.swift",
        "ClaimSet.swift",
        "Claims.swift",
        "CompactJSONDecoder.swift",
        "CompactJSONEncoder.swift",
        "Decode.swift",
        "Encode.swift",
        "JOSEHeader.swift",
        "JWT.swift"
      ],
      "target_dependencies" : [
        "JWA"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JWATests",
      "module_type" : "SwiftTarget",
      "name" : "JWATests",
      "path" : "Tests/JWATests",
      "sources" : [
        "HMACTests.swift",
        "NoneTests.swift"
      ],
      "target_dependencies" : [
        "JWA"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JWA",
      "module_type" : "SwiftTarget",
      "name" : "JWA",
      "path" : "Sources/JWA",
      "product_dependencies" : [
        "CryptoSwift"
      ],
      "product_memberships" : [
        "JWT"
      ],
      "sources" : [
        "HMAC/HMAC.swift",
        "HMAC/HMACCryptoSwift.swift",
        "JWA.swift",
        "None.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
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.