The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of ModelGen, reference master (d2e7c2), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 06:05:04 UTC.

Swift 6 data race errors: 9

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/hebertialmeida/modelgen.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hebertialmeida/modelgen
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d2e7c28 Sort imports
Cloned https://github.com/hebertialmeida/modelgen.git
Revision (git rev-parse @):
d2e7c28897fd4cd449995c98f0c4f16f8e3d3d28
SUCCESS checkout https://github.com/hebertialmeida/modelgen.git at master
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Stencil.git
Fetching https://github.com/jpsim/Yams.git from cache
[1/1411] Fetching pathkit
[16/2432] Fetching pathkit, spectre
[335/4020] Fetching pathkit, spectre, commander
[542/8028] Fetching pathkit, spectre, commander, stencilswiftkit
[1487/13321] Fetching pathkit, spectre, commander, stencilswiftkit, stencil
Fetched https://github.com/kylef/Spectre.git from cache (0.86s)
Fetched https://github.com/jpsim/Yams.git from cache (0.86s)
[4237/12300] Fetching pathkit, commander, stencilswiftkit, stencil
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (1.90s)
Fetched https://github.com/kylef/PathKit.git from cache (1.90s)
Fetched https://github.com/kylef/Commander.git from cache (1.90s)
Fetched https://github.com/kylef/Stencil.git from cache (1.90s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (2.61s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.7.2 (0.62s)
Computing version for https://github.com/kylef/Stencil.git
Computed https://github.com/kylef/Stencil.git at 0.13.1 (0.62s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.61s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.0 (0.69s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.63s)
Creating working copy for https://github.com/kylef/Stencil.git
Working copy of https://github.com/kylef/Stencil.git resolved at 0.13.1
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.0
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.7.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
========================================
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": "modelgen",
      "name": "ModelGen",
      "url": "https://github.com/hebertialmeida/modelgen.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/modelgen",
      "dependencies": [
        {
          "identity": "commander",
          "name": "Commander",
          "url": "https://github.com/kylef/Commander.git",
          "version": "0.9.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Commander",
          "dependencies": [
            {
              "identity": "spectre",
              "name": "Spectre",
              "url": "https://github.com/kylef/Spectre.git",
              "version": "0.9.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "pathkit",
          "name": "PathKit",
          "url": "https://github.com/kylef/PathKit.git",
          "version": "0.9.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
          "dependencies": [
            {
              "identity": "spectre",
              "name": "Spectre",
              "url": "https://github.com/kylef/Spectre.git",
              "version": "0.9.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "stencil",
          "name": "Stencil",
          "url": "https://github.com/kylef/Stencil.git",
          "version": "0.13.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Stencil",
          "dependencies": [
            {
              "identity": "pathkit",
              "name": "PathKit",
              "url": "https://github.com/kylef/PathKit.git",
              "version": "0.9.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
              "dependencies": [
                {
                  "identity": "spectre",
                  "name": "Spectre",
                  "url": "https://github.com/kylef/Spectre.git",
                  "version": "0.9.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "spectre",
              "name": "Spectre",
              "url": "https://github.com/kylef/Spectre.git",
              "version": "0.9.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "stencilswiftkit",
          "name": "StencilSwiftKit",
          "url": "https://github.com/SwiftGen/StencilSwiftKit.git",
          "version": "2.7.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/StencilSwiftKit",
          "dependencies": [
            {
              "identity": "stencil",
              "name": "Stencil",
              "url": "https://github.com/kylef/Stencil.git",
              "version": "0.13.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Stencil",
              "dependencies": [
                {
                  "identity": "pathkit",
                  "name": "PathKit",
                  "url": "https://github.com/kylef/PathKit.git",
                  "version": "0.9.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
                  "dependencies": [
                    {
                      "identity": "spectre",
                      "name": "Spectre",
                      "url": "https://github.com/kylef/Spectre.git",
                      "version": "0.9.2",
                      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
                      "dependencies": [
                      ]
                    }
                  ]
                },
                {
                  "identity": "spectre",
                  "name": "Spectre",
                  "url": "https://github.com/kylef/Spectre.git",
                  "version": "0.9.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "yams",
          "name": "Yams",
          "url": "https://github.com/jpsim/Yams.git",
          "version": "1.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/hebertialmeida/modelgen.git
[1/1309] Fetching modelgen
Fetched https://github.com/hebertialmeida/modelgen.git from cache (0.86s)
Fetching https://github.com/kylef/PathKit.git from cache
Fetching https://github.com/kylef/Stencil.git from cache
Fetching https://github.com/SwiftGen/StencilSwiftKit.git from cache
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/kylef/Commander.git from cache
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (0.50s)
Fetched https://github.com/kylef/PathKit.git from cache (0.56s)
Fetched https://github.com/jpsim/Yams.git from cache (0.56s)
Fetched https://github.com/kylef/Stencil.git from cache (0.56s)
Fetched https://github.com/kylef/Commander.git from cache (0.56s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.64s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.43s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (0.50s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.62s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.03s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (0.65s)
Fetching https://github.com/shibapm/Komondor.git
[1/509] Fetching komondor
Fetched https://github.com/shibapm/Komondor.git from cache (0.82s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (1.43s)
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/960] Fetching shellout
[184/1540] Fetching shellout, packageconfig
Fetched https://github.com/shibapm/PackageConfig.git from cache (0.77s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.77s)
Computing version for https://github.com/kylef/Stencil.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (0.00s)
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.00s)
Computed https://github.com/kylef/Stencil.git at 0.13.1 (0.04s)
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.00s)
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.7.2 (0.04s)
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.1
Creating working copy for https://github.com/kylef/Stencil.git
Working copy of https://github.com/kylef/Stencil.git resolved at 0.13.1
Creating working copy for https://github.com/hebertialmeida/modelgen.git
Working copy of https://github.com/hebertialmeida/modelgen.git resolved at master (d2e7c28)
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.7.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
warning: 'stencilswiftkit': 'stencilswiftkit' dependency on 'https://github.com/stencilproject/Stencil.git' conflicts with dependency on 'https://github.com/kylef/Stencil.git' which has the same identity 'stencil'. this will be escalated to an error in future versions of SwiftPM.
Found 5 product dependencies
  - Commander
  - PathKit
  - Stencil
  - StencilSwiftKit
  - Yams
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hebertialmeida/modelgen.git
https://github.com/hebertialmeida/modelgen.git
{
  "dependencies" : [
    {
      "identity" : "commander",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Commander.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "stencil",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.13.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Stencil.git"
    },
    {
      "identity" : "stencilswiftkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftGen/StencilSwiftKit.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "ModelGen",
  "name" : "ModelGen",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "modelgen",
      "targets" : [
        "ModelGen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ModelGenKit",
      "targets" : [
        "ModelGenKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ModelGenTests",
      "module_type" : "SwiftTarget",
      "name" : "ModelGenTests",
      "path" : "Tests/ModelGenTests",
      "sources" : [
        "Core/TestUtils.swift",
        "Tests/ConfigurationTest.swift",
        "Tests/ErrorTests.swift",
        "Tests/FiltersTest.swift",
        "Tests/SchemaTests.swift",
        "Tests/YamlParserTest.swift"
      ],
      "target_dependencies" : [
        "ModelGenKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ModelGenKit",
      "module_type" : "SwiftTarget",
      "name" : "ModelGenKit",
      "path" : "Sources/ModelGenKit",
      "product_dependencies" : [
        "Commander",
        "PathKit",
        "Stencil",
        "StencilSwiftKit",
        "Yams"
      ],
      "product_memberships" : [
        "modelgen",
        "ModelGenKit"
      ],
      "sources" : [
        "Configuration.swift",
        "Error.swift",
        "Filters.swift",
        "JsonParser+Context.swift",
        "JsonParser.swift",
        "LanguageType.swift",
        "Schema.swift",
        "String+Helpers.swift",
        "Utils.swift",
        "YamlParser.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ModelGen",
      "module_type" : "SwiftTarget",
      "name" : "ModelGen",
      "path" : "Sources/ModelGen",
      "product_memberships" : [
        "modelgen"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ModelGenKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.2"
}
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/18] Write sources
[5/18] Write modelgen-entitlement.plist
[8/18] Write swift-version-2F0A5646E1D333AE.txt
[9/30] Compiling reader.c
[10/30] Compiling writer.c
[11/30] Compiling api.c
[12/30] Compiling parser.c
[13/30] Compiling scanner.c
[14/30] Compiling emitter.c
[16/46] Emitting module Commander
[17/46] Compiling Commander Command.swift
[18/46] Compiling Commander ArgumentDescription.swift
[19/46] Compiling Commander ArgumentConvertible.swift
[20/46] Compiling Commander ArgumentParser.swift
[21/46] Compiling Commander Group.swift
[22/46] Compiling Commander Error.swift
[23/46] Compiling Commander CommandRunner.swift
[24/46] Compiling Commander CommandType.swift
[25/46] Compiling Commander Commands.swift
[26/46] Compiling Yams YamlError.swift
[27/47] Compiling Yams shim.swift
[28/47] Emitting module PathKit
[29/47] Compiling PathKit PathKit.swift
[30/66] Compiling Stencil Errors.swift
[31/66] Compiling Stencil Expression.swift
[32/66] Compiling Stencil Context.swift
[33/66] Compiling Stencil Environment.swift
[34/66] Compiling Yams Tag.swift
[35/66] Compiling Stencil Filters.swift
[36/66] Compiling Stencil ForTag.swift
[37/66] Emitting module Yams
[38/66] Compiling Stencil IfTag.swift
[39/66] Compiling Stencil Include.swift
[40/66] Compiling Yams String+Yams.swift
[41/66] Compiling Stencil Extension.swift
[42/66] Compiling Stencil FilterTag.swift
[43/66] Compiling Stencil Inheritence.swift
[44/66] Compiling Stencil KeyPath.swift
[49/66] Compiling Stencil Parser.swift
[50/66] Compiling Stencil Template.swift
[51/66] Compiling Stencil Node.swift
[52/66] Compiling Stencil NowTag.swift
[53/66] Compiling Stencil Lexer.swift
[54/66] Compiling Stencil Loader.swift
[59/66] Emitting module Stencil
[64/68] Compiling Stencil Tokenizer.swift
[65/68] Compiling Stencil Variable.swift
[66/79] Compiling StencilSwiftKit MapNode.swift
[67/80] Compiling StencilSwiftKit CallMacroNodes.swift
[68/80] Compiling StencilSwiftKit Context.swift
[69/80] Compiling StencilSwiftKit SetNode.swift
[70/80] Compiling StencilSwiftKit Filters.swift
[71/80] Compiling StencilSwiftKit Filters+Strings.swift
[72/80] Compiling StencilSwiftKit Environment.swift
[73/80] Compiling StencilSwiftKit StencilSwiftTemplate.swift
[74/80] Compiling StencilSwiftKit Filters+Numbers.swift
[75/80] Emitting module StencilSwiftKit
[76/80] Compiling StencilSwiftKit Parameters.swift
[77/80] Compiling StencilSwiftKit SwiftIdentifier.swift
[78/90] Compiling ModelGenKit LanguageType.swift
[79/91] Compiling ModelGenKit Filters.swift
[80/91] Compiling ModelGenKit Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Error.swift:73:10: warning: associated value 'templatePathNotFound(path:)' of 'Sendable'-conforming enum 'TemplateError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
 71 |
 72 | public enum TemplateError: Error, LocalizedError {
 73 |     case templatePathNotFound(path: Path)
    |          `- warning: associated value 'templatePathNotFound(path:)' of 'Sendable'-conforming enum 'TemplateError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
 74 |     case noTemplateProvided
 75 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
 15 |
 16 | /// Represents a filesystem path.
 17 | public struct Path {
    |               `- note: struct 'Path' does not conform to the 'Sendable' protocol
 18 |   /// The character used by the OS to separate two path elements
 19 |   public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Error.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
  8 |
  9 | import Foundation
 10 | import PathKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
 11 |
 12 | public enum JsonParserError: Error, LocalizedError {
[81/91] Emitting module ModelGenKit
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Error.swift:73:10: warning: associated value 'templatePathNotFound(path:)' of 'Sendable'-conforming enum 'TemplateError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
 71 |
 72 | public enum TemplateError: Error, LocalizedError {
 73 |     case templatePathNotFound(path: Path)
    |          `- warning: associated value 'templatePathNotFound(path:)' of 'Sendable'-conforming enum 'TemplateError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
 74 |     case noTemplateProvided
 75 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
 15 |
 16 | /// Represents a filesystem path.
 17 | public struct Path {
    |               `- note: struct 'Path' does not conform to the 'Sendable' protocol
 18 |   /// The character used by the OS to separate two path elements
 19 |   public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Error.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
  8 |
  9 | import Foundation
 10 | import PathKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
 11 |
 12 | public enum JsonParserError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:15:5: warning: var 'jsonAbsolutePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 | // MARK: - Global
 14 |
 15 | var jsonAbsolutePath = Path()
    |     |- warning: var 'jsonAbsolutePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'jsonAbsolutePath' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'jsonAbsolutePath' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | var currentFile = Path()
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:16:5: warning: var 'currentFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 |
 15 | var jsonAbsolutePath = Path()
 16 | var currentFile = Path()
    |     |- warning: var 'currentFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'currentFile' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'currentFile' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 | // MARK: - Validators
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:27:12: warning: let 'pathExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
 25 | }
 26 |
 27 | public let pathExists = checkPath(type: "path") { $0.exists }
    |            |- warning: let 'pathExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'pathExists' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 | let fileExists = checkPath(type: "file") { $0.isFile }
 29 | let dirExists  = checkPath(type: "directory") { $0.isDirectory }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:28:5: warning: let 'fileExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | public let pathExists = checkPath(type: "path") { $0.exists }
 28 | let fileExists = checkPath(type: "file") { $0.isFile }
    |     |- warning: let 'fileExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'fileExists' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 | let dirExists  = checkPath(type: "directory") { $0.isDirectory }
 30 | let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:29:5: warning: let 'dirExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
 27 | public let pathExists = checkPath(type: "path") { $0.exists }
 28 | let fileExists = checkPath(type: "file") { $0.isFile }
 29 | let dirExists  = checkPath(type: "directory") { $0.isDirectory }
    |     |- warning: let 'dirExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'dirExists' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 | let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
 31 | let filesExist = { (paths: [Path]) throws -> [Path] in try paths.map(fileExists) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:30:5: warning: let 'pathsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | let fileExists = checkPath(type: "file") { $0.isFile }
 29 | let dirExists  = checkPath(type: "directory") { $0.isDirectory }
 30 | let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
    |     |- warning: let 'pathsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'pathsExist' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 | let filesExist = { (paths: [Path]) throws -> [Path] in try paths.map(fileExists) }
 32 | let dirsExist = { (paths: [Path]) throws -> [Path] in try paths.map(dirExists) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:31:5: warning: let 'filesExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
 29 | let dirExists  = checkPath(type: "directory") { $0.isDirectory }
 30 | let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
 31 | let filesExist = { (paths: [Path]) throws -> [Path] in try paths.map(fileExists) }
    |     |- warning: let 'filesExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'filesExist' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 | let dirsExist = { (paths: [Path]) throws -> [Path] in try paths.map(dirExists) }
 33 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:32:5: warning: let 'dirsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
 31 | let filesExist = { (paths: [Path]) throws -> [Path] in try paths.map(fileExists) }
 32 | let dirsExist = { (paths: [Path]) throws -> [Path] in try paths.map(dirExists) }
    |     |- warning: let 'dirsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'dirsExist' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 | // MARK: - Path as Input Argument
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:36:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'ArgumentConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
 34 | // MARK: - Path as Input Argument
 35 |
 36 | extension Path: ArgumentConvertible {
    | |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'ArgumentConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 37 |     public init(parser: ArgumentParser) throws {
 38 |         guard let path = parser.shift() else {
[82/91] Compiling ModelGenKit Configuration.swift
[83/91] Compiling ModelGenKit JsonParser.swift
[84/91] Compiling ModelGenKit Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:15:5: warning: var 'jsonAbsolutePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 | // MARK: - Global
 14 |
 15 | var jsonAbsolutePath = Path()
    |     |- warning: var 'jsonAbsolutePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'jsonAbsolutePath' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'jsonAbsolutePath' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | var currentFile = Path()
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:16:5: warning: var 'currentFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 |
 15 | var jsonAbsolutePath = Path()
 16 | var currentFile = Path()
    |     |- warning: var 'currentFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'currentFile' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'currentFile' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 | // MARK: - Validators
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:27:12: warning: let 'pathExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
 25 | }
 26 |
 27 | public let pathExists = checkPath(type: "path") { $0.exists }
    |            |- warning: let 'pathExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'pathExists' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 | let fileExists = checkPath(type: "file") { $0.isFile }
 29 | let dirExists  = checkPath(type: "directory") { $0.isDirectory }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:28:5: warning: let 'fileExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | public let pathExists = checkPath(type: "path") { $0.exists }
 28 | let fileExists = checkPath(type: "file") { $0.isFile }
    |     |- warning: let 'fileExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'fileExists' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 | let dirExists  = checkPath(type: "directory") { $0.isDirectory }
 30 | let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:29:5: warning: let 'dirExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
 27 | public let pathExists = checkPath(type: "path") { $0.exists }
 28 | let fileExists = checkPath(type: "file") { $0.isFile }
 29 | let dirExists  = checkPath(type: "directory") { $0.isDirectory }
    |     |- warning: let 'dirExists' is not concurrency-safe because non-'Sendable' type '(Path) throws -> Path' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'dirExists' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 | let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
 31 | let filesExist = { (paths: [Path]) throws -> [Path] in try paths.map(fileExists) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:30:5: warning: let 'pathsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | let fileExists = checkPath(type: "file") { $0.isFile }
 29 | let dirExists  = checkPath(type: "directory") { $0.isDirectory }
 30 | let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
    |     |- warning: let 'pathsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'pathsExist' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 | let filesExist = { (paths: [Path]) throws -> [Path] in try paths.map(fileExists) }
 32 | let dirsExist = { (paths: [Path]) throws -> [Path] in try paths.map(dirExists) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:31:5: warning: let 'filesExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
 29 | let dirExists  = checkPath(type: "directory") { $0.isDirectory }
 30 | let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
 31 | let filesExist = { (paths: [Path]) throws -> [Path] in try paths.map(fileExists) }
    |     |- warning: let 'filesExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'filesExist' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 | let dirsExist = { (paths: [Path]) throws -> [Path] in try paths.map(dirExists) }
 33 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:32:5: warning: let 'dirsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | let pathsExist = { (paths: [Path]) throws -> [Path] in try paths.map(pathExists) }
 31 | let filesExist = { (paths: [Path]) throws -> [Path] in try paths.map(fileExists) }
 32 | let dirsExist = { (paths: [Path]) throws -> [Path] in try paths.map(dirExists) }
    |     |- warning: let 'dirsExist' is not concurrency-safe because non-'Sendable' type '([Path]) throws -> [Path]' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: add '@MainActor' to make let 'dirsExist' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 | // MARK: - Path as Input Argument
/Users/admin/builder/spi-builder-workspace/Sources/ModelGenKit/Utils.swift:36:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'ArgumentConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
 34 | // MARK: - Path as Input Argument
 35 |
 36 | extension Path: ArgumentConvertible {
    | |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'ArgumentConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 37 |     public init(parser: ArgumentParser) throws {
 38 |         guard let path = parser.shift() else {
[85/91] Compiling ModelGenKit JsonParser+Context.swift
[86/91] Compiling ModelGenKit String+Helpers.swift
[87/91] Compiling ModelGenKit Schema.swift
[88/91] Compiling ModelGenKit YamlParser.swift
[89/93] Emitting module ModelGen
[90/93] Compiling ModelGen main.swift
[90/93] Write Objects.LinkFileList
[91/93] Linking modelgen
[92/93] Applying modelgen
Build complete! (10.68s)
warning: 'stencilswiftkit': 'stencilswiftkit' dependency on 'https://github.com/stencilproject/Stencil.git' conflicts with dependency on 'https://github.com/kylef/Stencil.git' which has the same identity 'stencil'. this will be escalated to an error in future versions of SwiftPM.
Build complete.
{
  "dependencies" : [
    {
      "identity" : "commander",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Commander.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "stencil",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.13.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Stencil.git"
    },
    {
      "identity" : "stencilswiftkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftGen/StencilSwiftKit.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "ModelGen",
  "name" : "ModelGen",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "modelgen",
      "targets" : [
        "ModelGen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ModelGenKit",
      "targets" : [
        "ModelGenKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ModelGenTests",
      "module_type" : "SwiftTarget",
      "name" : "ModelGenTests",
      "path" : "Tests/ModelGenTests",
      "sources" : [
        "Core/TestUtils.swift",
        "Tests/ConfigurationTest.swift",
        "Tests/ErrorTests.swift",
        "Tests/FiltersTest.swift",
        "Tests/SchemaTests.swift",
        "Tests/YamlParserTest.swift"
      ],
      "target_dependencies" : [
        "ModelGenKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ModelGenKit",
      "module_type" : "SwiftTarget",
      "name" : "ModelGenKit",
      "path" : "Sources/ModelGenKit",
      "product_dependencies" : [
        "Commander",
        "PathKit",
        "Stencil",
        "StencilSwiftKit",
        "Yams"
      ],
      "product_memberships" : [
        "modelgen",
        "ModelGenKit"
      ],
      "sources" : [
        "Configuration.swift",
        "Error.swift",
        "Filters.swift",
        "JsonParser+Context.swift",
        "JsonParser.swift",
        "LanguageType.swift",
        "Schema.swift",
        "String+Helpers.swift",
        "Utils.swift",
        "YamlParser.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ModelGen",
      "module_type" : "SwiftTarget",
      "name" : "ModelGen",
      "path" : "Sources/ModelGen",
      "product_memberships" : [
        "modelgen"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ModelGenKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.2"
}
Done.