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 swift-json-schema with Swift 6.0 (beta) for Linux (6b2243) on 29 Jun 2024 21:44:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.44.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ajevans99/swift-json-schema.git
Reference: main
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/ajevans99/swift-json-schema
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6b22439 Fix typo in .spi.yml
Cloned https://github.com/ajevans99/swift-json-schema.git
Revision (git rev-parse @):
6b2243977cf4855d0ff8d67828789935915204b4
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/ajevans99/swift-json-schema.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/ajevans99/swift-json-schema.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:ab27251c691c4483b16f6811e4d551420c56572b98ecfd3375d905e8cd6a5193
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/1578] Fetching swift-docc-plugin
[1469/4462] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.42s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.43s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/17] Compiling JSONSchema Schema.swift
[7/17] Compiling JSONSchema AnnotationOptions.swift
[8/17] Emitting module JSONSchema
[9/18] Compiling JSONSchema ArraySchemaOptions.swift
[10/18] Compiling JSONSchema NumberSchemaOptions.swift
[11/18] Compiling JSONSchema Schema+Codable.swift
[12/18] Compiling JSONSchema Schema+Equatable.swift
[13/18] Compiling JSONSchema SchemaControlOption.swift
[14/18] Compiling JSONSchema SchemaOptions.swift
[15/18] Compiling JSONSchema JSONType.swift
[16/18] Compiling JSONSchema JSONValue.swift
[17/18] Compiling JSONSchema ObjectSchemaOptions.swift
[18/18] Compiling JSONSchema StringSchemaOptions.swift
[20/40] Emitting module JSONResultBuilders
[21/42] Compiling JSONResultBuilders JSONArrayValue.swift
[22/42] Compiling JSONResultBuilders JSONBooleanValue.swift
[23/42] Compiling JSONResultBuilders JSONIntegerValue.swift
[24/42] Compiling JSONResultBuilders JSONBoolean.swift
[25/42] Compiling JSONResultBuilders JSONInteger.swift
[26/42] Compiling JSONResultBuilders JSONNull.swift
[27/42] Compiling JSONResultBuilders JSONValueBuilder.swift
[28/42] Compiling JSONResultBuilders JSONValueRepresentable.swift
[29/42] Compiling JSONResultBuilders JSONProperty.swift
[30/42] Compiling JSONResultBuilders JSONObjectValue.swift
[31/42] Compiling JSONResultBuilders JSONStringValue.swift
[32/42] Compiling JSONResultBuilders JSONPropertyBuilders.swift
[33/42] Compiling JSONResultBuilders JSONPropertyValue.swift
[34/42] Compiling JSONResultBuilders JSONArray.swift
[35/42] Compiling JSONResultBuilders JSONNullValue.swift
[36/42] Compiling JSONResultBuilders JSONNumberValue.swift
[37/42] Compiling JSONResultBuilders JSONSchemaBuilder.swift
[38/42] Compiling JSONResultBuilders JSONSchemaRepresentable+Annotations.swift
[39/42] Compiling JSONResultBuilders JSONSchemaRepresentable.swift
[40/42] Compiling JSONResultBuilders JSONNumber.swift
[41/42] Compiling JSONResultBuilders JSONObject.swift
[42/42] Compiling JSONResultBuilders JSONString.swift
Build complete! (29.07s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "swift-json-schema",
  "name" : "swift-json-schema",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "JSONSchema",
      "targets" : [
        "JSONSchema"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "JSONResultBuilders",
      "targets" : [
        "JSONResultBuilders"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONSchema",
      "module_type" : "SwiftTarget",
      "name" : "JSONSchema",
      "path" : "Sources/JSONSchema",
      "product_memberships" : [
        "JSONSchema",
        "JSONResultBuilders"
      ],
      "sources" : [
        "JSONType.swift",
        "JSONValue.swift",
        "Schema+Codable.swift",
        "Schema+Equatable.swift",
        "Schema.swift",
        "SchemaOptions/AnnotationOptions.swift",
        "SchemaOptions/SchemaControlOption.swift",
        "SchemaOptions/SchemaOptions.swift",
        "SchemaOptions/TypeSpecific/ArraySchemaOptions.swift",
        "SchemaOptions/TypeSpecific/NumberSchemaOptions.swift",
        "SchemaOptions/TypeSpecific/ObjectSchemaOptions.swift",
        "SchemaOptions/TypeSpecific/StringSchemaOptions.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JSONResultBuilders",
      "module_type" : "SwiftTarget",
      "name" : "JSONResultBuilders",
      "path" : "Sources/JSONResultBuilders",
      "product_memberships" : [
        "JSONResultBuilders"
      ],
      "sources" : [
        "JSONSchemaBuilder.swift",
        "JSONSchemaRepresentable+Annotations.swift",
        "JSONSchemaRepresentable.swift",
        "JSONValueBuilder.swift",
        "JSONValueRepresentable.swift",
        "Property/JSONProperty.swift",
        "Property/JSONPropertyBuilders.swift",
        "Property/JSONPropertyValue.swift",
        "Schema/JSONArray.swift",
        "Schema/JSONBoolean.swift",
        "Schema/JSONInteger.swift",
        "Schema/JSONNull.swift",
        "Schema/JSONNumber.swift",
        "Schema/JSONObject.swift",
        "Schema/JSONString.swift",
        "Values/JSONArrayValue.swift",
        "Values/JSONBooleanValue.swift",
        "Values/JSONIntegerValue.swift",
        "Values/JSONNullValue.swift",
        "Values/JSONNumberValue.swift",
        "Values/JSONObjectValue.swift",
        "Values/JSONStringValue.swift"
      ],
      "target_dependencies" : [
        "JSONSchema"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:25efef401ffd78342b231554234a436b1eb31bdd29046c1104fb984cc1b7d308
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.

Build Machine: Linux 2