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

Failed to build Paseto, reference 1.2.0 (811e25), with Swift 6.0 for watchOS using Xcode 16.0 on 3 Nov 2024 00:40:02 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Paseto -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aidantwoods/swift-paseto.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aidantwoods/swift-paseto
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 811e258 Merge pull request #18 from frederikbosch/patch-2
Cloned https://github.com/aidantwoods/swift-paseto.git
Revision (git rev-parse @):
811e2589a7eb65c16a39e64841034e11daa803a2
SUCCESS checkout https://github.com/aidantwoods/swift-paseto.git at 1.2.0
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/aidantwoods/swift-paseto.git
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/aidantwoods/swift-sodium.git
Fetching from https://github.com/krzyzanowskim/CryptoSwift.git
Fetching from https://github.com/aidantwoods/TypedJSON.git
Creating working copy of package ‘TypedJSON’
Checking out 0.1.2 of package ‘TypedJSON’
Creating working copy of package ‘swift-sodium’
Checking out full-clibsodium-build (eeb18f6) of package ‘swift-sodium’
Creating working copy of package ‘CryptoSwift’
Checking out 1.8.3 of package ‘CryptoSwift’
Resolve Package Graph
Resolved source packages:
  Paseto: /Users/admin/builder/spi-builder-workspace
  CryptoSwift: https://github.com/krzyzanowskim/CryptoSwift.git @ 1.8.3
  TypedJSON: https://github.com/aidantwoods/TypedJSON.git @ 0.1.2
  Sodium: https://github.com/aidantwoods/swift-sodium.git @ full-clibsodium-build (eeb18f6)
