The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwiftPrettyPrint, reference 1.4.0 (1ad0d6), with Swift 6.1 for Linux on 27 Apr 2025 00:45:15 UTC.

Swift 6 data race errors: 12

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/YusukeHosonuma/SwiftPrettyPrint.git
Reference: 1.4.0
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/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:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/YusukeHosonuma/SwiftPrettyPrint.git
https://github.com/YusukeHosonuma/SwiftPrettyPrint.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/thoughtbot/Curry.git
Fetching https://github.com/mtynior/ColorizeSwift.git
Fetching https://github.com/YusukeHosonuma/SwiftParamTest.git
[1/291] Fetching colorizeswift
[60/1103] Fetching colorizeswift, swiftparamtest
[85/1700] Fetching colorizeswift, swiftparamtest, curry
Fetched https://github.com/thoughtbot/Curry.git from cache (0.27s)
Fetched https://github.com/mtynior/ColorizeSwift.git from cache (0.30s)
Fetched https://github.com/YusukeHosonuma/SwiftParamTest.git from cache (0.30s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (2.55s)
Computing version for https://github.com/YusukeHosonuma/SwiftParamTest.git
Computed https://github.com/YusukeHosonuma/SwiftParamTest.git at 2.2.1 (0.60s)
Fetching https://github.com/YusukeHosonuma/Flatten.git
Fetching https://github.com/YusukeHosonuma/SHList.git
[1/64] Fetching shlist
[65/206] Fetching shlist, flatten
Fetched https://github.com/YusukeHosonuma/SHList.git from cache (0.18s)
Fetched https://github.com/YusukeHosonuma/Flatten.git from cache (0.18s)
Computing version for https://github.com/YusukeHosonuma/SHList.git
Computed https://github.com/YusukeHosonuma/SHList.git at 0.1.0 (0.76s)
Computing version for https://github.com/YusukeHosonuma/Flatten.git
Computed https://github.com/YusukeHosonuma/Flatten.git at 0.1.0 (0.58s)
Computing version for https://github.com/mtynior/ColorizeSwift.git
Computed https://github.com/mtynior/ColorizeSwift.git at 1.7.0 (2.21s)
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
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/thoughtbot/Curry.git
Working copy of https://github.com/thoughtbot/Curry.git resolved at 4.0.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Compiling ColorizeSwift ColorizeSwift.swift
[5/5] Emitting module ColorizeSwift
[7/21] Compiling SwiftPrettyPrint CombineOperatorOption.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Public/Operator.swift:33:12: warning: let 'p' is not concurrency-safe because non-'Sendable' type '(String) -> P' may have shared mutable state; this is an error in the Swift 6 language mode
31 | // ----------------------------------------------------------------------------
32 |
33 | public let p: (String) -> P = { label in P(label: label) }
   |            |- warning: let 'p' is not concurrency-safe because non-'Sendable' type '(String) -> P' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'p' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public let pp: (String) -> PP = { label in PP(label: label) }
