Build Information
Successful build of Shwift, reference 3.1.1 (d7be04), with Swift 6.2 for Linux on 21 Jun 2025 07:51:59 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GeorgeLyon/Shwift.git
Reference: 3.1.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/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: 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-4609320-2":/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-argument-parser
Fetching https://github.com/apple/swift-nio.git
[1/76339] Fetching swift-nio
[765/91719] Fetching swift-nio, swift-argument-parser
Fetching https://github.com/apple/swift-system
Fetched https://github.com/apple/swift-argument-parser from cache (7.84s)
Fetched https://github.com/apple/swift-nio.git from cache (7.99s)
[1/4436] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.76s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (9.90s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.82s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.25s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
[792/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.59s)
[3828/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.72s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.13s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.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.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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/48] Write sources
[17/48] Compiling _AtomicsShims.c
[18/48] Compiling CNIOWindows WSAStartup.c
[19/48] Compiling CNIOWindows shim.c
[19/48] Compiling CNIOWASI CNIOWASI.c
[20/48] Write sources
[22/48] Compiling CNIOLinux liburing_shims.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
[28/116] Emitting module _NIOBase64
[28/116] Compiling c-nioatomics.c
[29/116] Compiling c-atomics.c
[31/122] Compiling Atomics AtomicReference.swift
[32/122] Compiling Atomics AtomicStorage.swift
[33/122] Emitting module InternalCollectionsUtilities
[34/123] Compiling Atomics ManagedAtomic.swift
[35/123] Compiling Atomics ManagedAtomicLazyReference.swift
[36/125] Compiling Atomics AtomicValue.swift
[37/125] Compiling Atomics AtomicMemoryOrderings.swift
[38/125] Compiling Atomics UnsafeAtomic.swift
[39/125] Compiling Atomics UnsafeAtomicLazyReference.swift
[40/125] Compiling SystemPackage MachPort.swift
[41/125] Compiling SystemPackage PlatformString.swift
[42/125] Compiling SystemPackage SystemString.swift
[44/128] Compiling Atomics DoubleWord.swift
[47/128] Compiling Atomics IntegerConformances.swift
[48/128] Compiling Atomics PointerConformances.swift
[49/128] Compiling Atomics RawRepresentable.swift
[50/128] Compiling Atomics AtomicBool.swift
[51/128] Compiling Atomics Primitives.native.swift
[52/128] Compiling Atomics OptionalRawRepresentable.swift
[53/128] Compiling Atomics AtomicInteger.swift
[54/128] Compiling Atomics AtomicOptionalWrappable.swift
[55/128] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[67/128] Emitting module SystemPackage
[72/128] Compiling _NIOBase64 Base64.swift
[80/129] Emitting module Atomics
[81/129] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[82/130] Compiling _NIODataStructures PriorityQueue.swift
[83/130] Compiling _NIODataStructures _TinyArray.swift
[84/130] Wrapping AST for InternalCollectionsUtilities for debugging
[86/130] Emitting module ArgumentParserToolInfo
[87/130] Compiling ArgumentParserToolInfo ToolInfo.swift
[87/130] Wrapping AST for _NIOBase64 for debugging
[90/146] Compiling Atomics IntegerOperations.swift
[91/146] Compiling Atomics Unmanaged extensions.swift
[92/147] Wrapping AST for ArgumentParserToolInfo for debugging
[93/147] Wrapping AST for Atomics for debugging
[95/148] Emitting module NIOConcurrencyHelpers
[96/185] Compiling ArgumentParser ArgumentDefinition.swift
[97/185] Compiling ArgumentParser ArgumentSet.swift
[98/187] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[99/187] Compiling ArgumentParser FishCompletionsGenerator.swift
[100/187] Compiling ArgumentParser ZshCompletionsGenerator.swift
[101/187] Compiling ArgumentParser Argument.swift
[102/187] Compiling ArgumentParser ArgumentHelp.swift
[103/187] Compiling ArgumentParser Name.swift
[104/187] Compiling ArgumentParser Parsed.swift
[105/187] Compiling ArgumentParser ParsedValues.swift
[106/187] Compiling DequeModule _DequeSlot.swift
[107/187] Compiling DequeModule _UnsafeWrappedBuffer.swift
[108/187] Compiling ArgumentParser InputOrigin.swift
[109/187] Compiling ArgumentParser ExpressibleByArgument.swift
[110/187] Compiling ArgumentParser ParsableArguments.swift
[111/187] Compiling ArgumentParser ParsableArgumentsValidation.swift
[116/187] Compiling ArgumentParser ParsableCommand.swift
[117/187] Compiling ArgumentParser ArgumentDecoder.swift
[118/187] Compiling ArgumentParser OptionGroup.swift
[119/187] Compiling ArgumentParser AsyncParsableCommand.swift
[120/187] Compiling NIOConcurrencyHelpers NIOLock.swift
[121/187] Compiling _NIODataStructures Heap.swift
[122/188] Emitting module _NIODataStructures
[124/189] Compiling NIOConcurrencyHelpers lock.swift
[125/189] Wrapping AST for SystemPackage for debugging
[126/189] Wrapping AST for _NIODataStructures for debugging
[128/189] Compiling ArgumentParser ArgumentVisibility.swift
[129/189] Compiling ArgumentParser CompletionKind.swift
[130/189] Compiling ArgumentParser Errors.swift
[131/189] Compiling ArgumentParser Flag.swift
[132/189] Compiling ArgumentParser NameSpecification.swift
[133/189] Compiling ArgumentParser Option.swift
[134/189] Compiling NIOConcurrencyHelpers atomics.swift
[135/189] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[136/190] Wrapping AST for NIOConcurrencyHelpers for debugging
[138/190] Compiling ArgumentParser BashCompletionsGenerator.swift
[139/190] Compiling ArgumentParser CompletionsGenerator.swift
[140/190] Emitting module DequeModule
[141/191] Wrapping AST for DequeModule for debugging
[143/251] Emitting module ArgumentParser
[144/256] Compiling NIOCore MulticastChannel.swift
[145/256] Compiling NIOCore NIOAny.swift
[146/256] Compiling NIOCore NIOCloseOnErrorHandler.swift
[147/256] Compiling NIOCore NIOLoopBound.swift
[148/256] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[149/256] Compiling NIOCore NIOScheduledCallback.swift
[150/256] Compiling NIOCore NIOSendable.swift
[151/256] Compiling NIOCore RecvByteBufferAllocator.swift
[152/264] Compiling NIOCore NIOAsyncSequenceProducer.swift
[153/264] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[154/264] Compiling NIOCore NIOAsyncWriter.swift
[155/264] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[156/264] Compiling NIOCore BSDSocketAPI.swift
[157/264] Compiling NIOCore ByteBuffer-aux.swift
[158/264] Compiling NIOCore AddressedEnvelope.swift
[159/264] Compiling NIOCore AsyncAwaitSupport.swift
[160/264] Compiling NIOCore AsyncChannel.swift
[161/264] Compiling NIOCore AsyncChannelHandler.swift
[162/264] Compiling NIOCore AsyncChannelInboundStream.swift
[163/264] Compiling NIOCore AsyncChannelOutboundWriter.swift
[164/264] Compiling ArgumentParser CollectionExtensions.swift
[165/264] Compiling ArgumentParser Platform.swift
[166/264] Compiling ArgumentParser SequenceExtensions.swift
[167/264] Compiling ArgumentParser StringExtensions.swift
[168/264] Compiling ArgumentParser Tree.swift
[169/264] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[170/264] Compiling NIOCore ByteBuffer-conversions.swift
[171/264] Compiling NIOCore ByteBuffer-core.swift
[172/264] Compiling NIOCore ByteBuffer-hex.swift
[173/264] Compiling NIOCore ByteBuffer-int.swift
[174/264] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[175/264] Compiling NIOCore ByteBuffer-multi-int.swift
[176/264] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[177/264] Compiling NIOCore ByteBuffer-views.swift
[178/264] Compiling NIOCore Channel.swift
[179/264] Compiling NIOCore IO.swift
[180/264] Compiling NIOCore IOData.swift
[181/264] Compiling NIOCore IPProtocol.swift
[182/264] Compiling NIOCore IntegerBitPacking.swift
[183/264] Compiling NIOCore IntegerTypes.swift
[184/264] Compiling NIOCore Interfaces.swift
[185/264] Compiling NIOCore Linux.swift
[186/264] Compiling NIOCore MarkedCircularBuffer.swift
[187/264] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[188/264] Compiling NIOCore EventLoopFuture+Deprecated.swift
[194/264] Compiling NIOCore GlobalSingletons.swift
[195/264] Compiling NIOCore CircularBuffer.swift
[196/264] Compiling NIOCore Codec.swift
[197/264] Compiling NIOCore ConvenienceOptionSupport.swift
[198/264] Compiling NIOCore DeadChannel.swift
[199/264] Compiling NIOCore DispatchQueue+WithFuture.swift
[200/264] Compiling NIOCore EventLoop+Deprecated.swift
[201/264] Compiling NIOCore EventLoop+SerialExecutor.swift
[202/264] Compiling NIOCore EventLoop.swift
[213/264] Compiling NIOCore ChannelHandler.swift
[214/264] Compiling NIOCore ChannelHandlers.swift
[215/264] Compiling NIOCore ChannelInvoker.swift
[216/264] Compiling NIOCore ChannelOption.swift
[217/264] Compiling NIOCore ChannelPipeline.swift
[218/265] Wrapping AST for ArgumentParser for debugging
[229/265] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[230/265] Compiling NIOCore SocketAddresses.swift
[231/265] Compiling NIOCore SocketOptionProvider.swift
[232/265] Compiling NIOCore SystemCallHelpers.swift
[233/265] Compiling NIOCore TimeAmount+Duration.swift
[234/265] Compiling NIOCore TypeAssistedChannelHandler.swift
[235/265] Compiling NIOCore UniversalBootstrapSupport.swift
[236/265] Compiling NIOCore Utilities.swift
[255/265] Emitting module NIOCore
[256/266] 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 Pool.swift
[272/323] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[273/323] Compiling NIOPosix PosixSingletons.swift
[274/323] Compiling NIOPosix RawSocketBootstrap.swift
[275/323] Compiling NIOPosix Resolver.swift
[276/323] Compiling NIOPosix Selectable.swift
[277/323] Compiling NIOPosix SelectableChannel.swift
[278/323] Compiling NIOPosix SelectableEventLoop.swift
[279/323] Compiling NIOPosix SelectorEpoll.swift
[280/323] Compiling NIOPosix SelectorGeneric.swift
[281/323] Compiling NIOPosix SelectorKqueue.swift
[282/323] Compiling NIOPosix SelectorUring.swift
[283/323] Compiling NIOPosix ThreadPosix.swift
[284/323] Compiling NIOPosix ThreadWindows.swift
[285/323] Compiling NIOPosix UnsafeTransfer.swift
[286/323] Compiling NIOPosix Utilities.swift
[287/323] Compiling NIOPosix VsockAddress.swift
[288/323] Compiling NIOPosix VsockChannelEvents.swift
[289/323] Compiling NIOPosix Bootstrap.swift
[290/323] Compiling NIOPosix ControlMessage.swift
[291/323] Compiling NIOPosix DatagramVectorReadManager.swift
[292/323] Compiling NIOPosix Errors+Any.swift
[293/323] Compiling NIOPosix FileDescriptor.swift
[294/323] Compiling NIOPosix GetaddrinfoResolver.swift
[295/323] Compiling NIOPosix HappyEyeballs.swift
[296/323] Compiling NIOPosix IO.swift
[297/323] Compiling NIOPosix IntegerBitPacking.swift
[298/323] Compiling NIOPosix IntegerTypes.swift
[299/323] Compiling NIOPosix Linux.swift
[300/323] Compiling NIOPosix LinuxCPUSet.swift
[301/323] Compiling NIOPosix LinuxUring.swift
[302/323] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[303/323] Compiling NIOPosix BSDSocketAPICommon.swift
[304/323] Compiling NIOPosix BSDSocketAPIPosix.swift
[305/323] Compiling NIOPosix BSDSocketAPIWindows.swift
[306/323] Compiling NIOPosix BaseSocket.swift
[307/323] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[308/323] Compiling NIOPosix BaseSocketChannel.swift
[309/323] Compiling NIOPosix BaseStreamSocketChannel.swift
[310/323] Compiling NIOPosix NIOThreadPool.swift
[311/323] Compiling NIOPosix NonBlockingFileIO.swift
[312/323] Compiling NIOPosix PendingDatagramWritesManager.swift
[313/323] Compiling NIOPosix PendingWritesManager.swift
[314/323] Compiling NIOPosix PipeChannel.swift
[315/323] Compiling NIOPosix PipePair.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 File Descriptor.swift
[327/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>
[328/341] Compiling Shwift Async Inbound Handler.swift
[329/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 | /**
[330/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 | /**
[331/341] Compiling Shwift Pipe.swift
[332/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 |
[333/341] Compiling Shwift Posix Spawn.swift
[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/350] Wrapping AST for Shwift for debugging
[339/350] Compiling Script Output Capture.swift
[340/350] Compiling Script Pipe.swift
[341/350] Compiling Script List Comprehensions.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 Executable.swift
[344/350] Compiling Script Builtins.swift
[345/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 | /**
[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] Emitting module ScriptExample
[350/353] Compiling ScriptExample Main.swift
[351/354] Wrapping AST for ScriptExample for debugging
[352/354] Write Objects.LinkFileList
[353/354] Linking ScriptExample
Build complete! (128.28s)
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.