The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TypeSwift, reference master (7f5f5a), with Swift 6.4 for Linux on 16 Sep 2026 10:40:03 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/momeno/typeswift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
[28 / 36] TypeSwift
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |              `- note: use 'compactMap(_:)' instead
41 |
42 |         self = .expressions(expressions)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                                                  `- note: use 'compactMap(_:)' instead
 97 |         } else {
 98 |             self = .custom(typescript)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[33 / 36] TypeSwift
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |              `- note: use 'compactMap(_:)' instead
86 |
87 |         self.typescript = typescript
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (5.29 secs)
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"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.