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 Popen, reference 2.1.7 (f3fc59), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 17:35:36 UTC.

Swift 6 data race errors: 16

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnno1962/Popen.git
Reference: 2.1.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnno1962/Popen
 * tag               2.1.7      -> FETCH_HEAD
HEAD is now at f3fc592 NSData more reliable.
Cloned https://github.com/johnno1962/Popen.git
Revision (git rev-parse @):
f3fc592996af14410a3a2eb473e744ccad3834ae
SUCCESS checkout https://github.com/johnno1962/Popen.git at 2.1.7
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "popen",
      "name": "Popen",
      "url": "https://github.com/johnno1962/Popen.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Popen",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/johnno1962/Popen.git
[1/127] Fetching popen
Fetched https://github.com/johnno1962/Popen.git from cache (0.70s)
Creating working copy for https://github.com/johnno1962/Popen.git
Working copy of https://github.com/johnno1962/Popen.git resolved at 2.1.7 (f3fc592)
warning: '.resolve-product-dependencies': dependency 'popen' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
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",
        "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",
        "Stream.swift",
        "Topen.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[4/17] Compiling PopenD Popen.swift
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:31:23: warning: static property 'openFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, initialLineBufferSize = 10_000
    |                       |- warning: static property 'openFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'openFILEStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'openFILEStreams' 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
 32 |     public static var shellCommand = "/bin/bash"
 33 |
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:31:44: 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
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, 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: annotate 'initialLineBufferSize' 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
 32 |     public static var shellCommand = "/bin/bash"
 33 |
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:32: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
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, initialLineBufferSize = 10_000
 32 |     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: annotate 'shellCommand' 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
 33 |
 34 |     /// Execute a shell command
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:21: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
 19 |         }
 20 |
 21 |         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: annotate 'read' 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
 22 |         static public let both = Self("r+")
 23 |         static public let write = Self("w")
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:23: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 21 |         static public let read = Self("r")
 22 |         static public let both = Self("r+")
 23 |         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: annotate 'write' 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
 24 |         static public let append =  Self("a")
 25 |         static public let new = Self("wx")
[5/17] Compiling PopenD Stream.swift
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:31:44: 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
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, 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: annotate 'initialLineBufferSize' 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
 32 |     public static var shellCommand = "/bin/bash"
 33 |
[6/17] Compiling PopenD Topen.swift
[7/17] Compiling PopenD Glob.swift
[8/17] Compiling PopenD Fstat.swift
[9/17] Emitting module Popen
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:21: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
 19 |         }
 20 |
 21 |         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: annotate 'read' 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
 22 |         static public let both = Self("r+")
 23 |         static public let write = Self("w")
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:22: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 20 |
 21 |         static public let read = Self("r")
 22 |         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: annotate 'both' 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
 23 |         static public let write = Self("w")
 24 |         static public let append =  Self("a")
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:23: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 21 |         static public let read = Self("r")
 22 |         static public let both = Self("r+")
 23 |         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: annotate 'write' 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
 24 |         static public let append =  Self("a")
 25 |         static public let new = Self("wx")
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:24: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 22 |         static public let both = Self("r+")
 23 |         static public let write = Self("w")
 24 |         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: annotate 'append' 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
 25 |         static public let new = Self("wx")
 26 |
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:25: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 23 |         static public let write = Self("w")
 24 |         static public let append =  Self("a")
 25 |         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: annotate 'new' 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
 26 |
 27 |         case other(_ mode: String)
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:31:23: warning: static property 'openFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, initialLineBufferSize = 10_000
    |                       |- warning: static property 'openFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'openFILEStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'openFILEStreams' 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
 32 |     public static var shellCommand = "/bin/bash"
 33 |
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:31:44: 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
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, 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: annotate 'initialLineBufferSize' 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
 32 |     public static var shellCommand = "/bin/bash"
 33 |
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:32: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
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, initialLineBufferSize = 10_000
 32 |     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: annotate 'shellCommand' 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
 33 |
 34 |     /// Execute a shell command
[10/17] Compiling Popen Fopen.swift
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:21: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
 19 |         }
 20 |
 21 |         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: annotate 'read' 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
 22 |         static public let both = Self("r+")
 23 |         static public let write = Self("w")
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:22: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 20 |
 21 |         static public let read = Self("r")
 22 |         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: annotate 'both' 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
 23 |         static public let write = Self("w")
 24 |         static public let append =  Self("a")
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:23: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 21 |         static public let read = Self("r")
 22 |         static public let both = Self("r+")
 23 |         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: annotate 'write' 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
 24 |         static public let append =  Self("a")
 25 |         static public let new = Self("wx")
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:24: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 22 |         static public let both = Self("r+")
 23 |         static public let write = Self("w")
 24 |         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: annotate 'append' 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
 25 |         static public let new = Self("wx")
 26 |
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:25: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 23 |         static public let write = Self("w")
 24 |         static public let append =  Self("a")
 25 |         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: annotate 'new' 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
 26 |
 27 |         case other(_ mode: String)
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:31:23: warning: static property 'openFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, initialLineBufferSize = 10_000
    |                       |- warning: static property 'openFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'openFILEStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'openFILEStreams' 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
 32 |     public static var shellCommand = "/bin/bash"
 33 |
