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 JSONAPI, reference main (31b665), with Swift 5.9 for macOS (SPM) on 28 Apr 2025 18:23:26 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattpolzin/JSONAPI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mattpolzin/JSONAPI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 31b6653 Merge pull request #123 from mattpolzin/readme-banner-updates
Cloned https://github.com/mattpolzin/JSONAPI.git
Revision (git rev-parse @):
31b6653ab8273061a1e2f3de3d8bde7c8ec2025d
SUCCESS checkout https://github.com/mattpolzin/JSONAPI.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/mattpolzin/JSONAPI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/7] Compiling Poly Poly+Codable.swift
[2/7] Compiling Poly Result+Value.swift
[3/7] Compiling Poly Collection+Poly.swift
[4/7] Compiling Poly Poly+AllTypes.swift
[5/7] Compiling Poly Poly+CustomStringConvertible.swift
[6/7] Emitting module Poly
[7/7] Compiling Poly Poly.swift
[8/30] Compiling JSONAPI ResourceObjectDecodingError.swift
[9/30] Compiling JSONAPI Transformer.swift
[10/32] Compiling JSONAPI ResourceObject+Replacing.swift
[11/32] Compiling JSONAPI ResourceObject.swift
[12/32] Compiling JSONAPI SparseFieldEncoder.swift
[13/32] Compiling JSONAPI SparseFieldset.swift
[14/32] Compiling JSONAPI Attribute.swift
[15/32] Compiling JSONAPI Id.swift
[16/32] Compiling JSONAPI EmptyObjectDecoder.swift
[17/32] Compiling JSONAPI BasicJSONAPIError.swift
[18/32] Compiling JSONAPI GenericJSONAPIError.swift
[19/32] Compiling JSONAPI DocumentDecodingError.swift
[20/32] Compiling JSONAPI Includes.swift
[21/32] Compiling JSONAPI ResourceBody.swift
[22/32] Compiling JSONAPI Meta.swift
[23/32] Compiling JSONAPI Attribute+Functor.swift
[24/32] Compiling JSONAPI JSONAPIError.swift
[25/32] Compiling JSONAPI JSONAPICodingError.swift
[26/32] Compiling JSONAPI Links.swift
[27/32] Emitting module JSONAPI
[28/32] Compiling JSONAPI APIDescription.swift
[29/32] Compiling JSONAPI CompoundResource.swift
[30/32] Compiling JSONAPI Document.swift
[31/32] Compiling JSONAPI Poly+PrimaryResource.swift
[32/32] Compiling JSONAPI Relationship.swift
[33/47] Compiling JSONAPITesting Optional+Literal.swift
[34/47] Compiling JSONAPITesting Optional+ZipWith.swift
[35/47] Compiling JSONAPITesting Relationship+Literal.swift
[36/48] Compiling JSONAPITesting ResourceObjectCheck.swift
[37/48] Compiling JSONAPITesting RelationshipsCompare.swift
[38/48] Compiling JSONAPITesting ResourceObjectCompare.swift
[39/48] Compiling JSONAPITesting IncludesCompare.swift
[40/48] Compiling JSONAPITesting Optional+AbstractWrapper.swift
[41/48] Compiling JSONAPITesting Attribute+Literal.swift
[42/48] Compiling JSONAPITesting ArrayCompare.swift
[43/48] Compiling JSONAPITesting AttributesCompare.swift
[44/48] Compiling JSONAPITesting Comparison.swift
[45/48] Emitting module JSONAPITesting
[46/48] Compiling JSONAPITesting Id+Literal.swift
[47/48] Compiling JSONAPITesting DocumentCompare.swift
[48/48] Compiling JSONAPITesting DocumentDataCompare.swift
Build complete! (8.38s)
Fetching https://github.com/mattpolzin/Poly.git
[1/323] Fetching poly
Fetched https://github.com/mattpolzin/Poly.git (1.12s)
Computing version for https://github.com/mattpolzin/Poly.git
Computed https://github.com/mattpolzin/Poly.git at 2.8.0 (0.46s)
Creating working copy for https://github.com/mattpolzin/Poly.git
Working copy of https://github.com/mattpolzin/Poly.git resolved at 2.8.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "poly",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.8.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattpolzin/Poly.git"
    }
  ],
  "manifest_display_name" : "JSONAPI",
  "name" : "JSONAPI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "JSONAPI",
      "targets" : [
        "JSONAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "JSONAPITesting",
      "targets" : [
        "JSONAPITesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "JSONAPITests",
      "module_type" : "SwiftTarget",
      "name" : "JSONAPITests",
      "path" : "Tests/JSONAPITests",
      "sources" : [
        "APIDescription/APIDescriptionTests.swift",
        "APIDescription/stubs/APIDescriptionsStubs.swift",
        "Attribute/Attribute+FunctorTests.swift",
        "Attribute/AttributeTests.swift",
        "Attribute/TransformerTests.swift",
        "Computed Properties/ComputedPropertiesTests.swift",
        "Computed Properties/stubs/ComputedPropertiesStubs.swift",
        "Custom Attributes Tests/CustomAttributesTests.swift",
        "Document/DocumentCompoundResourceTests.swift",
        "Document/DocumentDecodingErrorTests.swift",
        "Document/DocumentTests.swift",
        "Document/SuccessAndErrorDocumentTests.swift",
        "Document/stubs/DocumentStubs.swift",
        "Empty Object Decoder/EmptyObjectDecoderTests.swift",
        "Error/BasicJSONAPIErrorTests.swift",
        "Error/GenericJSONAPIErrorTests.swift",
        "Includes/IncludeTests.swift",
        "Includes/IncludesDecodingErrorTests.swift",
        "Includes/stubs/IncludeStubs.swift",
        "Links/LinksTests.swift",
        "Links/stub/LinkStubs.swift",
        "NonJSONAPIRelatable/NonJSONAPIRelatableTests.swift",
        "Poly/PolyProxyTests.swift",
        "Poly/stubs/PolyStubs.swift",
        "Relationships/RelationshipTests.swift",
        "Relationships/stubs/RelationshipStubs.swift",
        "ResourceBody/ResourceBodyTests.swift",
        "ResourceBody/stubs/ResourceBudyStubs.swift",
        "ResourceObject/ResourceObject+HashableTests.swift",
        "ResourceObject/ResourceObject+ReplacingTests.swift",
        "ResourceObject/ResourceObjectDecodingErrorTests.swift",
        "ResourceObject/ResourceObjectTests.swift",
        "ResourceObject/stubs/ResourceObjectStubs.swift",
        "SparseFields/SparseFieldEncoderTests.swift",
        "SparseFields/SparseFieldsetTests.swift",
        "SwiftIdentifiableTests.swift",
        "Test Helpers/EncodeDecode.swift",
        "Test Helpers/EncodedAttributeTest.swift",
        "Test Helpers/EncodedEntityPropertyTest.swift",
        "Test Helpers/EntityTestTypes.swift",
        "Test Helpers/PrintEncoded.swift",
        "Test Helpers/String+CreatableRawIdType.swift"
      ],
      "target_dependencies" : [
        "JSONAPI",
        "JSONAPITesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONAPITestingTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONAPITestingTests",
      "path" : "Tests/JSONAPITestingTests",
      "sources" : [
        "Attribute+LiteralTests.swift",
        "Comparisons/ArrayCompareTests.swift",
        "Comparisons/AttributesCompareTests.swift",
        "Comparisons/DocumentCompareTests.swift",
        "Comparisons/IncludesCompareTests.swift",
        "Comparisons/RelationshipsCompareTests.swift",
        "Comparisons/ResourceObjectCompareTests.swift",
        "EntityCheckTests.swift",
        "Id+LiteralTests.swift",
        "Relationship+LiteralTests.swift",
        "Test Helpers/EntityTestTypes.swift",
        "Test Helpers/String+CreatableRawIdType.swift"
      ],
      "target_dependencies" : [
        "JSONAPI",
        "JSONAPITesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONAPITesting",
      "module_type" : "SwiftTarget",
      "name" : "JSONAPITesting",
      "path" : "Sources/JSONAPITesting",
      "product_memberships" : [
        "JSONAPITesting"
      ],
      "sources" : [
        "Attribute+Literal.swift",
        "Comparisons/ArrayCompare.swift",
        "Comparisons/AttributesCompare.swift",
        "Comparisons/Comparison.swift",
        "Comparisons/DocumentCompare.swift",
        "Comparisons/DocumentDataCompare.swift",
        "Comparisons/IncludesCompare.swift",
        "Comparisons/Optional+AbstractWrapper.swift",
        "Comparisons/RelationshipsCompare.swift",
        "Comparisons/ResourceObjectCompare.swift",
        "Id+Literal.swift",
        "Optional+Literal.swift",
        "Optional+ZipWith.swift",
        "Relationship+Literal.swift",
        "ResourceObjectCheck.swift"
      ],
      "target_dependencies" : [
        "JSONAPI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JSONAPI",
      "module_type" : "SwiftTarget",
      "name" : "JSONAPI",
      "path" : "Sources/JSONAPI",
      "product_dependencies" : [
        "Poly"
      ],
      "product_memberships" : [
        "JSONAPI",
        "JSONAPITesting"
      ],
      "sources" : [
        "Document/APIDescription.swift",
        "Document/CompoundResource.swift",
        "Document/Document.swift",
        "Document/DocumentDecodingError.swift",
        "Document/Includes.swift",
        "Document/ResourceBody.swift",
        "EmptyObjectDecoder.swift",
        "Error/BasicJSONAPIError.swift",
        "Error/GenericJSONAPIError.swift",
        "Error/JSONAPIError.swift",
        "JSONAPICodingError.swift",
        "Meta/Links.swift",
        "Meta/Meta.swift",
        "Resource/Attribute+Functor.swift",
        "Resource/Attribute.swift",
        "Resource/Id.swift",
        "Resource/Poly+PrimaryResource.swift",
        "Resource/Relationship.swift",
        "Resource/Resource Object/ResourceObject+Replacing.swift",
        "Resource/Resource Object/ResourceObject.swift",
        "Resource/Resource Object/ResourceObjectDecodingError.swift",
        "Resource/Transformer.swift",
        "SparseFields/SparseFieldEncoder.swift",
        "SparseFields/SparseFieldset.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.