Build Information
Successful build of swift-custom-dump, reference 2022.11.1 (7e82ed
), with Swift 6.0 for Linux on 4 Nov 2024 01:10:29 UTC.
Swift 6 data race errors: 5
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLeif/swift-custom-dump.git
Reference: 2022.11.1
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/0xLeif/swift-custom-dump
* tag 2022.11.1 -> FETCH_HEAD
HEAD is now at 7e82ed0 Merge branch 'pointfreeco:main' into main
Cloned https://github.com/0xLeif/swift-custom-dump.git
Revision (git rev-parse @):
7e82ed0d2de34933946353336dec5f210c62d658
SUCCESS checkout https://github.com/0xLeif/swift-custom-dump.git at 2022.11.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/0xLeif/swift-custom-dump.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/4985] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.68s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.51s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[5/12] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[6/12] Compiling XCTestDynamicOverlay XCTFail.swift
[7/12] Compiling XCTestDynamicOverlay Unimplemented.swift
[8/12] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[9/12] Compiling XCTestDynamicOverlay Deprecations.swift
[10/12] Emitting module XCTestDynamicOverlay
[11/12] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[12/12] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[14/36] Compiling CustomDump GameKit.swift
[15/36] Compiling CustomDump KeyPath.swift
[16/36] Compiling CustomDump Photos.swift
[17/39] Compiling CustomDump Speech.swift
[18/39] Compiling CustomDump StoreKit.swift
[19/39] Compiling CustomDump Swift.swift
[20/39] Compiling CustomDump CoreImage.swift
/host/spi-builder-workspace/Sources/CustomDump/Conformances/Foundation.swift:40:24: warning: static property 'formatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | private static let formatter: ByteCountFormatter = {
| |- warning: static property 'formatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | let formatter = ByteCountFormatter()
42 | formatter.allowedUnits = .useBytes
Foundation.ByteCountFormatter:1:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[21/39] Compiling CustomDump CoreLocation.swift
/host/spi-builder-workspace/Sources/CustomDump/Conformances/Foundation.swift:40:24: warning: static property 'formatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | private static let formatter: ByteCountFormatter = {
| |- warning: static property 'formatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | let formatter = ByteCountFormatter()
42 | formatter.allowedUnits = .useBytes
Foundation.ByteCountFormatter:1:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[22/39] Compiling CustomDump CoreMotion.swift
/host/spi-builder-workspace/Sources/CustomDump/Conformances/Foundation.swift:40:24: warning: static property 'formatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | private static let formatter: ByteCountFormatter = {
| |- warning: static property 'formatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | let formatter = ByteCountFormatter()
42 | formatter.allowedUnits = .useBytes
Foundation.ByteCountFormatter:1:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[23/39] Compiling CustomDump Foundation.swift
/host/spi-builder-workspace/Sources/CustomDump/Conformances/Foundation.swift:40:24: warning: static property 'formatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | private static let formatter: ByteCountFormatter = {
| |- warning: static property 'formatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | let formatter = ByteCountFormatter()
42 | formatter.allowedUnits = .useBytes
Foundation.ByteCountFormatter:1:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
[24/39] Compiling CustomDump AnyType.swift
[25/39] Compiling CustomDump Box.swift
[26/39] Compiling CustomDump CollectionDifference.swift
[27/39] Compiling CustomDump Mirror.swift
/host/spi-builder-workspace/Sources/CustomDump/Diff.swift:599:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
597 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
598 | /// widths in proportional fonts.
599 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
600 | }
601 |
[28/39] Compiling CustomDump String.swift
/host/spi-builder-workspace/Sources/CustomDump/Diff.swift:599:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
597 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
598 | /// widths in proportional fonts.
599 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
600 | }
601 |
[29/39] Compiling CustomDump XCTAssertNoDifference.swift
/host/spi-builder-workspace/Sources/CustomDump/Diff.swift:599:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
597 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
598 | /// widths in proportional fonts.
599 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
600 | }
601 |
[30/39] Compiling CustomDump SwiftUI.swift
[31/39] Compiling CustomDump UIKit.swift
[32/39] Compiling CustomDump UserNotifications.swift
[33/39] Emitting module CustomDump
/host/spi-builder-workspace/Sources/CustomDump/Conformances/Foundation.swift:40:24: warning: static property 'formatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | private static let formatter: ByteCountFormatter = {
| |- warning: static property 'formatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | let formatter = ByteCountFormatter()
42 | formatter.allowedUnits = .useBytes
Foundation.ByteCountFormatter:1:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/CustomDump/Diff.swift:591:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
589 | /// Uses ascii characters for removals (hyphen "-"), insertions (plus "+"), and unchanged (space
590 | /// " ").
591 | public static let `default` = Self(first: "-", second: "+", both: " ")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
592 |
593 | /// A diff format appropriate for where proportional (non-monospaced) fonts are used, e.g. Xcode's
/host/spi-builder-workspace/Sources/CustomDump/Diff.swift:599:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
597 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
598 | /// widths in proportional fonts.
599 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
600 | }
601 |
/host/spi-builder-workspace/Sources/CustomDump/Dump.swift:63:23: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | /// - Returns: The instance passed as `value`.
50 | @discardableResult
51 | public func customDump<T, TargetStream>(
| `- note: 'T' previously declared here
52 | _ value: T,
53 | to target: inout TargetStream,
:
61 | var visitedItems: Set<ObjectIdentifier> = []
62 |
63 | func customDumpHelp<T, TargetStream>(
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | _ value: T,
65 | to target: inout TargetStream,
/host/spi-builder-workspace/Sources/CustomDump/Dump.swift:63:26: warning: generic parameter 'TargetStream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | /// - Returns: The instance passed as `value`.
50 | @discardableResult
51 | public func customDump<T, TargetStream>(
| `- note: 'TargetStream' previously declared here
52 | _ value: T,
53 | to target: inout TargetStream,
:
61 | var visitedItems: Set<ObjectIdentifier> = []
62 |
63 | func customDumpHelp<T, TargetStream>(
| `- warning: generic parameter 'TargetStream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | _ value: T,
65 | to target: inout TargetStream,
[34/39] Compiling CustomDump UserNotificationsUI.swift
[35/39] Compiling CustomDump CustomDumpReflectable.swift
[36/39] Compiling CustomDump CustomDumpRepresentable.swift
[37/39] Compiling CustomDump CustomDumpStringConvertible.swift
/host/spi-builder-workspace/Sources/CustomDump/Diff.swift:591:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
589 | /// Uses ascii characters for removals (hyphen "-"), insertions (plus "+"), and unchanged (space
590 | /// " ").
591 | public static let `default` = Self(first: "-", second: "+", both: " ")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
592 |
593 | /// A diff format appropriate for where proportional (non-monospaced) fonts are used, e.g. Xcode's
/host/spi-builder-workspace/Sources/CustomDump/Diff.swift:599:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
597 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
598 | /// widths in proportional fonts.
599 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
600 | }
601 |
/host/spi-builder-workspace/Sources/CustomDump/Dump.swift:63:23: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | /// - Returns: The instance passed as `value`.
50 | @discardableResult
51 | public func customDump<T, TargetStream>(
| `- note: 'T' previously declared here
52 | _ value: T,
53 | to target: inout TargetStream,
:
61 | var visitedItems: Set<ObjectIdentifier> = []
62 |
63 | func customDumpHelp<T, TargetStream>(
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | _ value: T,
65 | to target: inout TargetStream,
/host/spi-builder-workspace/Sources/CustomDump/Dump.swift:63:26: warning: generic parameter 'TargetStream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | /// - Returns: The instance passed as `value`.
50 | @discardableResult
51 | public func customDump<T, TargetStream>(
| `- note: 'TargetStream' previously declared here
52 | _ value: T,
53 | to target: inout TargetStream,
:
61 | var visitedItems: Set<ObjectIdentifier> = []
62 |
63 | func customDumpHelp<T, TargetStream>(
| `- warning: generic parameter 'TargetStream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | _ value: T,
65 | to target: inout TargetStream,
[38/39] Compiling CustomDump Diff.swift
/host/spi-builder-workspace/Sources/CustomDump/Diff.swift:591:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
589 | /// Uses ascii characters for removals (hyphen "-"), insertions (plus "+"), and unchanged (space
590 | /// " ").
591 | public static let `default` = Self(first: "-", second: "+", both: " ")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
592 |
593 | /// A diff format appropriate for where proportional (non-monospaced) fonts are used, e.g. Xcode's
/host/spi-builder-workspace/Sources/CustomDump/Diff.swift:599:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
597 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
598 | /// widths in proportional fonts.
599 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
600 | }
601 |
/host/spi-builder-workspace/Sources/CustomDump/Dump.swift:63:23: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | /// - Returns: The instance passed as `value`.
50 | @discardableResult
51 | public func customDump<T, TargetStream>(
| `- note: 'T' previously declared here
52 | _ value: T,
53 | to target: inout TargetStream,
:
61 | var visitedItems: Set<ObjectIdentifier> = []
62 |
63 | func customDumpHelp<T, TargetStream>(
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | _ value: T,
65 | to target: inout TargetStream,
/host/spi-builder-workspace/Sources/CustomDump/Dump.swift:63:26: warning: generic parameter 'TargetStream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | /// - Returns: The instance passed as `value`.
50 | @discardableResult
51 | public func customDump<T, TargetStream>(
| `- note: 'TargetStream' previously declared here
52 | _ value: T,
53 | to target: inout TargetStream,
:
61 | var visitedItems: Set<ObjectIdentifier> = []
62 |
63 | func customDumpHelp<T, TargetStream>(
| `- warning: generic parameter 'TargetStream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | _ value: T,
65 | to target: inout TargetStream,
[39/39] Compiling CustomDump Dump.swift
/host/spi-builder-workspace/Sources/CustomDump/Diff.swift:591:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
589 | /// Uses ascii characters for removals (hyphen "-"), insertions (plus "+"), and unchanged (space
590 | /// " ").
591 | public static let `default` = Self(first: "-", second: "+", both: " ")
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
592 |
593 | /// A diff format appropriate for where proportional (non-monospaced) fonts are used, e.g. Xcode's
/host/spi-builder-workspace/Sources/CustomDump/Diff.swift:599:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
597 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
598 | /// widths in proportional fonts.
599 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
600 | }
601 |
/host/spi-builder-workspace/Sources/CustomDump/Dump.swift:63:23: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | /// - Returns: The instance passed as `value`.
50 | @discardableResult
51 | public func customDump<T, TargetStream>(
| `- note: 'T' previously declared here
52 | _ value: T,
53 | to target: inout TargetStream,
:
61 | var visitedItems: Set<ObjectIdentifier> = []
62 |
63 | func customDumpHelp<T, TargetStream>(
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | _ value: T,
65 | to target: inout TargetStream,
/host/spi-builder-workspace/Sources/CustomDump/Dump.swift:63:26: warning: generic parameter 'TargetStream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | /// - Returns: The instance passed as `value`.
50 | @discardableResult
51 | public func customDump<T, TargetStream>(
| `- note: 'TargetStream' previously declared here
52 | _ value: T,
53 | to target: inout TargetStream,
:
61 | var visitedItems: Set<ObjectIdentifier> = []
62 |
63 | func customDumpHelp<T, TargetStream>(
| `- warning: generic parameter 'TargetStream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
64 | _ value: T,
65 | to target: inout TargetStream,
Build complete! (16.97s)
Build complete.
{
"dependencies" : [
{
"identity" : "xctest-dynamic-overlay",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/xctest-dynamic-overlay"
}
],
"manifest_display_name" : "swift-custom-dump",
"name" : "swift-custom-dump",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "CustomDump",
"targets" : [
"CustomDump"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CustomDumpTests",
"module_type" : "SwiftTarget",
"name" : "CustomDumpTests",
"path" : "Tests/CustomDumpTests",
"sources" : [
"Conformances/CoreImageTests.swift",
"Conformances/FoundationTests.swift",
"Conformances/SwiftTests.swift",
"Conformances/UIKitTests.swift",
"Conformances/UserNotificationsTests.swift",
"DiffTests.swift",
"DumpTests.swift",
"Mocks.swift",
"XCTAssertNoDifferenceTests.swift"
],
"target_dependencies" : [
"CustomDump"
],
"type" : "test"
},
{
"c99name" : "CustomDump",
"module_type" : "SwiftTarget",
"name" : "CustomDump",
"path" : "Sources/CustomDump",
"product_dependencies" : [
"XCTestDynamicOverlay"
],
"product_memberships" : [
"CustomDump"
],
"sources" : [
"Conformances/CoreImage.swift",
"Conformances/CoreLocation.swift",
"Conformances/CoreMotion.swift",
"Conformances/Foundation.swift",
"Conformances/GameKit.swift",
"Conformances/KeyPath.swift",
"Conformances/Photos.swift",
"Conformances/Speech.swift",
"Conformances/StoreKit.swift",
"Conformances/Swift.swift",
"Conformances/SwiftUI.swift",
"Conformances/UIKit.swift",
"Conformances/UserNotifications.swift",
"Conformances/UserNotificationsUI.swift",
"CustomDumpReflectable.swift",
"CustomDumpRepresentable.swift",
"CustomDumpStringConvertible.swift",
"Diff.swift",
"Dump.swift",
"Internal/AnyType.swift",
"Internal/Box.swift",
"Internal/CollectionDifference.swift",
"Internal/Mirror.swift",
"Internal/String.swift",
"XCTAssertNoDifference.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.