The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TypeSwift, reference master (7f5f5a), with Swift 6.3 for Wasm on 10 Apr 2026 22:17:53 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/momeno/typeswift.git
Reference: master
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/momeno/typeswift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7f5f5ac Update README.md
Cloned https://github.com/momeno/typeswift.git
Revision (git rev-parse @):
7f5f5ac71055191ae0d4adc088a0073165ba9402
SUCCESS checkout https://github.com/momeno/typeswift.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/momeno/typeswift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/25] Compiling TypeSwift String+Trim.swift
/host/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>
[4/25] Compiling TypeSwift SwiftNumber.swift
/host/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>
[5/25] Compiling TypeSwift Type.swift
/host/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>
[6/25] Compiling TypeSwift AccessLevel.swift
/host/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>
[7/25] Compiling TypeSwift CodeBlock.swift
/host/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>
[8/25] Compiling TypeSwift Expression.swift
/host/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>
[9/25] Compiling TypeSwift Function.swift
/host/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>
[10/25] Compiling TypeSwift ModelDeclaration.swift
[11/25] Compiling TypeSwift Permission.swift
[12/25] Compiling TypeSwift PropertyDefinition.swift
[13/25] Compiling TypeSwift InterfaceDeclaration.swift
[14/25] Compiling TypeSwift Model.swift
[15/25] Compiling TypeSwift ModelBody.swift
[16/25] Emitting module TypeSwift
[17/25] Compiling TypeSwift Protocols.swift
[18/25] Compiling TypeSwift String+Help.swift
[19/25] Compiling TypeSwift String+RegexHelpers.swift
[20/25] Compiling TypeSwift TypeScript+Constants.swift
[21/25] Compiling TypeSwift TypeScript.swift
[22/25] Compiling TypeSwift TypeScriptElement.swift
[23/25] Compiling TypeSwift FunctionDeclaration.swift
/host/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>
[24/25] Compiling TypeSwift Interface.swift
/host/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/25] Compiling TypeSwift InterfaceBody.swift
/host/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 TypeScriptError.swift
[27/28] Compiling TypeSwift TypeSwift.swift
[28/28] Compiling TypeSwift VariableType.swift
Build complete! (10.05s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TypeSwift",
  "name" : "TypeSwift",
  "path" : "/host/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"
}
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Done.