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.0 for Linux on 26 Nov 2024 12:56:00 UTC.

Swift 6 data race errors: 0

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.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-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/krzyzanowskim/CryptoSwift.git
[1/12703] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.10s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 0.15.0 (1.78s)
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 NoPadding.swift
[17/80] Compiling CryptoSwift Operators.swift
[18/80] Compiling CryptoSwift PBKDF1.swift
[19/80] Compiling CryptoSwift PBKDF2.swift
[20/80] Compiling CryptoSwift PKCS5.swift
[21/80] Compiling CryptoSwift PKCS7.swift
[22/80] Compiling CryptoSwift PKCS7Padding.swift
[23/80] Compiling CryptoSwift Padding.swift
[24/80] Compiling CryptoSwift Poly1305.swift
[25/80] Compiling CryptoSwift OFB.swift
[26/80] Compiling CryptoSwift PCBC.swift
[27/80] Compiling CryptoSwift Blowfish.swift
[28/80] Compiling CryptoSwift CBCMAC.swift
[29/80] Compiling CryptoSwift CMAC.swift
[30/80] Compiling CryptoSwift ChaCha20.swift
[31/80] Compiling CryptoSwift Checksum.swift
[32/80] Compiling CryptoSwift Cipher.swift
[33/80] Compiling CryptoSwift Collection+Extension.swift
[34/80] Compiling CryptoSwift CompactMap.swift
[35/80] Compiling CryptoSwift Rabbit.swift
[36/80] Compiling CryptoSwift RandomBytesSequence.swift
[37/80] Compiling CryptoSwift SHA1.swift
[38/80] Compiling CryptoSwift SHA2.swift
[39/80] Compiling CryptoSwift SHA3.swift
[40/80] Compiling CryptoSwift Scrypt.swift
[41/80] Compiling CryptoSwift SecureBytes.swift
[42/80] Compiling CryptoSwift StreamDecryptor.swift
[43/80] Compiling CryptoSwift StreamEncryptor.swift
[44/80] Compiling CryptoSwift HMAC+Foundation.swift
[45/80] Compiling CryptoSwift Rabbit+Foundation.swift
[46/80] Compiling CryptoSwift String+FoundationExtension.swift
[47/80] Compiling CryptoSwift Utils+Foundation.swift
[48/80] Compiling CryptoSwift Generics.swift
[49/80] Compiling CryptoSwift HKDF.swift
[50/80] Compiling CryptoSwift HMAC.swift
[51/80] Compiling CryptoSwift Int+Extension.swift
[52/80] Compiling CryptoSwift MD5.swift
[53/80] Compiling CryptoSwift Cryptor.swift
[54/80] Compiling CryptoSwift Cryptors.swift
[55/80] Compiling CryptoSwift Digest.swift
[56/80] Compiling CryptoSwift DigestType.swift
[57/80] Compiling CryptoSwift AES+Foundation.swift
[58/80] Compiling CryptoSwift Array+Foundation.swift
[59/80] Compiling CryptoSwift Blowfish+Foundation.swift
[60/80] Compiling CryptoSwift ChaCha20+Foundation.swift
[61/80] Compiling CryptoSwift Data+Extension.swift
[62/80] Compiling CryptoSwift BlockEncryptor.swift
[63/80] Compiling CryptoSwift BlockMode.swift
[64/80] Compiling CryptoSwift BlockModeOptions.swift
[65/80] Compiling CryptoSwift CBC.swift
[66/80] Compiling CryptoSwift CCM.swift
[67/80] Compiling CryptoSwift CFB.swift
[68/80] Compiling CryptoSwift CTR.swift
[69/80] Compiling CryptoSwift CipherModeWorker.swift
[70/80] Compiling CryptoSwift ECB.swift
[71/80] Compiling CryptoSwift GCM.swift
[72/80] Compiling CryptoSwift String+Extension.swift
[73/80] Compiling CryptoSwift UInt128.swift
[74/80] Compiling CryptoSwift UInt16+Extension.swift
[75/80] Compiling CryptoSwift UInt32+Extension.swift
[76/80] Compiling CryptoSwift UInt64+Extension.swift
[77/80] Compiling CryptoSwift UInt8+Extension.swift
[78/80] Compiling CryptoSwift Updatable.swift
[79/80] Compiling CryptoSwift Utils.swift
[80/80] Compiling CryptoSwift ZeroPadding.swift
[82/86] Compiling JWA HMAC.swift
[83/86] Compiling JWA HMACCryptoSwift.swift
[84/86] Compiling JWA JWA.swift
[85/86] Emitting module JWA
[86/86] Compiling JWA None.swift
[88/97] Compiling JWT JOSEHeader.swift
[89/97] Compiling JWT Encode.swift
[90/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()
[91/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 {
[92/98] Compiling JWT Decode.swift
[93/98] Compiling JWT JWT.swift
[94/98] Compiling JWT Algorithm.swift
[95/98] Compiling JWT Base64.swift
[96/98] Compiling JWT ClaimSet.swift
[97/98] Compiling JWT Claims.swift
[98/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()
Build complete! (15.89s)
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.