[11/17] Compiling Popen Stream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:31:44: 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
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, 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: annotate 'initialLineBufferSize' 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
 32 |     public static var shellCommand = "/bin/bash"
 33 |
[12/17] Compiling Popen Glob.swift
[13/17] Compiling Popen Topen.swift
[14/17] Emitting module PopenD
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:21: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
 19 |         }
 20 |
 21 |         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: annotate 'read' 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
 22 |         static public let both = Self("r+")
 23 |         static public let write = Self("w")
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:22: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 20 |
 21 |         static public let read = Self("r")
 22 |         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: annotate 'both' 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
 23 |         static public let write = Self("w")
 24 |         static public let append =  Self("a")
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:23: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 21 |         static public let read = Self("r")
 22 |         static public let both = Self("r+")
 23 |         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: annotate 'write' 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
 24 |         static public let append =  Self("a")
 25 |         static public let new = Self("wx")
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:24: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 22 |         static public let both = Self("r+")
 23 |         static public let write = Self("w")
 24 |         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: annotate 'append' 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
 25 |         static public let new = Self("wx")
 26 |
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:25: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 23 |         static public let write = Self("w")
 24 |         static public let append =  Self("a")
 25 |         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: annotate 'new' 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
 26 |
 27 |         case other(_ mode: String)
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:31:23: warning: static property 'openFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, initialLineBufferSize = 10_000
    |                       |- warning: static property 'openFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'openFILEStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'openFILEStreams' 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
 32 |     public static var shellCommand = "/bin/bash"
 33 |
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:31:44: 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
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, 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: annotate 'initialLineBufferSize' 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
 32 |     public static var shellCommand = "/bin/bash"
 33 |
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:32: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
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, initialLineBufferSize = 10_000
 32 |     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: annotate 'shellCommand' 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
 33 |
 34 |     /// Execute a shell command
[15/17] Compiling Popen Fstat.swift
[16/17] Compiling PopenD Fopen.swift
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:21: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
 19 |         }
 20 |
 21 |         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: annotate 'read' 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
 22 |         static public let both = Self("r+")
 23 |         static public let write = Self("w")
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:22: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 20 |
 21 |         static public let read = Self("r")
 22 |         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: annotate 'both' 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
 23 |         static public let write = Self("w")
 24 |         static public let append =  Self("a")
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:23: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 21 |         static public let read = Self("r")
 22 |         static public let both = Self("r+")
 23 |         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: annotate 'write' 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
 24 |         static public let append =  Self("a")
 25 |         static public let new = Self("wx")
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:24: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 22 |         static public let both = Self("r+")
 23 |         static public let write = Self("w")
 24 |         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: annotate 'append' 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
 25 |         static public let new = Self("wx")
 26 |
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Fopen.swift:25: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 23 |         static public let write = Self("w")
 24 |         static public let append =  Self("a")
 25 |         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: annotate 'new' 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
 26 |
 27 |         case other(_ mode: String)
/Users/admin/builder/spi-builder-workspace/Sources/PopenD/Popen.swift:31:23: warning: static property 'openFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, initialLineBufferSize = 10_000
    |                       |- warning: static property 'openFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'openFILEStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'openFILEStreams' 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
 32 |     public static var shellCommand = "/bin/bash"
 33 |
[17/17] Compiling Popen Popen.swift
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:31:23: warning: static property 'openFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, initialLineBufferSize = 10_000
    |                       |- warning: static property 'openFILEStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'openFILEStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'openFILEStreams' 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
 32 |     public static var shellCommand = "/bin/bash"
 33 |
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:31:44: 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
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, 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: annotate 'initialLineBufferSize' 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
 32 |     public static var shellCommand = "/bin/bash"
 33 |
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Popen.swift:32: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
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
 31 |     public static var openFILEStreams = 0, initialLineBufferSize = 10_000
 32 |     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: annotate 'shellCommand' 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
 33 |
 34 |     /// Execute a shell command
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:21: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
 19 |         }
 20 |
 21 |         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: annotate 'read' 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
 22 |         static public let both = Self("r+")
 23 |         static public let write = Self("w")
/Users/admin/builder/spi-builder-workspace/Sources/Popen/Fopen.swift:23: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
 14 |
 15 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
 16 |     public enum FILEMode {
    |                 `- note: consider making enum 'FILEMode' conform to the 'Sendable' protocol
 17 |         public init(_ rawValue: String) {
 18 |             self = .other(rawValue)
    :
 21 |         static public let read = Self("r")
 22 |         static public let both = Self("r+")
 23 |         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: annotate 'write' 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
 24 |         static public let append =  Self("a")
 25 |         static public let new = Self("wx")
Build complete! (23.52s)
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",
        "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",
        "Stream.swift",
        "Topen.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.