The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Shwift, reference main (d7be04), with Swift 6.2 for Linux on 21 Jun 2025 07:53:03 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GeorgeLyon/Shwift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/GeorgeLyon/Shwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/GeorgeLyon/Shwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser
[1/4436] Fetching swift-system
[4437/19816] Fetching swift-system, swift-argument-parser
[4438/96155] Fetching swift-system, swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-system from cache (1.88s)
[35229/91719] Fetching swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser from cache (1.89s)
[20612/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.63s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (10.56s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.87s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.65s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
[505/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.87s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.17s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.07s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.23s)
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.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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.2.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/48] Write sources
[18/48] Compiling CNIOWindows shim.c
[19/48] Compiling CNIOWASI CNIOWASI.c
[20/48] Compiling CNIOLinux liburing_shims.c
[21/48] Compiling CNIOWindows WSAStartup.c
[21/48] Compiling _AtomicsShims.c
[23/48] Compiling CNIODarwin shim.c
[24/48] Compiling CSystem shims.c
[25/48] Write swift-version-24593BA9C3E375BF.txt
[26/48] Compiling CNIOLinux shim.c
[27/116] Compiling c-nioatomics.c
[28/116] Compiling c-atomics.c
[30/122] Emitting module InternalCollectionsUtilities
[31/122] Compiling Atomics OptionalRawRepresentable.swift
[32/122] Compiling Atomics RawRepresentable.swift
[33/123] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[34/123] Compiling Atomics AtomicStorage.swift
[35/123] Compiling Atomics AtomicValue.swift
[36/125] Compiling InternalCollectionsUtilities Descriptions.swift
[37/125] Compiling Atomics ManagedAtomic.swift
[40/125] Compiling Atomics AtomicBool.swift
[41/125] Compiling Atomics IntegerConformances.swift
[42/128] Compiling Atomics AtomicInteger.swift
[43/128] Compiling Atomics AtomicOptionalWrappable.swift
[50/128] Compiling Atomics ManagedAtomicLazyReference.swift
[54/128] Compiling SystemPackage MachPort.swift
[55/128] Compiling SystemPackage PlatformString.swift
[56/128] Compiling SystemPackage SystemString.swift
[57/128] Compiling Atomics AtomicMemoryOrderings.swift
[58/128] Compiling Atomics DoubleWord.swift
[59/128] Compiling Atomics UnsafeAtomic.swift
[60/128] Compiling Atomics UnsafeAtomicLazyReference.swift
[63/128] Compiling Atomics PointerConformances.swift
[64/128] Compiling Atomics Primitives.native.swift
[69/128] Emitting module SystemPackage
[70/128] Emitting module _NIOBase64
[71/128] Compiling _NIOBase64 Base64.swift
[72/128] Emitting module Atomics
[76/129] Compiling _NIODataStructures PriorityQueue.swift
[77/129] Compiling _NIODataStructures _TinyArray.swift
[78/129] Compiling ArgumentParserToolInfo ToolInfo.swift
[79/129] Emitting module ArgumentParserToolInfo
[82/130] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[82/131] Wrapping AST for _NIOBase64 for debugging
[83/131] Wrapping AST for ArgumentParserToolInfo for debugging
[85/169] Wrapping AST for InternalCollectionsUtilities for debugging
[87/184] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[88/184] Emitting module NIOConcurrencyHelpers
[89/184] Compiling ArgumentParser ExpressibleByArgument.swift
[90/184] Compiling ArgumentParser ParsableArguments.swift
[91/185] Wrapping AST for Atomics for debugging
[93/185] Compiling DequeModule Deque+CustomReflectable.swift
[94/185] Compiling DequeModule Deque+Descriptions.swift
[95/187] Compiling DequeModule _DequeBuffer.swift
[96/187] Compiling DequeModule _DequeBufferHeader.swift
[97/187] Compiling DequeModule _DequeSlot.swift
[98/187] Compiling DequeModule _UnsafeWrappedBuffer.swift
[99/187] Compiling ArgumentParser Name.swift
[100/187] Compiling ArgumentParser Parsed.swift
[101/187] Compiling ArgumentParser ParsedValues.swift
[102/187] Compiling DequeModule Deque+Extras.swift
[103/187] Compiling DequeModule Deque+Hashable.swift
[104/187] Compiling DequeModule Deque+Equatable.swift
[105/187] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[106/187] Compiling ArgumentParser ParsableCommand.swift
[107/187] Compiling ArgumentParser ArgumentDecoder.swift
[108/187] Compiling ArgumentParser ArgumentDefinition.swift
[109/187] Compiling ArgumentParser ArgumentSet.swift
[110/187] Compiling NIOConcurrencyHelpers NIOLock.swift
[115/187] Compiling DequeModule Deque+Testing.swift
[116/187] Compiling DequeModule Deque._Storage.swift
[117/187] Compiling DequeModule Deque._UnsafeHandle.swift
[118/187] Compiling DequeModule Deque.swift
[119/187] Compiling NIOConcurrencyHelpers lock.swift
[120/187] Compiling ArgumentParser EnumerableFlag.swift
[123/187] Compiling ArgumentParser ParsableArgumentsValidation.swift
[128/188] Compiling _NIODataStructures Heap.swift
[129/188] Emitting module _NIODataStructures
[131/189] Wrapping AST for SystemPackage for debugging
[132/189] Wrapping AST for _NIODataStructures for debugging
[134/189] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[135/189] Compiling NIOConcurrencyHelpers atomics.swift
[137/190] Emitting module DequeModule
[138/190] Compiling DequeModule Deque+Codable.swift
[139/190] Compiling DequeModule Deque+Collection.swift
[139/191] Wrapping AST for NIOConcurrencyHelpers for debugging
[141/191] Wrapping AST for DequeModule for debugging
[143/251] Compiling NIOCore ChannelHandler.swift
[144/251] Compiling NIOCore ChannelHandlers.swift
[145/251] Compiling NIOCore ChannelInvoker.swift
[146/251] Compiling NIOCore ChannelOption.swift
[147/251] Compiling NIOCore ChannelPipeline.swift
[148/256] Emitting module ArgumentParser
[149/256] Compiling NIOCore CircularBuffer.swift
[150/256] Compiling NIOCore Codec.swift
[151/256] Compiling NIOCore ConvenienceOptionSupport.swift
[152/256] Compiling NIOCore DeadChannel.swift
[153/256] Compiling NIOCore DispatchQueue+WithFuture.swift
[154/256] Compiling NIOCore EventLoop+Deprecated.swift
[155/256] Compiling NIOCore AsyncChannel.swift
[156/256] Compiling NIOCore AsyncChannelHandler.swift
[157/256] Compiling NIOCore AsyncChannelInboundStream.swift
[158/256] Compiling NIOCore AsyncChannelOutboundWriter.swift
[159/256] Compiling NIOCore NIOAsyncSequenceProducer.swift
[160/256] Compiling NIOCore MulticastChannel.swift
[161/256] Compiling NIOCore NIOAny.swift
[162/256] Compiling NIOCore NIOCloseOnErrorHandler.swift
[163/256] Compiling NIOCore NIOLoopBound.swift
[164/256] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[165/256] Compiling NIOCore NIOScheduledCallback.swift
[166/256] Compiling NIOCore NIOSendable.swift
[167/256] Compiling NIOCore RecvByteBufferAllocator.swift
[168/264] Compiling NIOCore EventLoop+SerialExecutor.swift
[169/264] Compiling NIOCore EventLoop.swift
[170/264] Compiling NIOCore ByteBuffer-multi-int.swift
[171/264] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[172/264] Compiling NIOCore ByteBuffer-views.swift
[173/264] Compiling NIOCore Channel.swift
[174/264] Compiling ArgumentParser CollectionExtensions.swift
[175/264] Compiling ArgumentParser Platform.swift
[176/264] Compiling ArgumentParser SequenceExtensions.swift
[177/264] Compiling ArgumentParser StringExtensions.swift
[178/264] Compiling ArgumentParser Tree.swift
[179/264] Compiling NIOCore FileHandle.swift
[180/264] Compiling NIOCore FileRegion.swift
[181/264] Compiling NIOCore GlobalSingletons.swift
[182/264] Compiling NIOCore AddressedEnvelope.swift
[183/264] Compiling NIOCore AsyncAwaitSupport.swift
[184/264] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[185/264] Compiling NIOCore EventLoopFuture+Deprecated.swift
[186/264] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[187/264] Compiling NIOCore EventLoopFuture.swift
[188/264] Compiling NIOCore FileDescriptor.swift
[189/264] Compiling NIOCore IO.swift
[190/264] Compiling NIOCore IOData.swift
[191/264] Compiling NIOCore IPProtocol.swift
[192/264] Compiling NIOCore IntegerBitPacking.swift
[193/264] Compiling NIOCore IntegerTypes.swift
[194/264] Compiling NIOCore Interfaces.swift
[195/264] Compiling NIOCore Linux.swift
[196/264] Compiling NIOCore MarkedCircularBuffer.swift
[205/264] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[206/264] Compiling NIOCore NIOAsyncWriter.swift
[207/264] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[208/264] Compiling NIOCore BSDSocketAPI.swift
[209/264] Compiling NIOCore ByteBuffer-aux.swift
[210/265] Wrapping AST for ArgumentParser for debugging
[220/265] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[221/265] Compiling NIOCore SocketAddresses.swift
[222/265] Compiling NIOCore SocketOptionProvider.swift
[223/265] Compiling NIOCore SystemCallHelpers.swift
[224/265] Compiling NIOCore TimeAmount+Duration.swift
[225/265] Compiling NIOCore TypeAssistedChannelHandler.swift
[226/265] Compiling NIOCore UniversalBootstrapSupport.swift
[227/265] Compiling NIOCore Utilities.swift
[236/265] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[255/265] Emitting module NIOCore
[256/271] Wrapping AST for NIOCore for debugging
[258/316] Emitting module NIOEmbedded
[259/316] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[260/316] Compiling NIOEmbedded AsyncTestingChannel.swift
[261/316] Compiling NIOEmbedded Embedded.swift
[262/317] Wrapping AST for NIOEmbedded for debugging
[264/317] Emitting module NIOPosix
[265/323] Compiling NIOPosix ServerSocket.swift
[266/323] Compiling NIOPosix Socket.swift
[267/323] Compiling NIOPosix SocketChannel.swift
[268/323] Compiling NIOPosix SocketProtocols.swift
[269/323] Compiling NIOPosix System.swift
[270/323] Compiling NIOPosix Thread.swift
[271/323] Compiling NIOPosix ThreadPosix.swift
[272/323] Compiling NIOPosix ThreadWindows.swift
[273/323] Compiling NIOPosix UnsafeTransfer.swift
[274/323] Compiling NIOPosix Utilities.swift
[275/323] Compiling NIOPosix VsockAddress.swift
[276/323] Compiling NIOPosix VsockChannelEvents.swift
[277/323] Compiling NIOPosix Pool.swift
[278/323] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[279/323] Compiling NIOPosix PosixSingletons.swift
[280/323] Compiling NIOPosix RawSocketBootstrap.swift
[281/323] Compiling NIOPosix Resolver.swift
[282/323] Compiling NIOPosix Selectable.swift
[283/323] Compiling NIOPosix Bootstrap.swift
[284/323] Compiling NIOPosix ControlMessage.swift
[285/323] Compiling NIOPosix DatagramVectorReadManager.swift
[286/323] Compiling NIOPosix Errors+Any.swift
[287/323] Compiling NIOPosix FileDescriptor.swift
[288/323] Compiling NIOPosix GetaddrinfoResolver.swift
[289/323] Compiling NIOPosix HappyEyeballs.swift
[290/323] Compiling NIOPosix SelectableChannel.swift
[291/323] Compiling NIOPosix SelectableEventLoop.swift
[292/323] Compiling NIOPosix SelectorEpoll.swift
[293/323] Compiling NIOPosix SelectorGeneric.swift
[294/323] Compiling NIOPosix SelectorKqueue.swift
[295/323] Compiling NIOPosix SelectorUring.swift
[296/323] Compiling NIOPosix NIOThreadPool.swift
[297/323] Compiling NIOPosix NonBlockingFileIO.swift
[298/323] Compiling NIOPosix PendingDatagramWritesManager.swift
[299/323] Compiling NIOPosix PendingWritesManager.swift
[300/323] Compiling NIOPosix PipeChannel.swift
[301/323] Compiling NIOPosix PipePair.swift
[302/323] Compiling NIOPosix IO.swift
[303/323] Compiling NIOPosix IntegerBitPacking.swift
[304/323] Compiling NIOPosix IntegerTypes.swift
[305/323] Compiling NIOPosix Linux.swift
[306/323] Compiling NIOPosix LinuxCPUSet.swift
[307/323] Compiling NIOPosix LinuxUring.swift
[308/323] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[309/323] Compiling NIOPosix BSDSocketAPICommon.swift
[310/323] Compiling NIOPosix BSDSocketAPIPosix.swift
[311/323] Compiling NIOPosix BSDSocketAPIWindows.swift
[312/323] Compiling NIOPosix BaseSocket.swift
[313/323] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[314/323] Compiling NIOPosix BaseSocketChannel.swift
[315/323] Compiling NIOPosix BaseStreamSocketChannel.swift
[316/324] Wrapping AST for NIOPosix for debugging
[318/326] Emitting module NIO
[319/326] Compiling NIO Exports.swift
[320/327] Wrapping AST for NIO for debugging
[322/329] Emitting module _NIOConcurrency
[323/329] Compiling _NIOConcurrency Empty.swift
[324/330] Wrapping AST for _NIOConcurrency for debugging
[326/340] Compiling Shwift NIO Pipe Bootstrap.swift
/host/spi-builder-workspace/Sources/Shwift/Support/NIO Pipe Bootstrap.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
 1 | @_implementationOnly import NIO
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
 2 | import SystemPackage
 3 |
/host/spi-builder-workspace/Sources/Shwift/Support/NIO Pipe Bootstrap.swift:17:26: warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)' [#DeprecatedDeclaration]
15 |       let output = try outputDescriptor.duplicate()
16 |       do {
17 |         return try await withPipes(
   |                          |- warning: 'withPipes(inputDescriptor:outputDescriptor:)' is deprecated: renamed to 'takingOwnershipOfDescriptors(input:output:)' [#DeprecatedDeclaration]
   |                          `- note: use 'takingOwnershipOfDescriptors(input:output:)' instead
18 |           inputDescriptor: input.rawValue,
19 |           outputDescriptor: output.rawValue
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[327/341] Compiling Shwift Async Inbound Handler.swift
[328/341] Compiling Shwift File Descriptor.swift
[329/341] Compiling Shwift Posix Spawn.swift
[330/341] Compiling Shwift Pipe.swift
[331/341] Compiling Shwift Process.swift
/host/spi-builder-workspace/Sources/Shwift/Process.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 | import SystemPackage
  3 |
[332/341] Compiling Shwift Environment.swift
/host/spi-builder-workspace/Sources/Shwift/Environment.swift:3:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | import SystemPackage
  2 |
  3 | @_implementationOnly import Foundation
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  4 |
  5 | /**
[333/341] Compiling Shwift IO.swift
/host/spi-builder-workspace/Sources/Shwift/Environment.swift:3:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | import SystemPackage
  2 |
  3 | @_implementationOnly import Foundation
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  4 |
  5 | /**
[334/341] Emitting module Shwift
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:3:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  4 |
  5 | /**
/host/spi-builder-workspace/Sources/Shwift/Context.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 |
  3 | import SystemPackage
/host/spi-builder-workspace/Sources/Shwift/Environment.swift:3:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | import SystemPackage
  2 |
  3 | @_implementationOnly import Foundation
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  4 |
  5 | /**
/host/spi-builder-workspace/Sources/Shwift/Process.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 | import SystemPackage
  3 |
/host/spi-builder-workspace/Sources/Shwift/Support/NIO Pipe Bootstrap.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
 1 | @_implementationOnly import NIO
   |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
 2 | import SystemPackage
 3 |
[335/341] Compiling Shwift Builtins.swift
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:3:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  4 |
  5 | /**
/host/spi-builder-workspace/Sources/Shwift/Context.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 |
  3 | import SystemPackage
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:29:44: warning: capture of 'handler' with non-Sendable type 'AsyncInboundHandler<ByteBuffer>' in a '@Sendable' closure [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
 30 |       }
 31 |       .duplicating(
/host/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
/host/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. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
195 |       }
196 |       fileprivate let channel: NIO.Channel
/host/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. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
223 |           path: filePath.string,
224 |           mode: .read,
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:238:19: warning: capture of 'output' with non-Sendable type 'Builtin.Output' in a '@Sendable' closure [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
239 |                 }
240 |               )
/host/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. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
265 |           path: filePath.string,
266 |           mode: .write,
/host/spi-builder-workspace/Sources/Shwift/Context.swift:93:48: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
 91 |         let channel = try await NIOPipeBootstrap(group: group)
 92 |           .channelInitializer { channel in
 93 |             return channel.pipeline.addHandler(handler)
    |                                                `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
 94 |           }
 95 |           .duplicating(
/host/spi-builder-workspace/Sources/Shwift/Context.swift:90:10: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
 88 |       let fileDescriptor: SystemPackage.FileDescriptor
 89 |       (channel, fileDescriptor) = try await SystemPackage.FileDescriptor.withPipe {
 90 |         [handler] pipe in
    |          `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
 91 |         let channel = try await NIOPipeBootstrap(group: group)
 92 |           .channelInitializer { channel in
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[336/341] Compiling Shwift Context.swift
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:3:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
  2 | import SystemPackage
  3 | @_implementationOnly import _NIOConcurrency
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  4 |
  5 | /**
/host/spi-builder-workspace/Sources/Shwift/Context.swift:1:22: warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  1 | @_implementationOnly import NIO
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Shwift' may lead to instability during execution
  2 |
  3 | import SystemPackage
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:29:44: warning: capture of 'handler' with non-Sendable type 'AsyncInboundHandler<ByteBuffer>' in a '@Sendable' closure [#SendableClosureCaptures]
 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 [#SendableClosureCaptures]
 30 |       }
 31 |       .duplicating(
/host/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
/host/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. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
195 |       }
196 |       fileprivate let channel: NIO.Channel
/host/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. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
223 |           path: filePath.string,
224 |           mode: .read,
/host/spi-builder-workspace/Sources/Shwift/Builtins.swift:238:19: warning: capture of 'output' with non-Sendable type 'Builtin.Output' in a '@Sendable' closure [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
239 |                 }
240 |               )
/host/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. [#DeprecatedDeclaration]
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. [#DeprecatedDeclaration]
265 |           path: filePath.string,
266 |           mode: .write,
/host/spi-builder-workspace/Sources/Shwift/Context.swift:93:48: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
 91 |         let channel = try await NIOPipeBootstrap(group: group)
 92 |           .channelInitializer { channel in
 93 |             return channel.pipeline.addHandler(handler)
    |                                                `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
 94 |           }
 95 |           .duplicating(
/host/spi-builder-workspace/Sources/Shwift/Context.swift:90:10: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
 88 |       let fileDescriptor: SystemPackage.FileDescriptor
 89 |       (channel, fileDescriptor) = try await SystemPackage.FileDescriptor.withPipe {
 90 |         [handler] pipe in
    |          `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
 91 |         let channel = try await NIOPipeBootstrap(group: group)
 92 |           .channelInitializer { channel in
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[337/342] Wrapping AST for Shwift for debugging
[339/350] Compiling Script Output Capture.swift
[340/350] Compiling Script List Comprehensions.swift
[341/350] Compiling Script Pipe.swift
[342/350] Compiling Script File Operations.swift
/host/spi-builder-workspace/Sources/Script/File Operations.swift:3:22: warning: using '@_implementationOnly' without enabling library evolution for 'Script' may lead to instability during execution
  1 | import Shwift
  2 | import SystemPackage
  3 | @_implementationOnly import Foundation
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Script' may lead to instability during execution
  4 |
  5 | // MARK: - Operators
[343/350] Compiling Script Builtins.swift
[344/350] Emitting module Script
/host/spi-builder-workspace/Sources/Script/File Operations.swift:3:22: warning: using '@_implementationOnly' without enabling library evolution for 'Script' may lead to instability during execution
  1 | import Shwift
  2 | import SystemPackage
  3 | @_implementationOnly import Foundation
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Script' may lead to instability during execution
  4 |
  5 | // MARK: - Operators
/host/spi-builder-workspace/Sources/Script/Script.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Script' may lead to instability during execution
  3 | import SystemPackage
  4 |
  5 | @_implementationOnly import class Foundation.FileManager
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Script' may lead to instability during execution
  6 |
  7 | /**
[345/350] Compiling Script Executable.swift
[346/350] Compiling Script Script.swift
/host/spi-builder-workspace/Sources/Script/Script.swift:5:22: warning: using '@_implementationOnly' without enabling library evolution for 'Script' may lead to instability during execution
  3 | import SystemPackage
  4 |
  5 | @_implementationOnly import class Foundation.FileManager
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'Script' may lead to instability during execution
  6 |
  7 | /**
/host/spi-builder-workspace/Sources/Script/Script.swift:158:21: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
156 |       defer { sem.signal() }
157 |       do {
158 |         let shell = self.rootShell
    |                     `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
159 |         try await Shell.$hostScript.withValue(self) {
160 |           try await Shell.$taskLocal.withValue(shell) {
/host/spi-builder-workspace/Sources/Script/Script.swift:151:15: warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
149 | extension Script {
150 |
151 |   public func run() throws {
    |               `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
152 |     /// Work around for https://forums.swift.org/t/interaction-between-async-main-and-async-overloads/52171
153 |     let box = ErrorBox()
[347/351] Wrapping AST for Script for debugging
[349/353] Compiling ScriptExample Main.swift
[350/353] Emitting module ScriptExample
[351/354] Wrapping AST for ScriptExample for debugging
[352/354] Write Objects.LinkFileList
[353/354] Linking ScriptExample
Build complete! (165.07s)
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" : "/host/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" : "/host/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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.