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 JSONtoCodable, reference master (113021), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 15:32:15 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/YutoMizutani/JSONtoCodable.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/YutoMizutani/JSONtoCodable
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1130217 Merge pull request #137 from YutoMizutani/develop
Cloned https://github.com/YutoMizutani/JSONtoCodable.git
Revision (git rev-parse @):
11302177bb22492debd26cfdc35c29400bc35cbb
SUCCESS checkout https://github.com/YutoMizutani/JSONtoCodable.git at master
========================================
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": "jsontocodable",
      "name": "JSONtoCodable",
      "url": "https://github.com/YutoMizutani/JSONtoCodable.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JSONtoCodable",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/YutoMizutani/JSONtoCodable.git
[1/1459] Fetching jsontocodable
Fetched https://github.com/YutoMizutani/JSONtoCodable.git from cache (1.26s)
Creating working copy for https://github.com/YutoMizutani/JSONtoCodable.git
Working copy of https://github.com/YutoMizutani/JSONtoCodable.git resolved at master (1130217)
warning: '.resolve-product-dependencies': dependency 'jsontocodable' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/YutoMizutani/JSONtoCodable.git
https://github.com/YutoMizutani/JSONtoCodable.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSONtoCodable",
  "name" : "JSONtoCodable",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JSONtoCodable",
      "targets" : [
        "JSONtoCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONtoCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONtoCodableTests",
      "path" : "Tests",
      "sources" : [
        "JSONtoCodableTests/ArrayTests.swift",
        "JSONtoCodableTests/CaseTests.swift",
        "JSONtoCodableTests/EscapeSequenceTests.swift",
        "JSONtoCodableTests/IndentTests.swift",
        "JSONtoCodableTests/JSONtoCodableTests.swift",
        "JSONtoCodableTests/LessParamsTests.swift",
        "JSONtoCodableTests/LineTests.swift",
        "JSONtoCodableTests/MergePropertiesTests.swift",
        "JSONtoCodableTests/MergeStructTests.swift",
        "JSONtoCodableTests/MergeWithOptionalTests.swift",
        "JSONtoCodableTests/NestingTests.swift",
        "JSONtoCodableTests/NoCodingkeysTests.swift",
        "JSONtoCodableTests/ReservedWordsTests.swift",
        "JSONtoCodableTests/SymbolsTests.swift",
        "JSONtoCodableTests/TypeTests.swift"
      ],
      "target_dependencies" : [
        "JSONtoCodable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONtoCodable",
      "module_type" : "SwiftTarget",
      "name" : "JSONtoCodable",
      "path" : "Sources",
      "product_memberships" : [
        "JSONtoCodable"
      ],
      "sources" : [
        "Core/Config.swift",
        "Core/JSONtoCodable.swift",
        "Core/Property.swift",
        "Enum/AccessModifier.swift",
        "Enum/CaseType.swift",
        "Enum/IndentType.swift",
        "Enum/LineType.swift",
        "Enum/Type.swift",
        "Error/ErrorHandring.swift",
        "Extensions/String+.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/12] Compiling JSONtoCodable LineType.swift
[4/13] Compiling JSONtoCodable ErrorHandring.swift
[5/13] Compiling JSONtoCodable Type.swift
[6/13] Compiling JSONtoCodable CaseType.swift
[7/13] Compiling JSONtoCodable Config.swift
[8/13] Compiling JSONtoCodable AccessModifier.swift
[9/13] Compiling JSONtoCodable JSONtoCodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/JSONtoCodable.swift:528:90: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
526 |         let property = properties[0]
527 |         property.immutables = properties.map { $0.immutables }.mergeWithOptional()
528 |         guard let structs: [String] = (NSOrderedSet(array: properties.map { $0.structs }.flatMap { $0 }).array as? [String]) else { return nil }
    |                                                                                          |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                                                                                          `- note: use 'compactMap(_:)' instead
529 |         property.structs = structs
530 |         property.codingKeys = properties.map { $0.codingKeys }.merge()
[10/13] Emitting module JSONtoCodable
[11/13] Compiling JSONtoCodable IndentType.swift
[12/13] Compiling JSONtoCodable Property.swift
[13/13] Compiling JSONtoCodable String+.swift
Build complete! (5.78s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSONtoCodable",
  "name" : "JSONtoCodable",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JSONtoCodable",
      "targets" : [
        "JSONtoCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONtoCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONtoCodableTests",
      "path" : "Tests",
      "sources" : [
        "JSONtoCodableTests/ArrayTests.swift",
        "JSONtoCodableTests/CaseTests.swift",
        "JSONtoCodableTests/EscapeSequenceTests.swift",
        "JSONtoCodableTests/IndentTests.swift",
        "JSONtoCodableTests/JSONtoCodableTests.swift",
        "JSONtoCodableTests/LessParamsTests.swift",
        "JSONtoCodableTests/LineTests.swift",
        "JSONtoCodableTests/MergePropertiesTests.swift",
        "JSONtoCodableTests/MergeStructTests.swift",
        "JSONtoCodableTests/MergeWithOptionalTests.swift",
        "JSONtoCodableTests/NestingTests.swift",
        "JSONtoCodableTests/NoCodingkeysTests.swift",
        "JSONtoCodableTests/ReservedWordsTests.swift",
        "JSONtoCodableTests/SymbolsTests.swift",
        "JSONtoCodableTests/TypeTests.swift"
      ],
      "target_dependencies" : [
        "JSONtoCodable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONtoCodable",
      "module_type" : "SwiftTarget",
      "name" : "JSONtoCodable",
      "path" : "Sources",
      "product_memberships" : [
        "JSONtoCodable"
      ],
      "sources" : [
        "Core/Config.swift",
        "Core/JSONtoCodable.swift",
        "Core/Property.swift",
        "Enum/AccessModifier.swift",
        "Enum/CaseType.swift",
        "Enum/IndentType.swift",
        "Enum/LineType.swift",
        "Enum/Type.swift",
        "Error/ErrorHandring.swift",
        "Extensions/String+.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.