The Swift Package Index logo.Swift Package Index

Build Information

Successful build of JSONAPI, reference 6.0.0 (d3457a), with Swift 6.2 for Wasm on 14 Sep 2025 08:33:01 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattpolzin/JSONAPI.git
Reference: 6.0.0
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/mattpolzin/JSONAPI
 * tag               6.0.0      -> FETCH_HEAD
HEAD is now at d3457ae Merge pull request #124 from mattpolzin/modernize
Cloned https://github.com/mattpolzin/JSONAPI.git
Revision (git rev-parse @):
d3457ae21a76b21e9a8f5bf3953ba9166cfa12f0
SUCCESS checkout https://github.com/mattpolzin/JSONAPI.git at 6.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mattpolzin/JSONAPI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/mattpolzin/Poly.git
[1/334] Fetching poly
Fetched https://github.com/mattpolzin/Poly.git from cache (0.23s)
Computing version for https://github.com/mattpolzin/Poly.git
Computed https://github.com/mattpolzin/Poly.git at 3.0.0 (0.55s)
Creating working copy for https://github.com/mattpolzin/Poly.git
Working copy of https://github.com/mattpolzin/Poly.git resolved at 3.0.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/11] Compiling Poly Result+Value.swift
[6/11] Emitting module Poly
[7/11] Compiling Poly Poly+AllTypes.swift
[8/11] Compiling Poly Collection+Poly.swift
[9/11] Compiling Poly Poly+Codable.swift
[10/11] Compiling Poly Poly+CustomStringConvertible.swift
[11/11] Compiling Poly Poly.swift
[13/34] Compiling JSONAPI JSONAPIError.swift
[14/34] Compiling JSONAPI JSONAPICodingError.swift
[15/34] Compiling JSONAPI Links.swift
[16/37] Compiling JSONAPI ResourceObject+Replacing.swift
[17/37] Compiling JSONAPI ResourceObject.swift
[18/37] Compiling JSONAPI ResourceObjectDecodingError.swift
[19/37] Compiling JSONAPI Transformer.swift
[20/37] Compiling JSONAPI SparseFieldEncoder.swift
[21/37] Compiling JSONAPI SparseFieldset.swift
[22/37] Compiling JSONAPI EmptyObjectDecoder.swift
[23/37] Compiling JSONAPI BasicJSONAPIError.swift
[24/37] Compiling JSONAPI GenericJSONAPIError.swift
[25/37] Compiling JSONAPI Meta.swift
[26/37] Compiling JSONAPI Attribute+Functor.swift
[27/37] Compiling JSONAPI Attribute.swift
[28/37] Compiling JSONAPI Id.swift
/host/spi-builder-workspace/Sources/JSONAPI/Resource/Relationship.swift:488:63: warning: capture of non-Sendable type 'Relatable.ID.Type' in an isolated closure
486 |
487 | extension ToManyRelationship: CustomStringConvertible {
488 |     public var description: String { "Relationship([\(ids.map(String.init(describing:)).joined(separator: ", "))])" }
    |                                                               `- warning: capture of non-Sendable type 'Relatable.ID.Type' in an isolated closure
489 | }
490 |
[29/37] Compiling JSONAPI Poly+PrimaryResource.swift
/host/spi-builder-workspace/Sources/JSONAPI/Resource/Relationship.swift:488:63: warning: capture of non-Sendable type 'Relatable.ID.Type' in an isolated closure
486 |
487 | extension ToManyRelationship: CustomStringConvertible {
488 |     public var description: String { "Relationship([\(ids.map(String.init(describing:)).joined(separator: ", "))])" }
    |                                                               `- warning: capture of non-Sendable type 'Relatable.ID.Type' in an isolated closure
489 | }
490 |
[30/37] Compiling JSONAPI Relationship.swift
/host/spi-builder-workspace/Sources/JSONAPI/Resource/Relationship.swift:488:63: warning: capture of non-Sendable type 'Relatable.ID.Type' in an isolated closure
486 |
487 | extension ToManyRelationship: CustomStringConvertible {
488 |     public var description: String { "Relationship([\(ids.map(String.init(describing:)).joined(separator: ", "))])" }
    |                                                               `- warning: capture of non-Sendable type 'Relatable.ID.Type' in an isolated closure
489 | }
490 |
[31/37] Compiling JSONAPI DocumentDecodingError.swift
[32/37] Compiling JSONAPI Includes.swift
[33/37] Compiling JSONAPI ResourceBody.swift
[34/37] Emitting module JSONAPI
[35/37] Compiling JSONAPI APIDescription.swift
[36/37] Compiling JSONAPI CompoundResource.swift
[37/37] Compiling JSONAPI Document.swift
[39/53] Compiling JSONAPITesting Id+Literal.swift
[40/53] Compiling JSONAPITesting Optional+Literal.swift
[41/53] Compiling JSONAPITesting Optional+ZipWith.swift
[42/53] Compiling JSONAPITesting Relationship+Literal.swift
[43/54] Compiling JSONAPITesting ResourceObjectCheck.swift
[44/54] Compiling JSONAPITesting IncludesCompare.swift
[45/54] Compiling JSONAPITesting Optional+AbstractWrapper.swift
[46/54] Compiling JSONAPITesting RelationshipsCompare.swift
[47/54] Compiling JSONAPITesting ResourceObjectCompare.swift
[48/54] Compiling JSONAPITesting Attribute+Literal.swift
[49/54] Compiling JSONAPITesting ArrayCompare.swift
[50/54] Emitting module JSONAPITesting
[51/54] Compiling JSONAPITesting DocumentCompare.swift
[52/54] Compiling JSONAPITesting DocumentDataCompare.swift
[53/54] Compiling JSONAPITesting AttributesCompare.swift
[54/54] Compiling JSONAPITesting Comparison.swift
Build complete! (17.44s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "poly",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattpolzin/Poly.git"
    }
  ],
  "manifest_display_name" : "JSONAPI",
  "name" : "JSONAPI",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "JSONAPI",
      "targets" : [
        "JSONAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "JSONAPITesting",
      "targets" : [
        "JSONAPITesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5",
    "6"
  ],
  "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" : "6.0"
}
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Done.