The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TypeSwift, reference 0.0.14 (9e7d2d), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 21:48:13 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/momeno/typeswift.git
Reference: 0.0.14
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/momeno/typeswift
 * tag               0.0.14     -> FETCH_HEAD
HEAD is now at 9e7d2d3 Fix model to support SuperInterfaces as associated types within Generic components
Cloned https://github.com/momeno/typeswift.git
Revision (git rev-parse @):
9e7d2d3a13d270ccb76435d6fb01b585b66d2c31
SUCCESS checkout https://github.com/momeno/typeswift.git at 0.0.14
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "typeswift",
      "name": "TypeSwift",
      "url": "https://github.com/momeno/typeswift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/typeswift",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/momeno/typeswift.git
[1/679] Fetching typeswift
Fetched https://github.com/momeno/typeswift.git from cache (0.68s)
Creating working copy for https://github.com/momeno/typeswift.git
Working copy of https://github.com/momeno/typeswift.git resolved at 0.0.14 (9e7d2d3)
warning: '.resolve-product-dependencies': dependency 'typeswift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/momeno/typeswift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/26] Compiling TypeSwift InterfaceBody.swift
[4/26] Compiling TypeSwift InterfaceDeclaration.swift
[5/26] Compiling TypeSwift Model.swift
[6/26] Compiling TypeSwift SwiftNumber.swift
/Users/admin/builder/spi-builder-workspace/Sources/TypeSwift/Type.swift:96:66: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
 94 |             self = .tuple(type1, type2)
 95 |         } else if let generic = typescript.extractGenericType() {
 96 |             self = .generic(generic.name, try generic.associates.flatMap(Type.init(typescript:)))
    |                                                                  |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                                                  `- note: use 'compactMap(_:)' instead
 97 |         } else {
 98 |             self = .custom(typescript)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[7/26] Compiling TypeSwift Type.swift
/Users/admin/builder/spi-builder-workspace/Sources/TypeSwift/Type.swift:96:66: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
 94 |             self = .tuple(type1, type2)
 95 |         } else if let generic = typescript.extractGenericType() {
 96 |             self = .generic(generic.name, try generic.associates.flatMap(Type.init(typescript:)))
    |                                                                  |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                                                  `- note: use 'compactMap(_:)' instead
 97 |         } else {
 98 |             self = .custom(typescript)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[8/26] Compiling TypeSwift String+RegexHelpers.swift
[9/26] Compiling TypeSwift String+Trim.swift
[10/28] Compiling TypeSwift TypeScriptElement.swift
[11/28] Compiling TypeSwift TypeScriptError.swift
[12/28] Compiling TypeSwift PropertyDefinition.swift
[13/28] Compiling TypeSwift Protocols.swift
[14/28] Compiling TypeSwift String+Help.swift
[15/28] Compiling TypeSwift TypeScript+Constants.swift
[16/28] Compiling TypeSwift TypeScript.swift
[17/28] Compiling TypeSwift ModelBody.swift
[18/28] Compiling TypeSwift ModelDeclaration.swift
[19/28] Compiling TypeSwift Permission.swift
[20/28] Compiling TypeSwift AccessLevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/TypeSwift/CodeBlock.swift:40:14: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
38 |         let expressionEndingSet = CharacterSet(charactersIn: "\n;")
39 |         let expressions = try innerString.componentsWithoutPadding(separatedBy: expressionEndingSet)
40 |             .flatMap(Expression.init(typescript:))
   |              |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
   |              `- note: use 'compactMap(_:)' instead
41 |
42 |         self = .expressions(expressions)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[21/28] Compiling TypeSwift CodeBlock.swift
/Users/admin/builder/spi-builder-workspace/Sources/TypeSwift/CodeBlock.swift:40:14: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
38 |         let expressionEndingSet = CharacterSet(charactersIn: "\n;")
39 |         let expressions = try innerString.componentsWithoutPadding(separatedBy: expressionEndingSet)
40 |             .flatMap(Expression.init(typescript:))
   |              |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
   |              `- note: use 'compactMap(_:)' instead
41 |
42 |         self = .expressions(expressions)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[22/28] Compiling TypeSwift Expression.swift
/Users/admin/builder/spi-builder-workspace/Sources/TypeSwift/CodeBlock.swift:40:14: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
38 |         let expressionEndingSet = CharacterSet(charactersIn: "\n;")
39 |         let expressions = try innerString.componentsWithoutPadding(separatedBy: expressionEndingSet)
40 |             .flatMap(Expression.init(typescript:))
   |              |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
   |              `- note: use 'compactMap(_:)' instead
41 |
42 |         self = .expressions(expressions)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[23/28] Emitting module TypeSwift
[24/28] Compiling TypeSwift Function.swift
/Users/admin/builder/spi-builder-workspace/Sources/TypeSwift/FunctionDeclaration.swift:85:14: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
83 |
84 |         self.functionParams = try params.componentsWithoutPadding(separatedBy: ",")
85 |             .flatMap(PropertyDefinition.init)
   |              |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
   |              `- note: use 'compactMap(_:)' instead
86 |
87 |         self.typescript = typescript
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[25/28] Compiling TypeSwift FunctionDeclaration.swift
/Users/admin/builder/spi-builder-workspace/Sources/TypeSwift/FunctionDeclaration.swift:85:14: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
83 |
84 |         self.functionParams = try params.componentsWithoutPadding(separatedBy: ",")
85 |             .flatMap(PropertyDefinition.init)
   |              |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
   |              `- note: use 'compactMap(_:)' instead
86 |
87 |         self.typescript = typescript
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[26/28] Compiling TypeSwift Interface.swift
/Users/admin/builder/spi-builder-workspace/Sources/TypeSwift/FunctionDeclaration.swift:85:14: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
83 |
84 |         self.functionParams = try params.componentsWithoutPadding(separatedBy: ",")
85 |             .flatMap(PropertyDefinition.init)
   |              |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
   |              `- note: use 'compactMap(_:)' instead
86 |
87 |         self.typescript = typescript
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[27/28] Compiling TypeSwift TypeSwift.swift
[28/28] Compiling TypeSwift VariableType.swift
Build complete! (5.42s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TypeSwift",
  "name" : "TypeSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TypeSwift",
      "targets" : [
        "TypeSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TypeSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "TypeSwiftTests",
      "path" : "Tests/TypeSwiftTests",
      "sources" : [
        "StringHelperTests.swift",
        "TypeSwiftTests.swift"
      ],
      "target_dependencies" : [
        "TypeSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TypeSwift",
      "module_type" : "SwiftTarget",
      "name" : "TypeSwift",
      "path" : "Sources/TypeSwift",
      "product_memberships" : [
        "TypeSwift"
      ],
      "sources" : [
        "AccessLevel.swift",
        "CodeBlock.swift",
        "Expression.swift",
        "Function.swift",
        "FunctionDeclaration.swift",
        "Interface.swift",
        "InterfaceBody.swift",
        "InterfaceDeclaration.swift",
        "Model.swift",
        "ModelBody.swift",
        "ModelDeclaration.swift",
        "Permission.swift",
        "PropertyDefinition.swift",
        "Protocols.swift",
        "String+Help.swift",
        "String+RegexHelpers.swift",
        "String+Trim.swift",
        "SwiftNumber.swift",
        "Type.swift",
        "TypeScript+Constants.swift",
        "TypeScript.swift",
        "TypeScriptElement.swift",
        "TypeScriptError.swift",
        "TypeSwift.swift",
        "VariableType.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.