The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftCompilationDatabase, reference master (810f04), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 15:07:56 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/jerrymarino/SwiftCompilationDatabase.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jerrymarino/SwiftCompilationDatabase
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 810f040 Spartan Message Parser library
Cloned https://github.com/jerrymarino/SwiftCompilationDatabase.git
Revision (git rev-parse @):
810f040e97ebe97210d64a644d8d386e35a6358d
SUCCESS checkout https://github.com/jerrymarino/SwiftCompilationDatabase.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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swiftcompilationdatabase",
      "name": "SwiftCompilationDatabase",
      "url": "https://github.com/jerrymarino/SwiftCompilationDatabase.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftCompilationDatabase",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jerrymarino/SwiftCompilationDatabase.git
[1/28] Fetching swiftcompilationdatabase
Fetched https://github.com/jerrymarino/SwiftCompilationDatabase.git from cache (0.55s)
Creating working copy for https://github.com/jerrymarino/SwiftCompilationDatabase.git
Working copy of https://github.com/jerrymarino/SwiftCompilationDatabase.git resolved at master (810f040)
warning: '.resolve-product-dependencies': dependency 'swiftcompilationdatabase' 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/jerrymarino/SwiftCompilationDatabase.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[2/7] Write SwiftCompilationDatabase-entitlement.plist
[3/7] Write swift-version--6988338F2F200930.txt
[5/9] Compiling LogParser LogParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/LogParser/LogParser.swift:30:10: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
 28 |     return LogParser
 29 |         .readInput(logPath: logPath)
 30 |         .flatMap { try? JSONDecoder().decode(Message.self, from: $0 ) }
    |          |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |          `- note: use 'compactMap(_:)' instead
 31 | }
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/LogParser/LogParser.swift:36:28: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
 34 | public func renderCompileCommands(messages: [Message],
 35 |     dir: String = FileManager.default.currentDirectoryPath) -> String {
 36 |     let entries = messages.flatMap {
    |                            |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                            `- note: use 'compactMap(_:)' instead
 37 |         msg -> String? in
 38 |         // Load compile inputs
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/9] Emitting module LogParser
[7/11] Emitting module SwiftCompilationDatabase
[8/11] Compiling SwiftCompilationDatabase main.swift
[8/11] Write Objects.LinkFileList
[9/11] Linking SwiftCompilationDatabase
[10/11] Applying SwiftCompilationDatabase
Build complete! (5.17s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftCompilationDatabase",
  "name" : "SwiftCompilationDatabase",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LogParser",
      "targets" : [
        "SwiftCompilationDatabase"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftCompilationDatabase",
      "targets" : [
        "SwiftCompilationDatabase"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftCompilationDatabase",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCompilationDatabase",
      "path" : "Sources/SwiftCompilationDatabase",
      "product_memberships" : [
        "LogParser",
        "SwiftCompilationDatabase"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "LogParser"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "LogParser",
      "module_type" : "SwiftTarget",
      "name" : "LogParser",
      "path" : "Sources/LogParser",
      "product_memberships" : [
        "LogParser",
        "SwiftCompilationDatabase"
      ],
      "sources" : [
        "LogParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.