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 JWT, reference master (45e5d4), with Swift 6.1 for Linux on 25 Apr 2025 10:45:51 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path:  $PWD
https://github.com/kylef/JSONWebToken.swift.git
https://github.com/kylef/JSONWebToken.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/krzyzanowskim/CryptoSwift.git
[1/12934] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.46s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 0.15.0 (6.80s)
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 String+Extension.swift
[7/80] Compiling CryptoSwift UInt128.swift
[8/80] Compiling CryptoSwift UInt16+Extension.swift
[9/80] Compiling CryptoSwift UInt32+Extension.swift
[10/80] Compiling CryptoSwift UInt64+Extension.swift
[11/80] Compiling CryptoSwift UInt8+Extension.swift
[12/80] Compiling CryptoSwift Updatable.swift
[13/80] Compiling CryptoSwift Utils.swift
[14/80] Compiling CryptoSwift ZeroPadding.swift
[15/80] Compiling CryptoSwift BlockEncryptor.swift
[16/80] Compiling CryptoSwift BlockMode.swift
[17/80] Compiling CryptoSwift BlockModeOptions.swift
[18/80] Compiling CryptoSwift CBC.swift
[19/80] Compiling CryptoSwift CCM.swift
[20/80] Compiling CryptoSwift CFB.swift
[21/80] Compiling CryptoSwift CTR.swift
[22/80] Compiling CryptoSwift CipherModeWorker.swift
[23/80] Compiling CryptoSwift ECB.swift
[24/80] Compiling CryptoSwift GCM.swift
[25/80] Compiling CryptoSwift NoPadding.swift
[26/80] Compiling CryptoSwift Operators.swift
[27/80] Compiling CryptoSwift PBKDF1.swift
[28/80] Compiling CryptoSwift PBKDF2.swift
[29/80] Compiling CryptoSwift PKCS5.swift
[30/80] Compiling CryptoSwift PKCS7.swift
[31/80] Compiling CryptoSwift PKCS7Padding.swift
[32/80] Compiling CryptoSwift Padding.swift
[33/80] Compiling CryptoSwift Poly1305.swift
[34/80] Compiling CryptoSwift HMAC+Foundation.swift
[35/80] Compiling CryptoSwift Rabbit+Foundation.swift
[36/80] Compiling CryptoSwift String+FoundationExtension.swift
[37/80] Compiling CryptoSwift Utils+Foundation.swift
[38/80] Compiling CryptoSwift Generics.swift
[39/80] Compiling CryptoSwift HKDF.swift
[40/80] Compiling CryptoSwift HMAC.swift
[41/80] Compiling CryptoSwift Int+Extension.swift
[42/80] Compiling CryptoSwift MD5.swift
[43/80] Compiling CryptoSwift AEAD.swift
[44/80] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[45/80] Compiling CryptoSwift AES.Cryptors.swift
[46/80] Compiling CryptoSwift AES.swift
[47/80] Compiling CryptoSwift Array+Extension.swift
[48/80] Compiling CryptoSwift Authenticator.swift
[49/80] Compiling CryptoSwift BatchedCollection.swift
[50/80] Compiling CryptoSwift Bit.swift
[51/80] Compiling CryptoSwift BlockCipher.swift
[52/80] Compiling CryptoSwift BlockDecryptor.swift
[53/80] Compiling CryptoSwift Rabbit.swift
[54/80] Compiling CryptoSwift RandomBytesSequence.swift
[55/80] Compiling CryptoSwift SHA1.swift
[56/80] Compiling CryptoSwift SHA2.swift
[57/80] Compiling CryptoSwift SHA3.swift
[58/80] Compiling CryptoSwift Scrypt.swift
[59/80] Compiling CryptoSwift SecureBytes.swift
[60/80] Compiling CryptoSwift StreamDecryptor.swift
[61/80] Compiling CryptoSwift StreamEncryptor.swift
[62/80] Compiling CryptoSwift Cryptor.swift
[63/80] Compiling CryptoSwift Cryptors.swift
[64/80] Compiling CryptoSwift Digest.swift
[65/80] Compiling CryptoSwift DigestType.swift
[66/80] Compiling CryptoSwift AES+Foundation.swift
[67/80] Compiling CryptoSwift Array+Foundation.swift
[68/80] Compiling CryptoSwift Blowfish+Foundation.swift
[69/80] Compiling CryptoSwift ChaCha20+Foundation.swift
[70/80] Compiling CryptoSwift Data+Extension.swift
[71/80] Compiling CryptoSwift OFB.swift
[72/80] Compiling CryptoSwift PCBC.swift
[73/80] Compiling CryptoSwift Blowfish.swift
[74/80] Compiling CryptoSwift CBCMAC.swift
[75/80] Compiling CryptoSwift CMAC.swift
[76/80] Compiling CryptoSwift ChaCha20.swift
[77/80] Compiling CryptoSwift Checksum.swift
[78/80] Compiling CryptoSwift Cipher.swift
[79/80] Compiling CryptoSwift Collection+Extension.swift
[80/80] Compiling CryptoSwift CompactMap.swift
[82/86] Compiling JWA JWA.swift
[83/86] Compiling JWA None.swift
[84/86] Compiling JWA HMAC.swift
[85/86] Emitting module JWA
[86/86] Compiling JWA HMACCryptoSwift.swift
[88/97] 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()
[89/98] Compiling JWT Decode.swift
[90/98] Compiling JWT Encode.swift
[91/98] Compiling JWT JOSEHeader.swift
[92/98] Compiling JWT JWT.swift
[93/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 {
[94/98] Compiling JWT Algorithm.swift
[95/98] Compiling JWT Base64.swift
[96/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()
[97/98] Compiling JWT ClaimSet.swift
[98/98] Compiling JWT Claims.swift
Build complete! (24.27s)
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.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
Done.