The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Shwift, reference 3.1.1 (d7be04), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 12:22:06 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GeorgeLyon/Shwift.git
Reference: 3.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/GeorgeLyon/Shwift
 * tag               3.1.1      -> FETCH_HEAD
HEAD is now at d7be048 Fix remainder (#27)
Cloned https://github.com/GeorgeLyon/Shwift.git
Revision (git rev-parse @):
d7be04898d094ddce6140cc6a2e9a83fc994b66d
SUCCESS checkout https://github.com/GeorgeLyon/Shwift.git at 3.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/GeorgeLyon/Shwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 952]
[Planning deferred tasks]
[174 / 361]
[180 / 361]
[198 / 368] CNIOWindows
[206 / 394]
[218 / 405]
[230 / 428]
[246 / 466]
[264 / 466]
[266 / 466]
[276 / 466]
[286 / 466] _AtomicsShims
[300 / 466]
[306 / 468] InternalCollectionsUtilities
[315 / 481]
[322 / 481] Atomics
[325 / 481] ArgumentParserToolInfo
[335 / 481] _NIODataStructures
[339 / 481] _NIODataStructures
[355 / 481] NIOConcurrencyHelpers
[363 / 481] SystemPackage
[367 / 481] SystemPackage
[369 / 481] SystemPackage
[378 / 481] SystemPackage
[380 / 481] SystemPackage-product
[388 / 482] InternalCollectionsUtilities
[393 / 494] ContainersPreview
[401 / 494] ContainersPreview
[410 / 495] ContainersPreview
[418 / 537]
[422 / 537]
[429 / 537] DequeModule
[432 / 537]
[434 / 537]
[437 / 537]
[440 / 537]
[442 / 537] DequeModule
[452 / 538] DequeModule
[452 / 538] NIOCore
[462 / 550] NIOCore
[463 / 550] ArgumentParser
[465 / 550] NIOCore
[466 / 550] ArgumentParser
[467 / 550] CNIOAtomics
[472 / 550] ArgumentParser
[473 / 550] ArgumentParser
[481 / 550] ArgumentParser-product
[483 / 550] NIOConcurrencyHelpers
[483 / 550] ArgumentParser
[483 / 550] NIOCore
[483 / 550] ArgumentParser
[485 / 550] NIOCore
[495 / 552] NIOEmbedded
[499 / 556] NIOPosix
[518 / 572] NIOPosix
[520 / 572] NIOPosix
[521 / 572] NIOPosix
[522 / 572] NIOEmbedded
[523 / 572] NIOPosix
[530 / 573] NIO
[539 / 575] NIO
[540 / 576] _NIOConcurrency
[543 / 578] _NIOConcurrency
[550 / 579] Shwift
[560 / 620]
[563 / 620]
[569 / 620]
[571 / 620]
[574 / 620]
[577 / 620]
[579 / 620] NIOPosix
[583 / 620] _NIOConcurrency
[584 / 620]
[595 / 620] Shwift
[602 / 621] Shwift
[605 / 621] Script
[607 / 631]
[615 / 631] Script
[624 / 632] Script
[627 / 632] ScriptExample-product
[629 / 634] ScriptExample-product
[630 / 634] ScriptExample-product
[632 / 634] ScriptExample-product
Build complete! (18.33 sec)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-nio.git
[1/6898] Fetching swift-system
[2/25816] Fetching swift-system, swift-argument-parser
[14088/111889] Fetching swift-system, swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-system (7.53s)
Fetched https://github.com/apple/swift-nio.git (7.53s)
Fetched https://github.com/apple/swift-argument-parser (7.53s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (8.18s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.58s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.67s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1875] Fetching swift-atomics
[601/29227] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git (3.08s)
Fetched https://github.com/apple/swift-collections.git (3.08s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.67s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.65s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Support/NIO Pipe Bootstrap.swift:1:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 1 | @_implementationOnly import NIO
   |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 2 | import SystemPackage
 3 |
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Support/NIO Pipe Bootstrap.swift:17:26: warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
15 |       let output = try outputDescriptor.duplicate()
16 |       do {
17 |         return try await withPipes(
   |                          |- warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |                          `- note: use 'takingOwnershipOfDescriptors(input:output:)' instead
18 |           inputDescriptor: input.rawValue,
19 |           outputDescriptor: output.rawValue
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Builtins.swift:1:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  1 | @_implementationOnly import NIO
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Builtins.swift:3:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  1 | @_implementationOnly import NIO
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  4 |
  5 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Context.swift:1:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  1 | @_implementationOnly import NIO
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  2 |
  3 | import SystemPackage
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Environment.swift:3:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  1 | import SystemPackage
  2 |
  3 | @_implementationOnly import Foundation
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  4 |
  5 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Process.swift:1:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  1 | @_implementationOnly import NIO
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  2 | import SystemPackage
  3 |
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Support/NIO Pipe Bootstrap.swift:1:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 1 | @_implementationOnly import NIO
   |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 2 | import SystemPackage
 3 |
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Builtins.swift:196:32: warning: cannot use module 'NIO' in a property declaration member of a type not marked '@_implementationOnly'; 'NIO' has been imported as implementation-only
194 |         lastFuture = channel.write(NIOAny(buffer))
195 |       }
196 |       fileprivate let channel: NIO.Channel
    |                                `- warning: cannot use module 'NIO' in a property declaration member of a type not marked '@_implementationOnly'; 'NIO' has been imported as implementation-only
197 |       fileprivate var lastFuture: EventLoopFuture<Void>?
198 |     }
<unknown>:0: note: module declared here
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Builtins.swift:197:35: warning: cannot use generic class 'EventLoopFuture' in a property declaration member of a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
195 |       }
196 |       fileprivate let channel: NIO.Channel
197 |       fileprivate var lastFuture: EventLoopFuture<Void>?
    |                                   `- warning: cannot use generic class 'EventLoopFuture' in a property declaration member of a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
198 |     }
199 |
NIOCore.EventLoopFuture:1:20: note: generic class declared here
1 | final public class EventLoopFuture<Value> {
  |                    `- note: generic class declared here
2 |     public let eventLoop: any NIOCore.EventLoop
3 |     deinit
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Builtins.swift:200:30: warning: cannot use module 'NIO' in a property declaration member of a type not marked '@_implementationOnly'; 'NIO' has been imported as implementation-only
198 |     }
199 |
200 |     fileprivate let channel: NIO.Channel
    |                              `- warning: cannot use module 'NIO' in a property declaration member of a type not marked '@_implementationOnly'; 'NIO' has been imported as implementation-only
201 |   }
202 |
<unknown>:0: note: module declared here
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Context.swift:60:40: warning: cannot use protocol 'ChannelInboundHandler' in a conformance on a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
 58 | // MARK: - Support
 59 |
 60 | private final class NullDeviceHandler: ChannelInboundHandler {
    |                                        `- warning: cannot use protocol 'ChannelInboundHandler' in a conformance on a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
 61 |   typealias InboundIn = ByteBuffer
 62 |   func channelRead(context: ChannelHandlerContext, data: NIOAny) {
NIOCore.ChannelInboundHandler:1:17: note: protocol declared here
1 | public protocol ChannelInboundHandler : NIOCore._ChannelInboundHandler, NIOCore._EmittingChannelHandler {
  |                 `- note: protocol declared here
2 |     associatedtype InboundIn
3 |     associatedtype InboundOut = Never
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Context.swift:67:41: warning: cannot use protocol 'ChannelInboundHandler' in a conformance on a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
 65 | }
 66 |
 67 | private final class FatalDeviceHandler: ChannelInboundHandler {
    |                                         `- warning: cannot use protocol 'ChannelInboundHandler' in a conformance on a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
 68 |   typealias InboundIn = ByteBuffer
 69 |   func channelRead(context: ChannelHandlerContext, data: NIOAny) {
NIOCore.ChannelInboundHandler:1:17: note: protocol declared here
1 | public protocol ChannelInboundHandler : NIOCore._ChannelInboundHandler, NIOCore._EmittingChannelHandler {
  |                 `- note: protocol declared here
2 |     associatedtype InboundIn
3 |     associatedtype InboundOut = Never
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Context.swift:74:44: warning: cannot use protocol 'ChannelInboundHandler' here; 'NIOCore' has been imported as implementation-only
 72 | }
 73 |
 74 | private actor ChannelOutputDevice<Handler: ChannelInboundHandler> {
    |                                            `- warning: cannot use protocol 'ChannelInboundHandler' here; 'NIOCore' has been imported as implementation-only
 75 |   init(handler: Handler) {
 76 |     self.handler = handler
NIOCore.ChannelInboundHandler:1:17: note: protocol declared here
1 | public protocol ChannelInboundHandler : NIOCore._ChannelInboundHandler, NIOCore._EmittingChannelHandler {
  |                 `- note: protocol declared here
2 |     associatedtype InboundIn
3 |     associatedtype InboundOut = Never
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Process.swift:238:19: warning: cannot use type alias 'pid_t' in a property declaration member of a type not marked '@_implementationOnly'; '_DarwinFoundation2' has been imported as implementation-only
236 |       self.rawValue = rawValue
237 |     }
238 |     let rawValue: pid_t
    |                   `- warning: cannot use type alias 'pid_t' in a property declaration member of a type not marked '@_implementationOnly'; '_DarwinFoundation2' has been imported as implementation-only
239 |
240 |     public var description: String { rawValue.description }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/usr/include/sys/_types/_pid_t.h:31:31: note: type alias declared here
29 | #define _PID_T
30 | #include <sys/_types.h> /* __darwin_pid_t */
31 | typedef __darwin_pid_t        pid_t;
   |                               `- note: type alias declared here
32 | #endif  /* _PID_T */
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Process.swift:365:23: warning: cannot use generic class 'EventLoopFuture' in a property declaration member of a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
363 |   }
364 |
365 |   private let future: EventLoopFuture<Void>
    |                       `- warning: cannot use generic class 'EventLoopFuture' in a property declaration member of a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
366 |
367 |   private final class Handler: ChannelInboundHandler {
NIOCore.EventLoopFuture:1:20: note: generic class declared here
1 | final public class EventLoopFuture<Value> {
  |                    `- note: generic class declared here
2 |     public let eventLoop: any NIOCore.EventLoop
3 |     deinit
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Process.swift:367:32: warning: cannot use protocol 'ChannelInboundHandler' in a conformance on a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
365 |   private let future: EventLoopFuture<Void>
366 |
367 |   private final class Handler: ChannelInboundHandler {
    |                                `- warning: cannot use protocol 'ChannelInboundHandler' in a conformance on a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
368 |     typealias InboundIn = ByteBuffer
369 |     func channelRead(context: ChannelHandlerContext, data: NIOAny) {
NIOCore.ChannelInboundHandler:1:17: note: protocol declared here
1 | public protocol ChannelInboundHandler : NIOCore._ChannelInboundHandler, NIOCore._EmittingChannelHandler {
  |                 `- note: protocol declared here
2 |     associatedtype InboundIn
3 |     associatedtype InboundOut = Never
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Context.swift:1:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  1 | @_implementationOnly import NIO
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  2 |
  3 | import SystemPackage
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Context.swift:60:40: warning: cannot use protocol 'ChannelInboundHandler' in a conformance on a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
 58 | // MARK: - Support
 59 |
 60 | private final class NullDeviceHandler: ChannelInboundHandler {
    |                                        `- warning: cannot use protocol 'ChannelInboundHandler' in a conformance on a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
 61 |   typealias InboundIn = ByteBuffer
 62 |   func channelRead(context: ChannelHandlerContext, data: NIOAny) {
NIOCore.ChannelInboundHandler:1:17: note: protocol declared here
1 | public protocol ChannelInboundHandler : NIOCore._ChannelInboundHandler, NIOCore._EmittingChannelHandler {
  |                 `- note: protocol declared here
2 |     associatedtype InboundIn
3 |     associatedtype InboundOut = Never
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Context.swift:67:41: warning: cannot use protocol 'ChannelInboundHandler' in a conformance on a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
 65 | }
 66 |
 67 | private final class FatalDeviceHandler: ChannelInboundHandler {
    |                                         `- warning: cannot use protocol 'ChannelInboundHandler' in a conformance on a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
 68 |   typealias InboundIn = ByteBuffer
 69 |   func channelRead(context: ChannelHandlerContext, data: NIOAny) {
NIOCore.ChannelInboundHandler:1:17: note: protocol declared here
1 | public protocol ChannelInboundHandler : NIOCore._ChannelInboundHandler, NIOCore._EmittingChannelHandler {
  |                 `- note: protocol declared here
2 |     associatedtype InboundIn
3 |     associatedtype InboundOut = Never
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Context.swift:74:44: warning: cannot use protocol 'ChannelInboundHandler' here; 'NIOCore' has been imported as implementation-only
 72 | }
 73 |
 74 | private actor ChannelOutputDevice<Handler: ChannelInboundHandler> {
    |                                            `- warning: cannot use protocol 'ChannelInboundHandler' here; 'NIOCore' has been imported as implementation-only
 75 |   init(handler: Handler) {
 76 |     self.handler = handler
NIOCore.ChannelInboundHandler:1:17: note: protocol declared here
1 | public protocol ChannelInboundHandler : NIOCore._ChannelInboundHandler, NIOCore._EmittingChannelHandler {
  |                 `- note: protocol declared here
2 |     associatedtype InboundIn
3 |     associatedtype InboundOut = Never
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Environment.swift:3:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  1 | import SystemPackage
  2 |
  3 | @_implementationOnly import Foundation
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  4 |
  5 | /**
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Builtins.swift:1:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  1 | @_implementationOnly import NIO
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Builtins.swift:3:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  1 | @_implementationOnly import NIO
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  4 |
  5 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Builtins.swift:196:32: warning: cannot use module 'NIO' in a property declaration member of a type not marked '@_implementationOnly'; 'NIO' has been imported as implementation-only
194 |         lastFuture = channel.write(NIOAny(buffer))
195 |       }
196 |       fileprivate let channel: NIO.Channel
    |                                `- warning: cannot use module 'NIO' in a property declaration member of a type not marked '@_implementationOnly'; 'NIO' has been imported as implementation-only
197 |       fileprivate var lastFuture: EventLoopFuture<Void>?
198 |     }
<unknown>:0: note: module declared here
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Builtins.swift:197:35: warning: cannot use generic class 'EventLoopFuture' in a property declaration member of a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
195 |       }
196 |       fileprivate let channel: NIO.Channel
197 |       fileprivate var lastFuture: EventLoopFuture<Void>?
    |                                   `- warning: cannot use generic class 'EventLoopFuture' in a property declaration member of a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
198 |     }
199 |
NIOCore.EventLoopFuture:1:20: note: generic class declared here
1 | final public class EventLoopFuture<Value> {
  |                    `- note: generic class declared here
2 |     public let eventLoop: any NIOCore.EventLoop
3 |     deinit
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Builtins.swift:200:30: warning: cannot use module 'NIO' in a property declaration member of a type not marked '@_implementationOnly'; 'NIO' has been imported as implementation-only
198 |     }
199 |
200 |     fileprivate let channel: NIO.Channel
    |                              `- warning: cannot use module 'NIO' in a property declaration member of a type not marked '@_implementationOnly'; 'NIO' has been imported as implementation-only
201 |   }
202 |
<unknown>:0: note: module declared here
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Builtins.swift:29:44: warning: capture of 'handler' with non-Sendable type 'AsyncInboundHandler<ByteBuffer>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 27 |          Theoretically if we add this before a call to `channel.read`, it _should_ receive all data sent on the channel. Unfortunately we ran into a case where on Linux, adding the handler outside of the channel initializer made us miss some data.
 28 |          */
 29 |         return channel.pipeline.addHandler(handler)
    |                                            `- warning: capture of 'handler' with non-Sendable type 'AsyncInboundHandler<ByteBuffer>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 30 |       }
 31 |       .duplicating(
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Support/Async Inbound Handler.swift:3:20: note: generic class 'AsyncInboundHandler' does not conform to the 'Sendable' protocol
 1 | import NIOCore
 2 |
 3 | public final class AsyncInboundHandler<InboundIn>: ChannelInboundHandler, AsyncSequence {
   |                    `- note: generic class 'AsyncInboundHandler' does not conform to the 'Sendable' protocol
 4 |
 5 |   public typealias BufferingPolicy = AsyncStream<Element>.Continuation.BufferingPolicy
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Builtins.swift:194:30: warning: 'write(_:file:line:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
192 |         let buffer = channel.allocator.buffer(string: string)
193 |         /// This future should implicitly be fulfilled after any previous future
194 |         lastFuture = channel.write(NIOAny(buffer))
    |                              `- warning: 'write(_:file:line:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
195 |       }
196 |       fileprivate let channel: NIO.Channel
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Builtins.swift:222:51: warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
220 |         let output = channel.output
221 |         let eventLoop = output.channel.eventLoop
222 |         let fileHandle = try await context.fileIO.openFile(
    |                                                   `- warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
223 |           path: filePath.string,
224 |           mode: .read,
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Builtins.swift:238:19: warning: capture of 'output' with non-Sendable type 'Builtin.Output' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
179 |    A type which can be used to write to a shell command's standard output or standard error
180 |    */
181 |   public struct Output {
    |                 `- note: consider making struct 'Output' conform to the 'Sendable' protocol
182 |
183 |     public func withTextOutputStream(_ body: (inout TextOutputStream) -> Void) async throws {
    :
236 |                 eventLoop: eventLoop,
237 |                 chunkHandler: { buffer in
238 |                   output.channel.writeAndFlush(buffer)
    |                   `- warning: capture of 'output' with non-Sendable type 'Builtin.Output' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
239 |                 }
240 |               )
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Builtins.swift:264:51: warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
262 |       try await withChannel(input: input, output: nullDeviceOutput, in: context) { channel in
263 |         let eventLoop = context.eventLoopGroup.next()
264 |         let fileHandle = try await context.fileIO.openFile(
    |                                                   `- warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
265 |           path: filePath.string,
266 |           mode: .write,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Process.swift:1:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  1 | @_implementationOnly import NIO
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Shwift' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  2 | import SystemPackage
  3 |
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Process.swift:238:19: warning: cannot use type alias 'pid_t' in a property declaration member of a type not marked '@_implementationOnly'; '_DarwinFoundation2' has been imported as implementation-only
236 |       self.rawValue = rawValue
237 |     }
238 |     let rawValue: pid_t
    |                   `- warning: cannot use type alias 'pid_t' in a property declaration member of a type not marked '@_implementationOnly'; '_DarwinFoundation2' has been imported as implementation-only
239 |
240 |     public var description: String { rawValue.description }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/usr/include/sys/_types/_pid_t.h:31:31: note: type alias declared here
29 | #define _PID_T
30 | #include <sys/_types.h> /* __darwin_pid_t */
31 | typedef __darwin_pid_t        pid_t;
   |                               `- note: type alias declared here
32 | #endif  /* _PID_T */
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Process.swift:365:23: warning: cannot use generic class 'EventLoopFuture' in a property declaration member of a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
363 |   }
364 |
365 |   private let future: EventLoopFuture<Void>
    |                       `- warning: cannot use generic class 'EventLoopFuture' in a property declaration member of a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
366 |
367 |   private final class Handler: ChannelInboundHandler {
NIOCore.EventLoopFuture:1:20: note: generic class declared here
1 | final public class EventLoopFuture<Value> {
  |                    `- note: generic class declared here
2 |     public let eventLoop: any NIOCore.EventLoop
3 |     deinit
/Users/admin/builder/spi-builder-workspace/Sources/Shwift/Process.swift:367:32: warning: cannot use protocol 'ChannelInboundHandler' in a conformance on a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
365 |   private let future: EventLoopFuture<Void>
366 |
367 |   private final class Handler: ChannelInboundHandler {
    |                                `- warning: cannot use protocol 'ChannelInboundHandler' in a conformance on a type not marked '@_implementationOnly'; 'NIOCore' has been imported as implementation-only
368 |     typealias InboundIn = ByteBuffer
369 |     func channelRead(context: ChannelHandlerContext, data: NIOAny) {
NIOCore.ChannelInboundHandler:1:17: note: protocol declared here
1 | public protocol ChannelInboundHandler : NIOCore._ChannelInboundHandler, NIOCore._EmittingChannelHandler {
  |                 `- note: protocol declared here
2 |     associatedtype InboundIn
3 |     associatedtype InboundOut = Never
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
/Users/admin/builder/spi-builder-workspace/Sources/Script/File Operations.swift:3:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Script' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  1 | import Shwift
  2 | import SystemPackage
  3 | @_implementationOnly import Foundation
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Script' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  4 |
  5 | // MARK: - Operators
/Users/admin/builder/spi-builder-workspace/Sources/Script/Script.swift:5:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Script' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  3 | import SystemPackage
  4 |
  5 | @_implementationOnly import class Foundation.FileManager
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Script' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  6 |
  7 | /**
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
/Users/admin/builder/spi-builder-workspace/Sources/Script/File Operations.swift:3:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Script' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  1 | import Shwift
  2 | import SystemPackage
  3 | @_implementationOnly import Foundation
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Script' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  4 |
  5 | // MARK: - Operators
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
/Users/admin/builder/spi-builder-workspace/Sources/Script/Script.swift:5:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Script' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  3 | import SystemPackage
  4 |
  5 | @_implementationOnly import class Foundation.FileManager
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'Script' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
  6 |
  7 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Script/Script.swift:291:37: warning: 'withValue(_:operation:isolation:file:line:)' is deprecated: Prefer the 'nonisolated(nonsending)' overload with stricter execution on caller context semantics: withValue(_:operation:file:line:) [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
289 |     shell.standardError = standardError
290 |   }
291 |   return try await Shell.$taskLocal.withValue(shell, operation: operation)
    |                                     `- warning: 'withValue(_:operation:isolation:file:line:)' is deprecated: Prefer the 'nonisolated(nonsending)' overload with stricter execution on caller context semantics: withValue(_:operation:file:line:) [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
292 | }
293 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "Shwift",
  "name" : "Shwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Script",
      "targets" : [
        "Script"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Shwift",
      "targets" : [
        "Shwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ScriptExample",
      "targets" : [
        "ScriptExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "ShwiftTests",
      "path" : "Tests/ShwiftTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ShwiftTests/Cat.txt",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Recorder Tests.swift",
        "Shwift Tests.swift"
      ],
      "target_dependencies" : [
        "Shwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Shwift",
      "module_type" : "SwiftTarget",
      "name" : "Shwift",
      "path" : "Sources/Shwift",
      "product_dependencies" : [
        "SystemPackage",
        "NIO",
        "_NIOConcurrency"
      ],
      "product_memberships" : [
        "Script",
        "Shwift",
        "ScriptExample"
      ],
      "sources" : [
        "Builtins.swift",
        "Context.swift",
        "Environment.swift",
        "IO.swift",
        "Pipe.swift",
        "Process.swift",
        "Support/Async Inbound Handler.swift",
        "Support/File Descriptor.swift",
        "Support/NIO Pipe Bootstrap.swift",
        "Support/Posix Spawn.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ScriptExample",
      "module_type" : "SwiftTarget",
      "name" : "ScriptExample",
      "path" : "Sources/ScriptExample",
      "product_memberships" : [
        "ScriptExample"
      ],
      "sources" : [
        "Main.swift"
      ],
      "target_dependencies" : [
        "Script"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Script",
      "module_type" : "SwiftTarget",
      "name" : "Script",
      "path" : "Sources/Script",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "Script",
        "ScriptExample"
      ],
      "sources" : [
        "Builtins.swift",
        "Executable.swift",
        "File Operations.swift",
        "List Comprehensions.swift",
        "Output Capture.swift",
        "Pipe.swift",
        "Script.swift"
      ],
      "target_dependencies" : [
        "Shwift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.