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 1.4.0 (1ad0d6), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 13:25:52 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: 1.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/YusukeHosonuma/SwiftPrettyPrint
 * tag               1.4.0      -> FETCH_HEAD
HEAD is now at 1ad0d60 Merge pull request #192 from YusukeHosonuma/fix/colored-log
Cloned https://github.com/YusukeHosonuma/SwiftPrettyPrint.git
Revision (git rev-parse @):
1ad0d60150ae89c95846a736cb71cf322c8c8610
SUCCESS checkout https://github.com/YusukeHosonuma/SwiftPrettyPrint.git at 1.4.0
========================================
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 Option.swift
[7/21] Emitting module SwiftPrettyPrint
[8/21] Compiling SwiftPrettyPrint View+prettyPrint.swift
[9/21] Compiling SwiftPrettyPrint Pretty.swift
[10/21] Compiling SwiftPrettyPrint Operator.swift
[11/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:386:39: warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
384 |                 case let value as CustomStringConvertible:
385 |                     if #available(iOS 10.0, tvOS 10.0, *),
386 |                         let _ = value as? UIComponent {
    |                                       `- warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
387 |                         return nil
388 |                     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriber.swift:399:39: warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
397 |                 case let value as CustomStringConvertible:
398 |                     if #available(iOS 10.0, tvOS 10.0, *),
399 |                         let _ = value as? UIComponent {
    |                                       `- warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
400 |                         return nil
401 |                     } else {
[12/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:386:39: warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
384 |                 case let value as CustomStringConvertible:
385 |                     if #available(iOS 10.0, tvOS 10.0, *),
386 |                         let _ = value as? UIComponent {
    |                                       `- warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
387 |                         return nil
388 |                     } else {
/Users/admin/builder/spi-builder-workspace/Sources/Core/PrettyDescriber.swift:399:39: warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
397 |                 case let value as CustomStringConvertible:
398 |                     if #available(iOS 10.0, tvOS 10.0, *),
399 |                         let _ = value as? UIComponent {
    |                                       `- warning: cast from 'any CustomStringConvertible' to unrelated type 'UIComponent' (aka 'any AnyObject.Type') always fails
400 |                         return nil
401 |                     } else {
[13/21] Compiling SwiftPrettyPrint ColorTheme.swift
[14/21] Compiling SwiftPrettyPrint MultilineFormatter.swift
[15/21] Compiling SwiftPrettyPrint PrettyDescriberError.swift
[16/21] Compiling SwiftPrettyPrint Util.swift
[17/21] Compiling SwiftPrettyPrint CombineOperatorOption.swift
[18/21] Compiling SwiftPrettyPrint PrettyFormatter.swift
[19/21] Compiling SwiftPrettyPrint SinglelineFormatter.swift
[20/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)"
[21/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)"
Build complete! (18.58s)
Fetching https://github.com/YusukeHosonuma/SwiftParamTest.git
Fetching https://github.com/mtynior/ColorizeSwift.git
Fetching https://github.com/thoughtbot/Curry.git
[1/291] Fetching colorizeswift
[60/1103] Fetching colorizeswift, swiftparamtest
[239/1703] Fetching colorizeswift, swiftparamtest, curry
Fetched https://github.com/thoughtbot/Curry.git from cache (1.27s)
Fetched https://github.com/YusukeHosonuma/SwiftParamTest.git from cache (1.27s)
Fetched https://github.com/mtynior/ColorizeSwift.git from cache (1.27s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (3.19s)
Computing version for https://github.com/YusukeHosonuma/SwiftParamTest.git
Computed https://github.com/YusukeHosonuma/SwiftParamTest.git at 2.2.1 (0.48s)
Fetching https://github.com/YusukeHosonuma/SHList.git
Fetching https://github.com/YusukeHosonuma/Flatten.git
[1/64] Fetching shlist
[55/206] Fetching shlist, flatten
Fetched https://github.com/YusukeHosonuma/Flatten.git from cache (0.66s)
[55/64] Fetching shlist
Fetched https://github.com/YusukeHosonuma/SHList.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.17s)
Computing version for https://github.com/YusukeHosonuma/Flatten.git
Computed https://github.com/YusukeHosonuma/Flatten.git at 0.1.0 (0.46s)
Computing version for https://github.com/mtynior/ColorizeSwift.git
Computed https://github.com/mtynior/ColorizeSwift.git at 1.7.0 (1.84s)
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/Flatten.git
Working copy of https://github.com/YusukeHosonuma/Flatten.git resolved at 0.1.0
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/YusukeHosonuma/SwiftParamTest.git
Working copy of https://github.com/YusukeHosonuma/SwiftParamTest.git resolved at 2.2.1
Creating working copy for https://github.com/mtynior/ColorizeSwift.git
Working copy of https://github.com/mtynior/ColorizeSwift.git resolved at 1.7.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.