The Swift Package Index logo.Swift Package Index

Build Information

Successful build of JWT, reference master (45e5d4), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 16:16:12 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kylef/JSONWebToken.swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kylef/JSONWebToken.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/8] Emitting module JWA
[5/8] Compiling JWA JWA.swift
[6/8] Compiling JWA HMACCommonCrypto.swift
[7/8] Compiling JWA HMAC.swift
[8/8] Compiling JWA None.swift
[9/18] Compiling JWT Decode.swift
[10/18] Compiling JWT CompactJSONDecoder.swift
/Users/admin/builder/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 {
[11/18] Compiling JWT JOSEHeader.swift
[12/18] Compiling JWT Encode.swift
[13/19] Compiling JWT Base64.swift
[14/19] Compiling JWT Claims.swift
[15/19] Compiling JWT ClaimSet.swift
[16/19] Emitting module JWT
/Users/admin/builder/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 {
/Users/admin/builder/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()
[17/19] Compiling JWT Algorithm.swift
[18/19] Compiling JWT CompactJSONEncoder.swift
/Users/admin/builder/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()
[19/19] Compiling JWT JWT.swift
Build complete! (4.13s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JWT",
  "name" : "JWT",
  "path" : "/Users/admin/builder/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_memberships" : [
        "JWT"
      ],
      "sources" : [
        "HMAC/HMAC.swift",
        "HMAC/HMACCommonCrypto.swift",
        "JWA.swift",
        "None.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.