35 | public let pd: (String) -> PD = { label in PD(label: label) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Public/Operator.swift:34:12: warning: let 'pp' is not concurrency-safe because non-'Sendable' type '(String) -> PP' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public let p: (String) -> P = { label in P(label: label) }
34 | public let pp: (String) -> PP = { label in PP(label: label) }
   |            |- warning: let 'pp' is not concurrency-safe because non-'Sendable' type '(String) -> PP' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'pp' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public let pd: (String) -> PD = { label in PD(label: label) }
36 | public let ppd: (String) -> PPD = { label in PPD(label: label) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Public/Operator.swift:35:12: warning: let 'pd' is not concurrency-safe because non-'Sendable' type '(String) -> PD' may have shared mutable state; this is an error in the Swift 6 language mode
33 | public let p: (String) -> P = { label in P(label: label) }
34 | public let pp: (String) -> PP = { label in PP(label: label) }
35 | public let pd: (String) -> PD = { label in PD(label: label) }
   |            |- warning: let 'pd' is not concurrency-safe because non-'Sendable' type '(String) -> PD' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'pd' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public let ppd: (String) -> PPD = { label in PPD(label: label) }
37 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Public/Operator.swift:36:12: warning: let 'ppd' is not concurrency-safe because non-'Sendable' type '(String) -> PPD' may have shared mutable state; this is an error in the Swift 6 language mode
34 | public let pp: (String) -> PP = { label in PP(label: label) }
35 | public let pd: (String) -> PD = { label in PD(label: label) }
36 | public let ppd: (String) -> PPD = { label in PPD(label: label) }
   |            |- warning: let 'ppd' is not concurrency-safe because non-'Sendable' type '(String) -> PPD' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'ppd' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | public struct P {
[8/21] Compiling SwiftPrettyPrint Operator.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Public/Operator.swift:33:12: warning: let 'p' is not concurrency-safe because non-'Sendable' type '(String) -> P' may have shared mutable state; this is an error in the Swift 6 language mode
31 | // ----------------------------------------------------------------------------
32 |
33 | public let p: (String) -> P = { label in P(label: label) }
   |            |- warning: let 'p' is not concurrency-safe because non-'Sendable' type '(String) -> P' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'p' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public let pp: (String) -> PP = { label in PP(label: label) }
35 | public let pd: (String) -> PD = { label in PD(label: label) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Public/Operator.swift:34:12: warning: let 'pp' is not concurrency-safe because non-'Sendable' type '(String) -> PP' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public let p: (String) -> P = { label in P(label: label) }
34 | public let pp: (String) -> PP = { label in PP(label: label) }
   |            |- warning: let 'pp' is not concurrency-safe because non-'Sendable' type '(String) -> PP' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'pp' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public let pd: (String) -> PD = { label in PD(label: label) }
36 | public let ppd: (String) -> PPD = { label in PPD(label: label) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Public/Operator.swift:35:12: warning: let 'pd' is not concurrency-safe because non-'Sendable' type '(String) -> PD' may have shared mutable state; this is an error in the Swift 6 language mode
33 | public let p: (String) -> P = { label in P(label: label) }
34 | public let pp: (String) -> PP = { label in PP(label: label) }
35 | public let pd: (String) -> PD = { label in PD(label: label) }
   |            |- warning: let 'pd' is not concurrency-safe because non-'Sendable' type '(String) -> PD' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'pd' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public let ppd: (String) -> PPD = { label in PPD(label: label) }
37 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Public/Operator.swift:36:12: warning: let 'ppd' is not concurrency-safe because non-'Sendable' type '(String) -> PPD' may have shared mutable state; this is an error in the Swift 6 language mode
34 | public let pp: (String) -> PP = { label in PP(label: label) }
35 | public let pd: (String) -> PD = { label in PD(label: label) }
36 | public let ppd: (String) -> PPD = { label in PPD(label: label) }
   |            |- warning: let 'ppd' is not concurrency-safe because non-'Sendable' type '(String) -> PPD' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'ppd' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | public struct P {
[9/21] Compiling SwiftPrettyPrint Option.swift
/host/spi-builder-workspace/Sources/Public/Pretty.swift:19:23: warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 | public class Pretty {
 18 |     /// Global format option
 19 |     public static var sharedOption: Option = .init()
    |                       |- warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'sharedOption' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'sharedOption' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |
 21 |     static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
/host/spi-builder-workspace/Sources/Public/Pretty.swift:21:16: warning: static property 'plainLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |     public static var sharedOption: Option = .init()
 20 |
 21 |     static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
    |                |- warning: static property 'plainLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'plainLogStream' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'plainLogStream' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     static var coloredLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output-colored.log"))
 23 |
/host/spi-builder-workspace/Sources/Public/Pretty.swift:22:16: warning: static property 'coloredLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 20 |
 21 |     static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
 22 |     static var coloredLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output-colored.log"))
    |                |- warning: static property 'coloredLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'coloredLogStream' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'coloredLogStream' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     private init() {}
[10/21] Compiling SwiftPrettyPrint Pretty.swift
/host/spi-builder-workspace/Sources/Public/Pretty.swift:19:23: warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 | public class Pretty {
 18 |     /// Global format option
 19 |     public static var sharedOption: Option = .init()
    |                       |- warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'sharedOption' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'sharedOption' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |
 21 |     static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
/host/spi-builder-workspace/Sources/Public/Pretty.swift:21:16: warning: static property 'plainLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |     public static var sharedOption: Option = .init()
 20 |
 21 |     static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
    |                |- warning: static property 'plainLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'plainLogStream' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'plainLogStream' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     static var coloredLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output-colored.log"))
 23 |
/host/spi-builder-workspace/Sources/Public/Pretty.swift:22:16: warning: static property 'coloredLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 20 |
 21 |     static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
 22 |     static var coloredLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output-colored.log"))
    |                |- warning: static property 'coloredLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'coloredLogStream' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'coloredLogStream' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     private init() {}
[11/22] Compiling SwiftPrettyPrint View+prettyPrint.swift
[12/22] Compiling SwiftPrettyPrint String+extension.swift
[13/22] Compiling SwiftPrettyPrint CombineExtension.swift
[14/22] Compiling SwiftPrettyPrint PrettyDescriberError.swift
/host/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:12:10: warning: associated value 'notSupported(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 |
11 | enum PrettyDescriberError: Error {
12 |     case notSupported(target: Any)
   |          `- warning: associated value 'notSupported(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 |     case failedExtractKeyValue(dictionary: Any)
14 |     case unknownError(target: Any)
/host/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:13:10: warning: associated value 'failedExtractKeyValue(dictionary:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
11 | enum PrettyDescriberError: Error {
12 |     case notSupported(target: Any)
13 |     case failedExtractKeyValue(dictionary: Any)
   |          `- warning: associated value 'failedExtractKeyValue(dictionary:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 |     case unknownError(target: Any)
15 | }
/host/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:14:10: warning: associated value 'unknownError(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |     case notSupported(target: Any)
13 |     case failedExtractKeyValue(dictionary: Any)
14 |     case unknownError(target: Any)
   |          `- warning: associated value 'unknownError(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 | }
16 |
[15/22] Compiling SwiftPrettyPrint Util.swift
/host/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:12:10: warning: associated value 'notSupported(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 |
11 | enum PrettyDescriberError: Error {
12 |     case notSupported(target: Any)
   |          `- warning: associated value 'notSupported(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 |     case failedExtractKeyValue(dictionary: Any)
14 |     case unknownError(target: Any)
/host/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:13:10: warning: associated value 'failedExtractKeyValue(dictionary:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
11 | enum PrettyDescriberError: Error {
12 |     case notSupported(target: Any)
13 |     case failedExtractKeyValue(dictionary: Any)
   |          `- warning: associated value 'failedExtractKeyValue(dictionary:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 |     case unknownError(target: Any)
15 | }
/host/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:14:10: warning: associated value 'unknownError(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |     case notSupported(target: Any)
13 |     case failedExtractKeyValue(dictionary: Any)
14 |     case unknownError(target: Any)
   |          `- warning: associated value 'unknownError(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 | }
16 |
[16/22] Compiling SwiftPrettyPrint ColorTheme.swift
/host/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:12:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public struct ColorTheme {
   |               `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 |     public static let plain = ColorTheme(
   |                       |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         type: { $0 },
14 |         nil: { $0 },
/host/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public struct ColorTheme {
   |               `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 |     public static let plain = ColorTheme(
13 |         type: { $0 },
   :
19 |     )
20 |
21 |     public static let `default` = ColorTheme(
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |         type: { $0.green().bold() },
23 |         nil: { $0.red() },
[17/22] Compiling SwiftPrettyPrint MultilineFormatter.swift
/host/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:12:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public struct ColorTheme {
   |               `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 |     public static let plain = ColorTheme(
   |                       |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         type: { $0 },
14 |         nil: { $0 },
/host/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public struct ColorTheme {
   |               `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 |     public static let plain = ColorTheme(
13 |         type: { $0 },
   :
19 |     )
20 |
21 |     public static let `default` = ColorTheme(
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |         type: { $0.green().bold() },
23 |         nil: { $0.red() },
[18/22] Compiling SwiftPrettyPrint LogOutputStream.swift
/host/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 {
/host/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 {
[19/22] Compiling SwiftPrettyPrint PrettyDescriber.swift
/host/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 {
/host/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 {
[20/22] Emitting module SwiftPrettyPrint
/host/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:12:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public struct ColorTheme {
   |               `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 |     public static let plain = ColorTheme(
   |                       |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         type: { $0 },
14 |         nil: { $0 },
/host/spi-builder-workspace/Sources/Core/Color/ColorTheme.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import Foundation
10 |
11 | public struct ColorTheme {
   |               `- note: consider making struct 'ColorTheme' conform to the 'Sendable' protocol
12 |     public static let plain = ColorTheme(
13 |         type: { $0 },
   :
19 |     )
20 |
21 |     public static let `default` = ColorTheme(
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ColorTheme' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |         type: { $0.green().bold() },
23 |         nil: { $0.red() },
/host/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:12:10: warning: associated value 'notSupported(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 |
11 | enum PrettyDescriberError: Error {
12 |     case notSupported(target: Any)
   |          `- warning: associated value 'notSupported(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
13 |     case failedExtractKeyValue(dictionary: Any)
14 |     case unknownError(target: Any)
/host/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:13:10: warning: associated value 'failedExtractKeyValue(dictionary:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
11 | enum PrettyDescriberError: Error {
12 |     case notSupported(target: Any)
13 |     case failedExtractKeyValue(dictionary: Any)
   |          `- warning: associated value 'failedExtractKeyValue(dictionary:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
14 |     case unknownError(target: Any)
15 | }
/host/spi-builder-workspace/Sources/Core/PrettyDescriberError.swift:14:10: warning: associated value 'unknownError(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |     case notSupported(target: Any)
13 |     case failedExtractKeyValue(dictionary: Any)
14 |     case unknownError(target: Any)
   |          `- warning: associated value 'unknownError(target:)' of 'Sendable'-conforming enum 'PrettyDescriberError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 | }
16 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Public/Operator.swift:33:12: warning: let 'p' is not concurrency-safe because non-'Sendable' type '(String) -> P' may have shared mutable state; this is an error in the Swift 6 language mode
31 | // ----------------------------------------------------------------------------
32 |
33 | public let p: (String) -> P = { label in P(label: label) }
   |            |- warning: let 'p' is not concurrency-safe because non-'Sendable' type '(String) -> P' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'p' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public let pp: (String) -> PP = { label in PP(label: label) }
35 | public let pd: (String) -> PD = { label in PD(label: label) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Public/Operator.swift:34:12: warning: let 'pp' is not concurrency-safe because non-'Sendable' type '(String) -> PP' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public let p: (String) -> P = { label in P(label: label) }
34 | public let pp: (String) -> PP = { label in PP(label: label) }
   |            |- warning: let 'pp' is not concurrency-safe because non-'Sendable' type '(String) -> PP' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'pp' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public let pd: (String) -> PD = { label in PD(label: label) }
36 | public let ppd: (String) -> PPD = { label in PPD(label: label) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Public/Operator.swift:35:12: warning: let 'pd' is not concurrency-safe because non-'Sendable' type '(String) -> PD' may have shared mutable state; this is an error in the Swift 6 language mode
33 | public let p: (String) -> P = { label in P(label: label) }
34 | public let pp: (String) -> PP = { label in PP(label: label) }
35 | public let pd: (String) -> PD = { label in PD(label: label) }
   |            |- warning: let 'pd' is not concurrency-safe because non-'Sendable' type '(String) -> PD' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'pd' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public let ppd: (String) -> PPD = { label in PPD(label: label) }
37 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Public/Operator.swift:36:12: warning: let 'ppd' is not concurrency-safe because non-'Sendable' type '(String) -> PPD' may have shared mutable state; this is an error in the Swift 6 language mode
34 | public let pp: (String) -> PP = { label in PP(label: label) }
35 | public let pd: (String) -> PD = { label in PD(label: label) }
36 | public let ppd: (String) -> PPD = { label in PPD(label: label) }
   |            |- warning: let 'ppd' is not concurrency-safe because non-'Sendable' type '(String) -> PPD' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'ppd' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | public struct P {
/host/spi-builder-workspace/Sources/Public/Pretty.swift:19:23: warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 | public class Pretty {
 18 |     /// Global format option
 19 |     public static var sharedOption: Option = .init()
    |                       |- warning: static property 'sharedOption' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'sharedOption' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'sharedOption' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |
 21 |     static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
/host/spi-builder-workspace/Sources/Public/Pretty.swift:21:16: warning: static property 'plainLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |     public static var sharedOption: Option = .init()
 20 |
 21 |     static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
    |                |- warning: static property 'plainLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'plainLogStream' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'plainLogStream' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     static var coloredLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output-colored.log"))
 23 |
/host/spi-builder-workspace/Sources/Public/Pretty.swift:22:16: warning: static property 'coloredLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 20 |
 21 |     static var plainLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output.log"))
 22 |     static var coloredLogStream = LogOutputStream(url: URL(fileURLWithPath: "/tmp/SwiftPrettyPrint/output-colored.log"))
    |                |- warning: static property 'coloredLogStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'coloredLogStream' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'coloredLogStream' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     private init() {}
[21/22] Compiling SwiftPrettyPrint PrettyFormatter.swift
[22/22] Compiling SwiftPrettyPrint SinglelineFormatter.swift
Build complete! (19.21s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.