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 swift-log-format-and-pipe, reference 0.1.1 (bd29ba), with Swift 6.0 for Linux on 31 Oct 2024 00:43:28 UTC.

Swift 6 data race errors: 10

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/Adorkable/swift-log-format-and-pipe.git
Reference: 0.1.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/Adorkable/swift-log-format-and-pipe
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at bd29bad bump to 0.1.1
Cloned https://github.com/Adorkable/swift-log-format-and-pipe.git
Revision (git rev-parse @):
bd29badb9e6b18122ec10b84eed534db83cad279
SUCCESS checkout https://github.com/Adorkable/swift-log-format-and-pipe.git at 0.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Adorkable/swift-log-format-and-pipe.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/apple/swift-log.git
[1/3649] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.33s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.41s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling Logging Locks.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Compiling Logging Logging.swift
[7/8] Emitting module Logging
[8/8] Compiling Logging MetadataProvider.swift
[10/15] Compiling LoggingFormatAndPipe Handler.swift
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/Handler.swift:22:16: warning: stored property 'formatter' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Formatter'; this is an error in the Swift 6 language mode
20 |
21 |     /// Formatter we're formatting with
22 |     public let formatter: Formatter
   |                `- warning: stored property 'formatter' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Formatter'; this is an error in the Swift 6 language mode
23 |
24 |     /// PIpe we're piping to
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/Formatter.swift:50:17: note: protocol 'Formatter' does not conform to the 'Sendable' protocol
 48 |
 49 | /// Log Formatter
 50 | public protocol Formatter {
    |                 `- note: protocol 'Formatter' does not conform to the 'Sendable' protocol
 51 |     /// Timestamp formatter
 52 |     var timestampFormatter: DateFormatter { get }
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/Handler.swift:25:16: warning: stored property 'pipe' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Pipe'; this is an error in the Swift 6 language mode
23 |
24 |     /// PIpe we're piping to
25 |     public let pipe: Pipe
   |                `- warning: stored property 'pipe' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Pipe'; this is an error in the Swift 6 language mode
26 |
27 |     /// Log level specification, used by Logger to filter all log levels less severe then the specified
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/Pipe.swift:11:17: note: protocol 'Pipe' does not conform to the 'Sendable' protocol
 9 |
10 | /// Log PIpe
11 | public protocol Pipe {
   |                 `- note: protocol 'Pipe' does not conform to the 'Sendable' protocol
12 |     /// Pipe's chance to send a formatted line where it deems
13 |     /// - Parameter _: The formatted log to handle
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/Handler.swift:10:15: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
 8 |
 9 | /// Logging Format and Pipe's Logging Backend