resolved source packages: Paseto, CryptoSwift, TypedJSON, Sodium
{
  "dependencies" : [
    {
      "identity" : "swift-sodium",
      "requirement" : {
        "branch" : [
          "full-clibsodium-build"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/aidantwoods/swift-sodium.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    },
    {
      "identity" : "typedjson",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.2",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/aidantwoods/TypedJSON.git"
    }
  ],
  "manifest_display_name" : "Paseto",
  "name" : "Paseto",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "Paseto",
      "targets" : [
        "Paseto"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PasetoTests",
      "module_type" : "SwiftTarget",
      "name" : "PasetoTests",
      "path" : "Tests/PasetoTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PasetoTests/TestVectors",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ClaimsTest.swift",
        "KeyTest.swift",
        "TokenTest.swift",
        "VectorTests.swift",
        "Version1Test.swift",
        "Version2Test.swift",
        "Version3Test.swift",
        "Version4Test.swift"
      ],
      "target_dependencies" : [
        "Paseto"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Paseto",
      "module_type" : "SwiftTarget",
      "name" : "Paseto",
      "path" : "Sources/Paseto",
      "product_dependencies" : [
        "Clibsodium",
        "Sodium",
        "CryptoSwift",
        "TypedJSON"
      ],
      "product_memberships" : [
        "Paseto"
      ],
      "sources" : [
        "BytesRepresentable.swift",
        "BytesRepresentables/ArraySlice.swift",
        "BytesRepresentables/Bytes.swift",
        "BytesRepresentables/Data+Extension.swift",
        "BytesRepresentables/String+Extension.swift",
        "Header.swift",
        "Implementations/Module.swift",
        "Implementations/Version.swift",
        "Implementations/Version1.swift",
        "Implementations/Version1/Local/V1LocalPayload.swift",
        "Implementations/Version1/Local/V1LocalSymmetricKey.swift",
        "Implementations/Version1/V1Local.swift",
        "Implementations/Version2.swift",
        "Implementations/Version2/Local/V2LocalPayload.swift",
        "Implementations/Version2/Local/V2LocalSymmetricKey.swift",
        "Implementations/Version2/Public/V2PublicAsymmetricPublicKey.swift",
        "Implementations/Version2/Public/V2PublicAsymmetricSecretKey.swift",
        "Implementations/Version2/Public/V2PublicPayload.swift",
        "Implementations/Version2/V2Local.swift",
        "Implementations/Version2/V2Public.swift",
        "Implementations/Version3.swift",
        "Implementations/Version3/Local/V3LocalPayload.swift",
        "Implementations/Version3/Local/V3LocalSymmetricKey.swift",
        "Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift",
        "Implementations/Version3/Public/V3PublicAsymmetricSecretKey.swift",
        "Implementations/Version3/Public/V3PublicPayload.swift",
        "Implementations/Version3/V3Local.swift",
        "Implementations/Version3/V3Public.swift",
        "Implementations/Version4.swift",
        "Implementations/Version4/Local/V4LocalPayload.swift",
        "Implementations/Version4/Local/V4LocalSymmetricKey.swift",
        "Implementations/Version4/Public/V4PublicAsymmetricPublicKey.swift",
        "Implementations/Version4/Public/V4PublicAsymmetricSecretKey.swift",
        "Implementations/Version4/Public/V4PublicPayload.swift",
        "Implementations/Version4/V4Local.swift",
        "Implementations/Version4/V4Public.swift",
        "Keys/AsymmetricPublicKey.swift",
        "Keys/AsymmetricSecretKey.swift",
        "Keys/Key.swift",
        "Keys/SymmetricKey.swift",
        "Message.swift",
        "Package.swift",
        "Parser.swift",
        "Payload.swift",
        "Purpose.swift",
        "Purposes/Base/BaseLocal.swift",
        "Purposes/Base/BasePublic.swift",
        "Purposes/Deferred/DeferredLocal.swift",
        "Purposes/Deferred/DeferredPublic.swift",
        "Purposes/Local.swift",
        "Purposes/NonThrowing/NonThrowingLocalEncrypt.swift",
        "Purposes/NonThrowing/NonThrowingPublicSign.swift",
        "Purposes/Public.swift",
        "Rules.swift",
        "Sodium.swift",
        "Sodium/Aead.swift",
        "Sodium/XChaCha20.swift",
        "StdLibExtensions/String.swift",
        "Token.swift",
        "Util.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Paseto"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Paseto -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme Paseto -destination generic/platform=watchOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  Paseto: /Users/admin/builder/spi-builder-workspace
  TypedJSON: https://github.com/aidantwoods/TypedJSON.git @ 0.1.2
  CryptoSwift: https://github.com/krzyzanowskim/CryptoSwift.git @ 1.8.3
  Sodium: https://github.com/aidantwoods/swift-sodium.git @ full-clibsodium-build (eeb18f6)
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (10 targets)
    Target 'Paseto' in project 'Paseto'
        ➜ Explicit dependency on target 'Paseto' in project 'Paseto'
        ➜ Explicit dependency on target 'Clibsodium' in project 'Sodium'
        ➜ Explicit dependency on target 'Sodium' in project 'Sodium'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
        ➜ Explicit dependency on target 'TypedJSON' in project 'TypedJSON'
    Target 'Paseto' in project 'Paseto'
        ➜ Explicit dependency on target 'Clibsodium' in project 'Sodium'
        ➜ Explicit dependency on target 'Sodium' in project 'Sodium'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
        ➜ Explicit dependency on target 'TypedJSON' in project 'TypedJSON'
    Target 'TypedJSON' in project 'TypedJSON'
        ➜ Explicit dependency on target 'TypedJSON' in project 'TypedJSON'
    Target 'TypedJSON' in project 'TypedJSON' (no dependencies)
    Target 'CryptoSwift' in project 'CryptoSwift'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
        ➜ Explicit dependency on target 'CryptoSwift_CryptoSwift' in project 'CryptoSwift'
    Target 'CryptoSwift' in project 'CryptoSwift'
        ➜ Explicit dependency on target 'CryptoSwift_CryptoSwift' in project 'CryptoSwift'
    Target 'CryptoSwift_CryptoSwift' in project 'CryptoSwift' (no dependencies)
    Target 'Sodium' in project 'Sodium'
        ➜ Explicit dependency on target 'Sodium' in project 'Sodium'
    Target 'Sodium' in project 'Sodium' (no dependencies)
    Target 'Clibsodium' in project 'Sodium' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 1770af480da82db563864cd9f1b8101b
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/1770af480da82db563864cd9f1b8101b.xcbuilddata
error: The package product 'Clibsodium' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'Paseto' from project 'Paseto')
error: The package product 'Sodium' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'Paseto' from project 'Paseto')
error: The package product 'TypedJSON' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'Paseto' from project 'Paseto')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme Paseto
(1 failure)
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme Paseto -destination generic/platform=watchOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolved source packages:
  Paseto: /Users/admin/builder/spi-builder-workspace
  TypedJSON: https://github.com/aidantwoods/TypedJSON.git @ 0.1.2
  Sodium: https://github.com/aidantwoods/swift-sodium.git @ full-clibsodium-build (eeb18f6)
  CryptoSwift: https://github.com/krzyzanowskim/CryptoSwift.git @ 1.8.3
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (10 targets)
    Target 'Paseto' in project 'Paseto'
        ➜ Explicit dependency on target 'Paseto' in project 'Paseto'
        ➜ Explicit dependency on target 'Clibsodium' in project 'Sodium'
        ➜ Explicit dependency on target 'Sodium' in project 'Sodium'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
        ➜ Explicit dependency on target 'TypedJSON' in project 'TypedJSON'
    Target 'Paseto' in project 'Paseto'
        ➜ Explicit dependency on target 'Clibsodium' in project 'Sodium'
        ➜ Explicit dependency on target 'Sodium' in project 'Sodium'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
        ➜ Explicit dependency on target 'TypedJSON' in project 'TypedJSON'
    Target 'TypedJSON' in project 'TypedJSON'
        ➜ Explicit dependency on target 'TypedJSON' in project 'TypedJSON'
    Target 'TypedJSON' in project 'TypedJSON' (no dependencies)
    Target 'CryptoSwift' in project 'CryptoSwift'
        ➜ Explicit dependency on target 'CryptoSwift' in project 'CryptoSwift'
        ➜ Explicit dependency on target 'CryptoSwift_CryptoSwift' in project 'CryptoSwift'
    Target 'CryptoSwift' in project 'CryptoSwift'
        ➜ Explicit dependency on target 'CryptoSwift_CryptoSwift' in project 'CryptoSwift'
    Target 'CryptoSwift_CryptoSwift' in project 'CryptoSwift' (no dependencies)
    Target 'Sodium' in project 'Sodium'
        ➜ Explicit dependency on target 'Sodium' in project 'Sodium'
    Target 'Sodium' in project 'Sodium' (no dependencies)
    Target 'Clibsodium' in project 'Sodium' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'Clibsodium' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'Paseto' from project 'Paseto')
error: The package product 'Sodium' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'Paseto' from project 'Paseto')
error: The package product 'TypedJSON' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'Paseto' from project 'Paseto')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme Paseto
(1 failure)
BUILD FAILURE 6.0 watchOS