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.10 for macOS (SPM) on 28 Apr 2025 18:23:17 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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.10
Building package at path:  $PWD
https://github.com/mattpolzin/JSONAPI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-33747A42983211AE.txt
[5/11] Compiling Poly Collection+Poly.swift
[6/11] Compiling Poly Result+Value.swift
[7/11] Emitting module Poly
[8/11] Compiling Poly Poly+CustomStringConvertible.swift
[9/11] Compiling Poly Poly+Codable.swift
[10/11] Compiling Poly Poly.swift
[11/11] Compiling Poly Poly+AllTypes.swift
[12/34] Compiling JSONAPI JSONAPIError.swift
[13/34] Compiling JSONAPI JSONAPICodingError.swift
[14/34] Compiling JSONAPI Links.swift
[15/36] Compiling JSONAPI ResourceObject+Replacing.swift
[16/36] Compiling JSONAPI ResourceObject.swift
[17/36] Compiling JSONAPI ResourceObjectDecodingError.swift
[18/36] Compiling JSONAPI Transformer.swift
[19/36] Compiling JSONAPI SparseFieldEncoder.swift
[20/36] Compiling JSONAPI SparseFieldset.swift
[21/36] Emitting module JSONAPI
[22/36] Compiling JSONAPI Meta.swift
[23/36] Compiling JSONAPI Attribute+Functor.swift
[24/36] Compiling JSONAPI Poly+PrimaryResource.swift
[25/36] Compiling JSONAPI Relationship.swift
[26/36] Compiling JSONAPI Attribute.swift
[27/36] Compiling JSONAPI Id.swift
[28/36] Compiling JSONAPI EmptyObjectDecoder.swift
[29/36] Compiling JSONAPI BasicJSONAPIError.swift
[30/36] Compiling JSONAPI GenericJSONAPIError.swift
[31/36] Compiling JSONAPI DocumentDecodingError.swift
[32/36] Compiling JSONAPI Includes.swift
[33/36] Compiling JSONAPI ResourceBody.swift
[34/36] Compiling JSONAPI APIDescription.swift
[35/36] Compiling JSONAPI CompoundResource.swift
[36/36] Compiling JSONAPI Document.swift
[37/51] Compiling JSONAPITesting Optional+ZipWith.swift
[38/52] Compiling JSONAPITesting Optional+Literal.swift
[39/52] Compiling JSONAPITesting Id+Literal.swift
[40/52] Compiling JSONAPITesting IncludesCompare.swift
[41/52] Compiling JSONAPITesting Optional+AbstractWrapper.swift
[42/52] Compiling JSONAPITesting ResourceObjectCheck.swift
[43/52] Compiling JSONAPITesting Relationship+Literal.swift
[44/52] Compiling JSONAPITesting RelationshipsCompare.swift
[45/52] Compiling JSONAPITesting ResourceObjectCompare.swift
[46/52] Compiling JSONAPITesting AttributesCompare.swift
[47/52] Compiling JSONAPITesting Comparison.swift
[48/52] Emitting module JSONAPITesting
[49/52] Compiling JSONAPITesting Attribute+Literal.swift
[50/52] Compiling JSONAPITesting ArrayCompare.swift
[51/52] Compiling JSONAPITesting DocumentCompare.swift
[52/52] Compiling JSONAPITesting DocumentDataCompare.swift
Build complete! (7.39s)
Fetching https://github.com/mattpolzin/Poly.git
[1/323] Fetching poly
Fetched https://github.com/mattpolzin/Poly.git from cache (1.08s)
Computing version for https://github.com/mattpolzin/Poly.git
Computed https://github.com/mattpolzin/Poly.git at 2.8.0 (0.48s)
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.