10 | public struct Handler: LogHandler {
   |               `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
11 |
12 |     /// Default init
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:191:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 |     ///     - function: The function the log line was emitted from.
134 |     ///     - line: The line the log message was emitted from.
135 |     func log(level: Logger.Level,
    |          `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 |              message: Logger.Message,
137 |              metadata: Logger.Metadata?,
    :
189 | extension LogHandler {
190 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
191 |     public func log(level: Logger.Level,
    |                 `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
192 |                     message: Logger.Message,
193 |                     metadata: Logger.Metadata?,
[11/15] Compiling LoggingFormatAndPipe LoggerTextOutputStreamPipe.swift
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:67:25: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ensures access to the underlying `FILE` is locked to prevent
51 | /// cross-thread interleaving of output.
52 | public struct StdioOutputStream: TextOutputStream {
   |               `- note: consider making struct 'StdioOutputStream' conform to the 'Sendable' protocol
53 |     /// File handler we're writing to
54 |     public let file: UnsafeMutablePointer<FILE>
   :
65 |     }
66 |
67 |     internal static let stderr = StdioOutputStream(file: systemStderr)
   |                         |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: annotate 'stderr' 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
68 |     internal static let stdout = StdioOutputStream(file: systemStdout)
69 | }
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:76:5: warning: let 'systemStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
74 | let systemStdout = Darwin.stdout
75 | #else
76 | let systemStderr = Glibc.stderr!
   |     |- warning: let 'systemStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: annotate 'systemStderr' 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
77 | let systemStdout = Glibc.stdout!
78 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:68:25: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ensures access to the underlying `FILE` is locked to prevent
51 | /// cross-thread interleaving of output.
52 | public struct StdioOutputStream: TextOutputStream {
   |               `- note: consider making struct 'StdioOutputStream' conform to the 'Sendable' protocol
53 |     /// File handler we're writing to
54 |     public let file: UnsafeMutablePointer<FILE>
   :
66 |
67 |     internal static let stderr = StdioOutputStream(file: systemStderr)
68 |     internal static let stdout = StdioOutputStream(file: systemStdout)
   |                         |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: annotate 'stdout' 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
69 | }
70 |
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:77:5: warning: let 'systemStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
75 | #else
76 | let systemStderr = Glibc.stderr!
77 | let systemStdout = Glibc.stdout!
   |     |- warning: let 'systemStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: annotate 'systemStdout' 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
78 | #endif
79 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:76:26: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 | let systemStdout = Darwin.stdout
75 | #else
76 | let systemStderr = Glibc.stderr!
   |                          `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 | let systemStdout = Glibc.stdout!
78 | #endif
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:77:26: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
75 | #else
76 | let systemStderr = Glibc.stderr!
77 | let systemStdout = Glibc.stdout!
   |                          `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
78 | #endif
79 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
[12/15] Compiling LoggingFormatAndPipe Pipe.swift
[13/15] Compiling LoggingFormatAndPipe BasicFormatter.swift
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/BasicFormatter.swift:63:23: warning: static property 'apple' is not concurrency-safe because non-'Sendable' type 'BasicFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// `BasicFormatter` does not need any setup and will automatically include all log components
13 | /// It can also be given a linear sequence of log components and it will build formatted logs in that order
14 | public struct BasicFormatter: Formatter {
   |               `- note: consider making struct 'BasicFormatter' conform to the 'Sendable' protocol
15 |     /// Log format sequential specification
16 |     public let format: [LogComponent]
   :
61 |
62 |     /// [apple/swift-log](https://github.com/apple/swift-log)'s log format
63 |     public static let apple = BasicFormatter(
   |                       |- warning: static property 'apple' is not concurrency-safe because non-'Sendable' type 'BasicFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'apple' 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
64 |         [
65 |             .timestamp,
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/BasicFormatter.swift:75:23: warning: static property 'adorkable' is not concurrency-safe because non-'Sendable' type 'BasicFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// `BasicFormatter` does not need any setup and will automatically include all log components
13 | /// It can also be given a linear sequence of log components and it will build formatted logs in that order
14 | public struct BasicFormatter: Formatter {
   |               `- note: consider making struct 'BasicFormatter' conform to the 'Sendable' protocol
15 |     /// Log format sequential specification
16 |     public let format: [LogComponent]
   :
73 |
74 |     /// Adorkable's go-to log format 😘
75 |     public static let adorkable = BasicFormatter(
   |                       |- warning: static property 'adorkable' is not concurrency-safe because non-'Sendable' type 'BasicFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'adorkable' 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
76 |         [
77 |             .timestamp,
[14/15] Emitting module LoggingFormatAndPipe
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/BasicFormatter.swift:63:23: warning: static property 'apple' is not concurrency-safe because non-'Sendable' type 'BasicFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// `BasicFormatter` does not need any setup and will automatically include all log components
13 | /// It can also be given a linear sequence of log components and it will build formatted logs in that order
14 | public struct BasicFormatter: Formatter {
   |               `- note: consider making struct 'BasicFormatter' conform to the 'Sendable' protocol
15 |     /// Log format sequential specification
16 |     public let format: [LogComponent]
   :
61 |
62 |     /// [apple/swift-log](https://github.com/apple/swift-log)'s log format
63 |     public static let apple = BasicFormatter(
   |                       |- warning: static property 'apple' is not concurrency-safe because non-'Sendable' type 'BasicFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'apple' 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
64 |         [
65 |             .timestamp,
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/BasicFormatter.swift:75:23: warning: static property 'adorkable' is not concurrency-safe because non-'Sendable' type 'BasicFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// `BasicFormatter` does not need any setup and will automatically include all log components
13 | /// It can also be given a linear sequence of log components and it will build formatted logs in that order
14 | public struct BasicFormatter: Formatter {
   |               `- note: consider making struct 'BasicFormatter' conform to the 'Sendable' protocol
15 |     /// Log format sequential specification
16 |     public let format: [LogComponent]
   :
73 |
74 |     /// Adorkable's go-to log format 😘
75 |     public static let adorkable = BasicFormatter(
   |                       |- warning: static property 'adorkable' is not concurrency-safe because non-'Sendable' type 'BasicFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'adorkable' 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
76 |         [
77 |             .timestamp,
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/Handler.swift:22:16: warning: stored property 'formatter' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Formatter'; this is an error in the Swift 6 language mode
20 |
21 |     /// Formatter we're formatting with
22 |     public let formatter: Formatter
   |                `- warning: stored property 'formatter' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Formatter'; this is an error in the Swift 6 language mode
23 |
24 |     /// PIpe we're piping to
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/Formatter.swift:50:17: note: protocol 'Formatter' does not conform to the 'Sendable' protocol
 48 |
 49 | /// Log Formatter
 50 | public protocol Formatter {
    |                 `- note: protocol 'Formatter' does not conform to the 'Sendable' protocol
 51 |     /// Timestamp formatter
 52 |     var timestampFormatter: DateFormatter { get }
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/Handler.swift:25:16: warning: stored property 'pipe' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Pipe'; this is an error in the Swift 6 language mode
23 |
24 |     /// PIpe we're piping to
25 |     public let pipe: Pipe
   |                `- warning: stored property 'pipe' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Pipe'; this is an error in the Swift 6 language mode
26 |
27 |     /// Log level specification, used by Logger to filter all log levels less severe then the specified
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/Pipe.swift:11:17: note: protocol 'Pipe' does not conform to the 'Sendable' protocol
 9 |
10 | /// Log PIpe
11 | public protocol Pipe {
   |                 `- note: protocol 'Pipe' does not conform to the 'Sendable' protocol
12 |     /// Pipe's chance to send a formatted line where it deems
13 |     /// - Parameter _: The formatted log to handle
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/Handler.swift:10:15: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
 8 |
 9 | /// Logging Format and Pipe's Logging Backend
10 | public struct Handler: LogHandler {
   |               `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
11 |
12 |     /// Default init
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:191:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 |     ///     - function: The function the log line was emitted from.
134 |     ///     - line: The line the log message was emitted from.
135 |     func log(level: Logger.Level,
    |          `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 |              message: Logger.Message,
137 |              metadata: Logger.Metadata?,
    :
189 | extension LogHandler {
190 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
191 |     public func log(level: Logger.Level,
    |                 `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
192 |                     message: Logger.Message,
193 |                     metadata: Logger.Metadata?,
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:67:25: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ensures access to the underlying `FILE` is locked to prevent
51 | /// cross-thread interleaving of output.
52 | public struct StdioOutputStream: TextOutputStream {
   |               `- note: consider making struct 'StdioOutputStream' conform to the 'Sendable' protocol
53 |     /// File handler we're writing to
54 |     public let file: UnsafeMutablePointer<FILE>
   :
65 |     }
66 |
67 |     internal static let stderr = StdioOutputStream(file: systemStderr)
   |                         |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: annotate 'stderr' 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
68 |     internal static let stdout = StdioOutputStream(file: systemStdout)
69 | }
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:76:5: warning: let 'systemStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
74 | let systemStdout = Darwin.stdout
75 | #else
76 | let systemStderr = Glibc.stderr!
   |     |- warning: let 'systemStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: annotate 'systemStderr' 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
77 | let systemStdout = Glibc.stdout!
78 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:68:25: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
50 | /// ensures access to the underlying `FILE` is locked to prevent
51 | /// cross-thread interleaving of output.
52 | public struct StdioOutputStream: TextOutputStream {
   |               `- note: consider making struct 'StdioOutputStream' conform to the 'Sendable' protocol
53 |     /// File handler we're writing to
54 |     public let file: UnsafeMutablePointer<FILE>
   :
66 |
67 |     internal static let stderr = StdioOutputStream(file: systemStderr)
68 |     internal static let stdout = StdioOutputStream(file: systemStdout)
   |                         |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: annotate 'stdout' 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
69 | }
70 |
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:77:5: warning: let 'systemStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
75 | #else
76 | let systemStderr = Glibc.stderr!
77 | let systemStdout = Glibc.stdout!
   |     |- warning: let 'systemStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: annotate 'systemStdout' 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
78 | #endif
79 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:76:26: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 | let systemStdout = Darwin.stdout
75 | #else
76 | let systemStderr = Glibc.stderr!
   |                          `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
77 | let systemStdout = Glibc.stdout!
78 | #endif
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/LoggingFormatAndPipe/LoggerTextOutputStreamPipe.swift:77:26: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
75 | #else
76 | let systemStderr = Glibc.stderr!
77 | let systemStdout = Glibc.stdout!
   |                          `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
78 | #endif
79 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
[15/15] Compiling LoggingFormatAndPipe Formatter.swift
Build complete! (13.61s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "swift-log-format-and-pipe",
  "name" : "swift-log-format-and-pipe",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LoggingFormatAndPipe",
      "targets" : [
        "LoggingFormatAndPipe"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoggingFormatAndPipeTests",
      "module_type" : "SwiftTarget",
      "name" : "LoggingFormatAndPipeTests",
      "path" : "Tests/LoggingFormatAndPipeTests",
      "product_dependencies" : [
        "Logging"
      ],
      "sources" : [
        "FormatterTests.swift",
        "HandlerTests.swift",
        "LoggerTextOutputStreamPipeTests.swift",
        "TestLogging.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "LoggingFormatAndPipe"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LoggingFormatAndPipe",
      "module_type" : "SwiftTarget",
      "name" : "LoggingFormatAndPipe",
      "path" : "Sources/LoggingFormatAndPipe",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "LoggingFormatAndPipe"
      ],
      "sources" : [
        "BasicFormatter.swift",
        "Formatter.swift",
        "Handler.swift",
        "LoggerTextOutputStreamPipe.swift",
        "Pipe.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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.