The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Popen, reference main (88234d), with Swift 6.1 for macOS (SPM) on 1 Mar 2026 23:26:26 UTC.

Swift 6 data race errors: 26

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnno1962/Popen.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnno1962/Popen
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 88234d2 Merge pull request #3 from johnno1962/blocking-again
Cloned https://github.com/johnno1962/Popen.git
Revision (git rev-parse @):
88234d2a067b277dab3c7d3a74210205f0b92962
SUCCESS checkout https://github.com/johnno1962/Popen.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/johnno1962/Popen.git
https://github.com/johnno1962/Popen.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Popen",
  "name" : "Popen",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Popen",
      "targets" : [
        "Popen"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PopenD",
      "targets" : [
        "PopenD"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PopenTests",
      "module_type" : "SwiftTarget",
      "name" : "PopenTests",
      "path" : "Tests/PopenTests",
      "sources" : [
        "PopenTests.swift"
      ],
      "target_dependencies" : [
        "Popen"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PopenD",
      "module_type" : "SwiftTarget",
      "name" : "PopenD",
      "path" : "Sources/PopenD",
      "product_memberships" : [
        "PopenD"
      ],
      "sources" : [
        "Fopen.swift",
        "Fstat.swift",
        "Glob.swift",
        "Popen.swift",
        "Qopen.swift",
        "Stream.swift",
        "Topen.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Popen",
      "module_type" : "SwiftTarget",
      "name" : "Popen",
      "path" : "Sources/Popen",
      "product_memberships" : [
        "Popen"
      ],
      "sources" : [
        "Fopen.swift",
        "Fstat.swift",
        "Glob.swift",
        "Popen.swift",
        "Qopen.swift",
        "Stream.swift",
        "Topen.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/19] Emitting module PopenD
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:22:27: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
 20 |         }
 21 |
 22 |         static public let read = Self("r")
    |                           |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'read' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         static public let both = Self("r+")
 24 |         static public let write = Self("w")
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:23:27: warning: static property 'both' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 21 |
 22 |         static public let read = Self("r")
 23 |         static public let both = Self("r+")
    |                           |- warning: static property 'both' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'both' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         static public let write = Self("w")
 25 |         static public let append =  Self("a")
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:24:27: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 22 |         static public let read = Self("r")
 23 |         static public let both = Self("r+")
 24 |         static public let write = Self("w")
    |                           |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'write' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |         static public let append =  Self("a")
 26 |         static public let new = Self("wx")
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:25:27: warning: static property 'append' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 23 |         static public let both = Self("r+")
 24 |         static public let write = Self("w")
 25 |         static public let append =  Self("a")
    |                           |- warning: static property 'append' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'append' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |         static public let new = Self("wx")
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:26:27: warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 24 |         static public let write = Self("w")
 25 |         static public let append =  Self("a")
 26 |         static public let new = Self("wx")
    |                           |- warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'new' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |
 28 |         case other(_ mode: String)
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:54:16: warning: static property 'STDIN' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | import Foundation
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
    |            `- note: class 'Fopen' does not conform to the 'Sendable' protocol
 17 |     public enum FILEMode {
 18 |         public init(_ rawValue: String) {
    :
 52 |     }
 53 |
 54 |     static let STDIN = Fopen(stream: stdin)!
    |                |- warning: static property 'STDIN' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'STDIN' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |     static let STDOUT = Fopen(stream: stdout)!
 56 |     static let STDERR = Fopen(stream: stderr)!
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:55:16: warning: static property 'STDOUT' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | import Foundation
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
    |            `- note: class 'Fopen' does not conform to the 'Sendable' protocol
 17 |     public enum FILEMode {
 18 |         public init(_ rawValue: String) {
    :
 53 |
 54 |     static let STDIN = Fopen(stream: stdin)!
 55 |     static let STDOUT = Fopen(stream: stdout)!
    |                |- warning: static property 'STDOUT' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'STDOUT' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |     static let STDERR = Fopen(stream: stderr)!
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:56:16: warning: static property 'STDERR' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | import Foundation
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
    |            `- note: class 'Fopen' does not conform to the 'Sendable' protocol
 17 |     public enum FILEMode {
 18 |         public init(_ rawValue: String) {
    :
 54 |     static let STDIN = Fopen(stream: stdin)!
 55 |     static let STDOUT = Fopen(stream: stdout)!
 56 |     static let STDERR = Fopen(stream: stderr)!
    |                |- warning: static property 'STDERR' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'STDERR' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |     open var fileStream: UnsafeMutablePointer<FILE>
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:32:23: warning: static property 'openedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 32 |     public static var openedFILEStreams = 0, closedFILEStreams = 0
    |                       |- warning: static property 'openedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'openedFILEStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'openedFILEStreams' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     public static var openFILEStreams: Int {
 34 |         return openedFILEStreams - closedFILEStreams }
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:32:46: warning: static property 'closedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 32 |     public static var openedFILEStreams = 0, closedFILEStreams = 0
    |                                              |- warning: static property 'closedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                              |- note: convert 'closedFILEStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                                              |- note: add '@MainActor' to make static property 'closedFILEStreams' part of global actor 'MainActor'
    |                                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     public static var openFILEStreams: Int {
 34 |         return openedFILEStreams - closedFILEStreams }
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:35:23: warning: static property 'initialLineBufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |     public static var openFILEStreams: Int {
 34 |         return openedFILEStreams - closedFILEStreams }
 35 |     public static var initialLineBufferSize = 10_000
    |                       |- warning: static property 'initialLineBufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'initialLineBufferSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'initialLineBufferSize' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |     public static var shellCommand = "/bin/bash"
 37 |
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:36:23: warning: static property 'shellCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 34 |         return openedFILEStreams - closedFILEStreams }
 35 |     public static var initialLineBufferSize = 10_000
 36 |     public static var shellCommand = "/bin/bash"
    |                       |- warning: static property 'shellCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'shellCommand' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'shellCommand' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |     /// Execute a shell command
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:105:11: warning: capture of 'box' with non-sendable type 'DataBox' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 90 |     open class func readPipeInBackground(_ pipe: Pipe) -> () -> Data {
 91 |       // Box to safely share mutable state across concurrency boundary
 92 |       final class DataBox {
    |                   `- note: class 'DataBox' does not conform to the 'Sendable' protocol
 93 |         var data = Data()
 94 |       }
    :
103 |           group.leave()
104 |         } else {
105 |           box.data.append(chunk)
    |           `- warning: capture of 'box' with non-sendable type 'DataBox' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 |         }
107 |       }
[5/19] Emitting module Popen
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:22:27: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
 20 |         }
 21 |
 22 |         static public let read = Self("r")
    |                           |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'read' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         static public let both = Self("r+")
 24 |         static public let write = Self("w")
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:23:27: warning: static property 'both' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 21 |
 22 |         static public let read = Self("r")
 23 |         static public let both = Self("r+")
    |                           |- warning: static property 'both' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'both' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         static public let write = Self("w")
 25 |         static public let append =  Self("a")
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:24:27: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 22 |         static public let read = Self("r")
 23 |         static public let both = Self("r+")
 24 |         static public let write = Self("w")
    |                           |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'write' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |         static public let append =  Self("a")
 26 |         static public let new = Self("wx")
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:25:27: warning: static property 'append' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 23 |         static public let both = Self("r+")
 24 |         static public let write = Self("w")
 25 |         static public let append =  Self("a")
    |                           |- warning: static property 'append' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'append' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |         static public let new = Self("wx")
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:26:27: warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 24 |         static public let write = Self("w")
 25 |         static public let append =  Self("a")
 26 |         static public let new = Self("wx")
    |                           |- warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'new' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |
 28 |         case other(_ mode: String)
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:54:16: warning: static property 'STDIN' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | import Foundation
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
    |            `- note: class 'Fopen' does not conform to the 'Sendable' protocol
 17 |     public enum FILEMode {
 18 |         public init(_ rawValue: String) {
    :
 52 |     }
 53 |
 54 |     static let STDIN = Fopen(stream: stdin)!
    |                |- warning: static property 'STDIN' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'STDIN' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |     static let STDOUT = Fopen(stream: stdout)!
 56 |     static let STDERR = Fopen(stream: stderr)!
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:55:16: warning: static property 'STDOUT' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | import Foundation
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
    |            `- note: class 'Fopen' does not conform to the 'Sendable' protocol
 17 |     public enum FILEMode {
 18 |         public init(_ rawValue: String) {
    :
 53 |
 54 |     static let STDIN = Fopen(stream: stdin)!
 55 |     static let STDOUT = Fopen(stream: stdout)!
    |                |- warning: static property 'STDOUT' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'STDOUT' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |     static let STDERR = Fopen(stream: stderr)!
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:56:16: warning: static property 'STDERR' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | import Foundation
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
    |            `- note: class 'Fopen' does not conform to the 'Sendable' protocol
 17 |     public enum FILEMode {
 18 |         public init(_ rawValue: String) {
    :
 54 |     static let STDIN = Fopen(stream: stdin)!
 55 |     static let STDOUT = Fopen(stream: stdout)!
 56 |     static let STDERR = Fopen(stream: stderr)!
    |                |- warning: static property 'STDERR' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'STDERR' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |     open var fileStream: UnsafeMutablePointer<FILE>
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:32:23: warning: static property 'openedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 32 |     public static var openedFILEStreams = 0, closedFILEStreams = 0
    |                       |- warning: static property 'openedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'openedFILEStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'openedFILEStreams' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     public static var openFILEStreams: Int {
 34 |         return openedFILEStreams - closedFILEStreams }
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:32:46: warning: static property 'closedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 32 |     public static var openedFILEStreams = 0, closedFILEStreams = 0
    |                                              |- warning: static property 'closedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                              |- note: convert 'closedFILEStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                                              |- note: add '@MainActor' to make static property 'closedFILEStreams' part of global actor 'MainActor'
    |                                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     public static var openFILEStreams: Int {
 34 |         return openedFILEStreams - closedFILEStreams }
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:35:23: warning: static property 'initialLineBufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |     public static var openFILEStreams: Int {
 34 |         return openedFILEStreams - closedFILEStreams }
 35 |     public static var initialLineBufferSize = 10_000
    |                       |- warning: static property 'initialLineBufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'initialLineBufferSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'initialLineBufferSize' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |     public static var shellCommand = "/bin/bash"
 37 |
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:36:23: warning: static property 'shellCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 34 |         return openedFILEStreams - closedFILEStreams }
 35 |     public static var initialLineBufferSize = 10_000
 36 |     public static var shellCommand = "/bin/bash"
    |                       |- warning: static property 'shellCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'shellCommand' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'shellCommand' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |     /// Execute a shell command
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:105:11: warning: capture of 'box' with non-sendable type 'DataBox' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 90 |     open class func readPipeInBackground(_ pipe: Pipe) -> () -> Data {
 91 |       // Box to safely share mutable state across concurrency boundary
 92 |       final class DataBox {
    |                   `- note: class 'DataBox' does not conform to the 'Sendable' protocol
 93 |         var data = Data()
 94 |       }
    :
103 |           group.leave()
104 |         } else {
105 |           box.data.append(chunk)
    |           `- warning: capture of 'box' with non-sendable type 'DataBox' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 |         }
107 |       }
[6/19] Compiling PopenD Fopen.swift
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:22:27: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
 20 |         }
 21 |
 22 |         static public let read = Self("r")
    |                           |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'read' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         static public let both = Self("r+")
 24 |         static public let write = Self("w")
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:23:27: warning: static property 'both' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 21 |
 22 |         static public let read = Self("r")
 23 |         static public let both = Self("r+")
    |                           |- warning: static property 'both' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'both' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         static public let write = Self("w")
 25 |         static public let append =  Self("a")
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:24:27: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 22 |         static public let read = Self("r")
 23 |         static public let both = Self("r+")
 24 |         static public let write = Self("w")
    |                           |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'write' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |         static public let append =  Self("a")
 26 |         static public let new = Self("wx")
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:25:27: warning: static property 'append' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 23 |         static public let both = Self("r+")
 24 |         static public let write = Self("w")
 25 |         static public let append =  Self("a")
    |                           |- warning: static property 'append' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'append' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |         static public let new = Self("wx")
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:26:27: warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 24 |         static public let write = Self("w")
 25 |         static public let append =  Self("a")
 26 |         static public let new = Self("wx")
    |                           |- warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'new' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |
 28 |         case other(_ mode: String)
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:54:16: warning: static property 'STDIN' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | import Foundation
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
    |            `- note: class 'Fopen' does not conform to the 'Sendable' protocol
 17 |     public enum FILEMode {
 18 |         public init(_ rawValue: String) {
    :
 52 |     }
 53 |
 54 |     static let STDIN = Fopen(stream: stdin)!
    |                |- warning: static property 'STDIN' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'STDIN' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |     static let STDOUT = Fopen(stream: stdout)!
 56 |     static let STDERR = Fopen(stream: stderr)!
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:55:16: warning: static property 'STDOUT' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | import Foundation
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
    |            `- note: class 'Fopen' does not conform to the 'Sendable' protocol
 17 |     public enum FILEMode {
 18 |         public init(_ rawValue: String) {
    :
 53 |
 54 |     static let STDIN = Fopen(stream: stdin)!
 55 |     static let STDOUT = Fopen(stream: stdout)!
    |                |- warning: static property 'STDOUT' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'STDOUT' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |     static let STDERR = Fopen(stream: stderr)!
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:56:16: warning: static property 'STDERR' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | import Foundation
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
    |            `- note: class 'Fopen' does not conform to the 'Sendable' protocol
 17 |     public enum FILEMode {
 18 |         public init(_ rawValue: String) {
    :
 54 |     static let STDIN = Fopen(stream: stdin)!
 55 |     static let STDOUT = Fopen(stream: stdout)!
 56 |     static let STDERR = Fopen(stream: stderr)!
    |                |- warning: static property 'STDERR' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'STDERR' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |     open var fileStream: UnsafeMutablePointer<FILE>
[7/19] Compiling PopenD Stream.swift
[8/19] Compiling Popen Glob.swift
[9/19] Compiling PopenD Topen.swift
[10/19] Compiling Popen Qopen.swift
[11/19] Compiling Popen Popen.swift
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:32:23: warning: static property 'openedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 32 |     public static var openedFILEStreams = 0, closedFILEStreams = 0
    |                       |- warning: static property 'openedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'openedFILEStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'openedFILEStreams' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     public static var openFILEStreams: Int {
 34 |         return openedFILEStreams - closedFILEStreams }
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:32:46: warning: static property 'closedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 32 |     public static var openedFILEStreams = 0, closedFILEStreams = 0
    |                                              |- warning: static property 'closedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                              |- note: convert 'closedFILEStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                                              |- note: add '@MainActor' to make static property 'closedFILEStreams' part of global actor 'MainActor'
    |                                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     public static var openFILEStreams: Int {
 34 |         return openedFILEStreams - closedFILEStreams }
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:35:23: warning: static property 'initialLineBufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |     public static var openFILEStreams: Int {
 34 |         return openedFILEStreams - closedFILEStreams }
 35 |     public static var initialLineBufferSize = 10_000
    |                       |- warning: static property 'initialLineBufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'initialLineBufferSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'initialLineBufferSize' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |     public static var shellCommand = "/bin/bash"
 37 |
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:36:23: warning: static property 'shellCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 34 |         return openedFILEStreams - closedFILEStreams }
 35 |     public static var initialLineBufferSize = 10_000
 36 |     public static var shellCommand = "/bin/bash"
    |                       |- warning: static property 'shellCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'shellCommand' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'shellCommand' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |     /// Execute a shell command
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:105:11: warning: capture of 'box' with non-sendable type 'DataBox' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 90 |     open class func readPipeInBackground(_ pipe: Pipe) -> () -> Data {
 91 |       // Box to safely share mutable state across concurrency boundary
 92 |       final class DataBox {
    |                   `- note: class 'DataBox' does not conform to the 'Sendable' protocol
 93 |         var data = Data()
 94 |       }
    :
103 |           group.leave()
104 |         } else {
105 |           box.data.append(chunk)
    |           `- warning: capture of 'box' with non-sendable type 'DataBox' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 |         }
107 |       }
[12/19] Compiling Popen Fopen.swift
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:22:27: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
 20 |         }
 21 |
 22 |         static public let read = Self("r")
    |                           |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'read' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         static public let both = Self("r+")
 24 |         static public let write = Self("w")
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:23:27: warning: static property 'both' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 21 |
 22 |         static public let read = Self("r")
 23 |         static public let both = Self("r+")
    |                           |- warning: static property 'both' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'both' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         static public let write = Self("w")
 25 |         static public let append =  Self("a")
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:24:27: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 22 |         static public let read = Self("r")
 23 |         static public let both = Self("r+")
 24 |         static public let write = Self("w")
    |                           |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'write' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |         static public let append =  Self("a")
 26 |         static public let new = Self("wx")
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:25:27: warning: static property 'append' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 23 |         static public let both = Self("r+")
 24 |         static public let write = Self("w")
 25 |         static public let append =  Self("a")
    |                           |- warning: static property 'append' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'append' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |         static public let new = Self("wx")
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:26:27: warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 17 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 18 |         public init(_ rawValue: String) {
 19 |             self = .other(rawValue)
    :
 24 |         static public let write = Self("w")
 25 |         static public let append =  Self("a")
 26 |         static public let new = Self("wx")
    |                           |- warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'Fopen.FILEMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'new' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |
 28 |         case other(_ mode: String)
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:54:16: warning: static property 'STDIN' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | import Foundation
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
    |            `- note: class 'Fopen' does not conform to the 'Sendable' protocol
 17 |     public enum FILEMode {
 18 |         public init(_ rawValue: String) {
    :
 52 |     }
 53 |
 54 |     static let STDIN = Fopen(stream: stdin)!
    |                |- warning: static property 'STDIN' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'STDIN' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |     static let STDOUT = Fopen(stream: stdout)!
 56 |     static let STDERR = Fopen(stream: stderr)!
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:55:16: warning: static property 'STDOUT' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | import Foundation
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
    |            `- note: class 'Fopen' does not conform to the 'Sendable' protocol
 17 |     public enum FILEMode {
 18 |         public init(_ rawValue: String) {
    :
 53 |
 54 |     static let STDIN = Fopen(stream: stdin)!
 55 |     static let STDOUT = Fopen(stream: stdout)!
    |                |- warning: static property 'STDOUT' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'STDOUT' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |     static let STDERR = Fopen(stream: stderr)!
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:56:16: warning: static property 'STDERR' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | import Foundation
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
    |            `- note: class 'Fopen' does not conform to the 'Sendable' protocol
 17 |     public enum FILEMode {
 18 |         public init(_ rawValue: String) {
    :
 54 |     static let STDIN = Fopen(stream: stdin)!
 55 |     static let STDOUT = Fopen(stream: stdout)!
 56 |     static let STDERR = Fopen(stream: stderr)!
    |                |- warning: static property 'STDERR' is not concurrency-safe because non-'Sendable' type 'Fopen' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'STDERR' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |     open var fileStream: UnsafeMutablePointer<FILE>
[13/19] Compiling Popen Stream.swift
[14/19] Compiling Popen Topen.swift
[15/19] Compiling Popen Fstat.swift
[16/19] Compiling PopenD Popen.swift
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:32:23: warning: static property 'openedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 32 |     public static var openedFILEStreams = 0, closedFILEStreams = 0
    |                       |- warning: static property 'openedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'openedFILEStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'openedFILEStreams' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     public static var openFILEStreams: Int {
 34 |         return openedFILEStreams - closedFILEStreams }
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:32:46: warning: static property 'closedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |
 31 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 32 |     public static var openedFILEStreams = 0, closedFILEStreams = 0
    |                                              |- warning: static property 'closedFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                              |- note: convert 'closedFILEStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                                              |- note: add '@MainActor' to make static property 'closedFILEStreams' part of global actor 'MainActor'
    |                                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     public static var openFILEStreams: Int {
 34 |         return openedFILEStreams - closedFILEStreams }
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:35:23: warning: static property 'initialLineBufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |     public static var openFILEStreams: Int {
 34 |         return openedFILEStreams - closedFILEStreams }
 35 |     public static var initialLineBufferSize = 10_000
    |                       |- warning: static property 'initialLineBufferSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'initialLineBufferSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'initialLineBufferSize' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |     public static var shellCommand = "/bin/bash"
 37 |
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:36:23: warning: static property 'shellCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 34 |         return openedFILEStreams - closedFILEStreams }
 35 |     public static var initialLineBufferSize = 10_000
 36 |     public static var shellCommand = "/bin/bash"
    |                       |- warning: static property 'shellCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'shellCommand' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'shellCommand' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |     /// Execute a shell command
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:105:11: warning: capture of 'box' with non-sendable type 'DataBox' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 90 |     open class func readPipeInBackground(_ pipe: Pipe) -> () -> Data {
 91 |       // Box to safely share mutable state across concurrency boundary
 92 |       final class DataBox {
    |                   `- note: class 'DataBox' does not conform to the 'Sendable' protocol
 93 |         var data = Data()
 94 |       }
    :
103 |           group.leave()
104 |         } else {
105 |           box.data.append(chunk)
    |           `- warning: capture of 'box' with non-sendable type 'DataBox' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 |         }
107 |       }
[17/19] Compiling PopenD Fstat.swift
[18/19] Compiling PopenD Glob.swift
[19/19] Compiling PopenD Qopen.swift
Build complete! (6.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Popen",
  "name" : "Popen",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Popen",
      "targets" : [
        "Popen"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PopenD",
      "targets" : [
        "PopenD"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PopenTests",
      "module_type" : "SwiftTarget",
      "name" : "PopenTests",
      "path" : "Tests/PopenTests",
      "sources" : [
        "PopenTests.swift"
      ],
      "target_dependencies" : [
        "Popen"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PopenD",
      "module_type" : "SwiftTarget",
      "name" : "PopenD",
      "path" : "Sources/PopenD",
      "product_memberships" : [
        "PopenD"
      ],
      "sources" : [
        "Fopen.swift",
        "Fstat.swift",
        "Glob.swift",
        "Popen.swift",
        "Qopen.swift",
        "Stream.swift",
        "Topen.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Popen",
      "module_type" : "SwiftTarget",
      "name" : "Popen",
      "path" : "Sources/Popen",
      "product_memberships" : [
        "Popen"
      ],
      "sources" : [
        "Fopen.swift",
        "Fstat.swift",
        "Glob.swift",
        "Popen.swift",
        "Qopen.swift",
        "Stream.swift",
        "Topen.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.