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 TrailerJson, reference main (87c0f9), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 08:37:51 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ptsochantaris/trailer-json.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ptsochantaris/trailer-json
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 87c0f94 Correct handling of escapes while slicing strings
Cloned https://github.com/ptsochantaris/trailer-json.git
Revision (git rev-parse @):
87c0f9442759f561cbb1dbdc2abc9d095a946159
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ptsochantaris/trailer-json.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "trailer-json",
      "name": "TrailerJson",
      "url": "https://github.com/ptsochantaris/trailer-json.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/trailer-json",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ptsochantaris/trailer-json.git
[1/376] Fetching trailer-json
Fetched https://github.com/ptsochantaris/trailer-json.git from cache (1.06s)
Creating working copy for https://github.com/ptsochantaris/trailer-json.git
Working copy of https://github.com/ptsochantaris/trailer-json.git resolved at main (87c0f94)
warning: '.resolve-product-dependencies': dependency 'trailer-json' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ptsochantaris/trailer-json.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/8] Write sources
[1/8] Copying 10mb.json
[3/8] Write Benchmark-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/13] Compiling TrailerJson TypedJson.swift
[7/13] Emitting module TrailerJson
[8/13] Compiling TrailerJson TrailerJson.swift
[9/13] Compiling TrailerJson TypedJsonEntry.swift
[10/13] Compiling TrailerJson Common.swift
[11/16] Compiling Benchmark resource_bundle_accessor.swift
[12/16] Emitting module Benchmark
[13/16] Compiling Benchmark Benchmark.swift
[13/16] Write Objects.LinkFileList
[14/16] Linking Benchmark
[15/16] Applying Benchmark
Build complete! (9.32s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TrailerJson",
  "name" : "TrailerJson",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "TrailerJson",
      "targets" : [
        "TrailerJson"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Benchmark",
      "targets" : [
        "Benchmark"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TrailerJsonTests",
      "module_type" : "SwiftTarget",
      "name" : "TrailerJsonTests",
      "path" : "Tests/TrailerJsonTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TrailerJsonTests/10mb.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TrailerJsonTests/issueList.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "TrailerJsonTests.swift",
        "TypedJsonTests.swift"
      ],
      "target_dependencies" : [
        "TrailerJson"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TrailerJson",
      "module_type" : "SwiftTarget",
      "name" : "TrailerJson",
      "path" : "Sources/TrailerJson",
      "product_memberships" : [
        "TrailerJson",
        "Benchmark"
      ],
      "sources" : [
        "Common.swift",
        "TrailerJson.swift",
        "TypedJson.swift",
        "TypedJsonEntry.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Benchmark",
      "module_type" : "SwiftTarget",
      "name" : "Benchmark",
      "path" : "Sources/Benchmark",
      "product_memberships" : [
        "Benchmark"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/10mb.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Benchmark.swift"
      ],
      "target_dependencies" : [
        "TrailerJson"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/ptsochantaris/trailer-json/main
Repository:               ptsochantaris/trailer-json
Swift version used:       6.0
Target:                   TrailerJson
Extracting symbol information for 'TrailerJson'...
Finished extracting symbol information for 'TrailerJson'. (2.88s)
Building documentation for 'TrailerJson'...
warning: 'Data' doesn't exist at '/TrailerJson'
  --> Documentation.md:23:5-23:9
21 | ### Eagerly Parsing To A Dictionary
22 | - ``TrailerJson/TrailerJson``
23 + - ``Data/asJson``
24 | - ``Data/asJsonObject``
25 | - ``Data/asJsonArray``
warning: 'Data' doesn't exist at '/TrailerJson'
  --> Documentation.md:24:5-24:9
22 | - ``TrailerJson/TrailerJson``
23 | - ``Data/asJson``
24 + - ``Data/asJsonObject``
25 | - ``Data/asJsonArray``
26 |
warning: 'Data' doesn't exist at '/TrailerJson'
  --> Documentation.md:25:5-25:9
23 | - ``Data/asJson``
24 | - ``Data/asJsonObject``
25 + - ``Data/asJsonArray``
26 |
27 | ### Scan And Lazy Parsing
warning: 'Data' doesn't exist at '/TrailerJson'
  --> Documentation.md:30:5-30:9
28 | - ``TrailerJson/TypedJson``
29 | - ``TypedJson/Entry``
30 + - ``Data/asTypedJson``Finished building documentation for 'TrailerJson' (0.17s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/ptsochantaris/trailer-json/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.32s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.70s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.71s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling Snippets Snippet.swift
[8/57] Emitting module Snippets
[9/57] Compiling Snippets SnippetParser.swift
[10/57] Compiling SymbolKit Identifier.swift
[11/57] Compiling SymbolKit KindIdentifier.swift
[12/57] Compiling SymbolKit Location.swift
[13/57] Compiling SymbolKit Mutability.swift
[14/57] Compiling SymbolKit GenericConstraint.swift
[15/57] Compiling SymbolKit GenericParameter.swift
[16/57] Compiling SymbolKit Generics.swift
[17/57] Compiling SymbolKit Namespace.swift
[18/57] Compiling SymbolKit Symbol.swift
[19/57] Compiling SymbolKit SymbolKind.swift
[20/57] Compiling SymbolKit SymbolGraph.swift
[21/57] Compiling SymbolKit GraphCollector.swift
[22/57] Compiling SymbolKit DeclarationFragments.swift
[23/57] Compiling SymbolKit Fragment.swift
[24/57] Compiling SymbolKit FragmentKind.swift
[25/57] Compiling SymbolKit FunctionParameter.swift
[26/57] Compiling SymbolKit FunctionSignature.swift
[27/57] Compiling SymbolKit Mixin+Equals.swift
[28/57] Compiling SymbolKit Mixin+Hash.swift
[29/57] Compiling SymbolKit Mixin.swift
[30/57] Compiling SymbolKit LineList.swift
[31/57] Compiling SymbolKit Position.swift
[32/57] Compiling SymbolKit SourceRange.swift
[33/57] Compiling SymbolKit Metadata.swift
[34/57] Compiling SymbolKit Module.swift
[35/57] Compiling SymbolKit OperatingSystem.swift
[36/57] Compiling SymbolKit Platform.swift
[37/57] Compiling SymbolKit SemanticVersion.swift
[38/57] Compiling SymbolKit AccessControl.swift
[39/57] Compiling SymbolKit Availability.swift
[40/57] Compiling SymbolKit AvailabilityItem.swift
[41/57] Compiling SymbolKit Domain.swift
[42/57] Compiling SymbolKit Names.swift
[43/57] Compiling SymbolKit SPI.swift
[44/57] Compiling SymbolKit Snippet.swift
[45/57] Compiling SymbolKit Extension.swift
[46/57] Compiling SymbolKit Relationship.swift
[47/57] Compiling SymbolKit RelationshipKind.swift
[48/57] Compiling SymbolKit SourceOrigin.swift
[49/57] Compiling SymbolKit GenericConstraints.swift
[50/57] Compiling SymbolKit Swift.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Emitting module snippet_extract
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.47s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/6] Compiling TrailerJson TypedJsonEntry.swift
[3/6] Compiling TrailerJson TypedJson.swift
[4/6] Compiling TrailerJson Common.swift
[5/6] Compiling TrailerJson TrailerJson.swift
[6/6] Emitting module TrailerJson
Build of target: 'TrailerJson' complete! (0.68s)
     174
2	/Users/admin/builder/spi-builder-workspace/.docs/ptsochantaris/trailer-json/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/ptsochantaris/trailer-json/main
File count: 174
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-ptsochantaris-trailer-json-main-4a4a507c.zip to s3://spi-docs-inbox/prod-ptsochantaris-trailer-json-main-4a4a507c.zip
Copying... [14%]
Copying... [28%]
Copying... [42%]
Copying... [56%]
Copying... [70%]
Copying... [84%]
Copying... [98%]
Copying... [100%]
Done.