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 SwiftPrettyPrint, reference main (5bc864), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 13:25:04 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/YusukeHosonuma/SwiftPrettyPrint.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/YusukeHosonuma/SwiftPrettyPrint
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5bc8648 Merge pull request #195 from YusukeHosonuma/hotfix-infinity-loop
Cloned https://github.com/YusukeHosonuma/SwiftPrettyPrint.git
Revision (git rev-parse @):
5bc86489448197a543c5dd62beb6cbeffb6006fc
SUCCESS checkout https://github.com/YusukeHosonuma/SwiftPrettyPrint.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/YusukeHosonuma/SwiftPrettyPrint.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/5] Compiling ColorizeSwift ColorizeSwift.swift
[5/5] Emitting module ColorizeSwift
[6/20] Compiling SwiftPrettyPrint PrettyDescriberError.swift
[7/20] Compiling SwiftPrettyPrint Util.swift
[8/21] Compiling SwiftPrettyPrint CombineOperatorOption.swift
[9/21] Compiling SwiftPrettyPrint PrettyFormatter.swift
[10/21] Compiling SwiftPrettyPrint SinglelineFormatter.swift
[11/21] Compiling SwiftPrettyPrint Option.swift
[12/21] Compiling SwiftPrettyPrint Pretty.swift
[13/21] Compiling SwiftPrettyPrint View+prettyPrint.swift
[14/21] Compiling SwiftPrettyPrint String+extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/CombineExtension.swift:59:23: warning: generic parameter 'Output' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 45 |
 46 |         /// Output events to specified output stream.
 47 |         public func prettyPrint<Output: TextOutputStream>(
    |                                 `- note: 'Output' previously declared here
 48 |             _ prefix: String = "",
 49 |             when: [CombineOperatorOption.Event] = CombineOperatorOption.Event.allCases,
    :
 57 |             // Use local function for capture arguments.
 58 |
 59 |             func _out<Output: TextOutputStream>(_ value: String, terminator: String = "\n", to output: Output) {
    |                       `- warning: generic parameter 'Output' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 60 |                 let message = prefix.isEmpty
 61 |                     ? "\(value)"
[15/21] Compiling SwiftPrettyPrint CombineExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/CombineExtension.swift:59:23: warning: generic parameter 'Output' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 45 |
 46 |         /// Output events to specified output stream.
 47 |         public func prettyPrint<Output: TextOutputStream>(
    |                                 `- note: 'Output' previously declared here
 48 |             _ prefix: String = "",
 49 |             when: [CombineOperatorOption.Event] = CombineOperatorOption.Event.allCases,
    :
 57 |             // Use local function for capture arguments.
 58 |
 59 |             func _out<Output: TextOutputStream>(_ value: String, terminator: String = "\n", to output: Output) {
    |                       `- warning: generic parameter 'Output' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 60 |                 let message = prefix.isEmpty
 61 |                     ? "\(value)"
[16/21] Compiling SwiftPrettyPrint Operator.swift
[17/21] Emitting module SwiftPrettyPrint
[18/21] Compiling SwiftPrettyPrint ColorTheme.swift
[19/21] Compiling SwiftPrettyPrint MultilineFormatter.swift
[20/21] Compiling SwiftPrettyPrint LogOutputStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriber.swift:193:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
186 |     }
187 |
188 |     private func asPremitiveString<T>(_ target: T, debug: Bool) -> String? {
    |                                    `- note: 'T' previously declared here
189 |         //
190 |         // SwiftUI Library
191 |         //
192 |         #if canImport(SwiftUI)
193 |             func __string<T: Any>(_ target: T) -> String {
    |                           `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
194 |                 string(target, debug: debug) // ☑️ Capture `debug`
195 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriber.swift:401:39: warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
399 |                 case let value as CustomStringConvertible:
400 |                     if #available(iOS 10.0, tvOS 10.0, *),
401 |                         let _ = value as? UIComponent {
    |                                       `- warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
402 |                         return nil
403 |                     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriber.swift:414:39: warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
412 |                 case let value as CustomStringConvertible:
413 |                     if #available(iOS 10.0, tvOS 10.0, *),
414 |                         let _ = value as? UIComponent {
    |                                       `- warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
415 |                         return nil
416 |                     } else {
[21/21] Compiling SwiftPrettyPrint PrettyDescriber.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriber.swift:193:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
186 |     }
187 |
188 |     private func asPremitiveString<T>(_ target: T, debug: Bool) -> String? {
    |                                    `- note: 'T' previously declared here
189 |         //
190 |         // SwiftUI Library
191 |         //
192 |         #if canImport(SwiftUI)
193 |             func __string<T: Any>(_ target: T) -> String {
    |                           `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
194 |                 string(target, debug: debug) // ☑️ Capture `debug`
195 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriber.swift:401:39: warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
399 |                 case let value as CustomStringConvertible:
400 |                     if #available(iOS 10.0, tvOS 10.0, *),
401 |                         let _ = value as? UIComponent {
    |                                       `- warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
402 |                         return nil
403 |                     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriber.swift:414:39: warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
412 |                 case let value as CustomStringConvertible:
413 |                     if #available(iOS 10.0, tvOS 10.0, *),
414 |                         let _ = value as? UIComponent {
    |                                       `- warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
415 |                         return nil
416 |                     } else {
Build complete! (18.92s)
Fetching https://github.com/thoughtbot/Curry.git
Fetching https://github.com/YusukeHosonuma/SwiftParamTest.git
Fetching https://github.com/mtynior/ColorizeSwift.git
[1/812] Fetching swiftparamtest
[125/1103] Fetching swiftparamtest, colorizeswift
[182/1703] Fetching swiftparamtest, colorizeswift, curry
Fetched https://github.com/thoughtbot/Curry.git from cache (0.84s)
[241/1103] Fetching swiftparamtest, colorizeswift
Fetched https://github.com/YusukeHosonuma/SwiftParamTest.git from cache (1.17s)
Fetched https://github.com/mtynior/ColorizeSwift.git from cache (1.17s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (3.16s)
Computing version for https://github.com/YusukeHosonuma/SwiftParamTest.git
Computed https://github.com/YusukeHosonuma/SwiftParamTest.git at 2.2.1 (0.52s)
Fetching https://github.com/YusukeHosonuma/SHList.git
Fetching https://github.com/YusukeHosonuma/Flatten.git
[1/64] Fetching shlist
[45/206] Fetching shlist, flatten
Fetched https://github.com/YusukeHosonuma/SHList.git from cache (0.69s)
Fetched https://github.com/YusukeHosonuma/Flatten.git from cache (0.69s)
Computing version for https://github.com/YusukeHosonuma/SHList.git
Computed https://github.com/YusukeHosonuma/SHList.git at 0.1.0 (1.23s)
Computing version for https://github.com/YusukeHosonuma/Flatten.git
Computed https://github.com/YusukeHosonuma/Flatten.git at 0.1.0 (0.49s)
Computing version for https://github.com/mtynior/ColorizeSwift.git
Computed https://github.com/mtynior/ColorizeSwift.git at 1.7.0 (1.91s)
Creating working copy for https://github.com/YusukeHosonuma/SwiftParamTest.git
Working copy of https://github.com/YusukeHosonuma/SwiftParamTest.git resolved at 2.2.1
Creating working copy for https://github.com/thoughtbot/Curry.git
Working copy of https://github.com/thoughtbot/Curry.git resolved at 4.0.2
Creating working copy for https://github.com/YusukeHosonuma/SHList.git
Working copy of https://github.com/YusukeHosonuma/SHList.git resolved at 0.1.0
Creating working copy for https://github.com/mtynior/ColorizeSwift.git
Working copy of https://github.com/mtynior/ColorizeSwift.git resolved at 1.7.0
Creating working copy for https://github.com/YusukeHosonuma/Flatten.git
Working copy of https://github.com/YusukeHosonuma/Flatten.git resolved at 0.1.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftparamtest",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/YusukeHosonuma/SwiftParamTest.git"
    },
    {
      "identity" : "curry",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.2",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/thoughtbot/Curry.git"
    },
    {
      "identity" : "colorizeswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mtynior/ColorizeSwift.git"
    }
  ],
  "manifest_display_name" : "SwiftPrettyPrint",
  "name" : "SwiftPrettyPrint",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftPrettyPrint",
      "targets" : [
        "SwiftPrettyPrint"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftPrettyPrintTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPrettyPrintTests",
      "path" : "Tests/SwiftPrettyPrintTests",
      "product_dependencies" : [
        "SwiftParamTest",
        "Curry"
      ],
      "sources" : [
        "Core/Formatter/MultilineFormatterTests.swift",
        "Core/Formatter/SinglelineFormatterTests.swift",
        "Core/PrettyDescriberTests.swift",
        "Core/URLColoringTests.swift",
        "Core/UtilTests.swift",
        "Extension/String+extensionTests.swift",
        "Helper/Assertions.swift",
        "Helper/DebugHelper.swift",
        "Public/CombineExtensionTests.swift",
        "Public/DebugTests.swift",
        "Public/OperatorTests.swift",
        "Public/OptionTests.swift"
      ],
      "target_dependencies" : [
        "SwiftPrettyPrint"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftPrettyPrint",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPrettyPrint",
      "path" : "Sources",
      "product_dependencies" : [
        "ColorizeSwift"
      ],
      "product_memberships" : [
        "SwiftPrettyPrint"
      ],
      "sources" : [
        "Core/Color/ColorTheme.swift",
        "Core/Formatter/MultilineFormatter.swift",
        "Core/Formatter/PrettyFormatter.swift",
        "Core/Formatter/SinglelineFormatter.swift",
        "Core/Log/LogOutputStream.swift",
        "Core/PrettyDescriber.swift",
        "Core/PrettyDescriberError.swift",
        "Core/Util.swift",
        "Extension/String+extension.swift",
        "Public/CombineExtension.swift",
        "Public/CombineOperatorOption.swift",
        "Public/Operator.swift",
        "Public/Option.swift",
        "Public/Pretty.swift",
        "Public/View+prettyPrint.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.