Build Information
Failed to build Atem, reference master (b1ab46
), with Swift 6.0 for Linux on 1 Nov 2024 07:16:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dev1an/swift-atem.git
Reference: master
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/dev1an/swift-atem
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b1ab46e Add MediaPlayerFrameDescription change decoder
Cloned https://github.com/dev1an/swift-atem.git
Revision (git rev-parse @):
b1ab46e3e59353cf18a9093b8fc9ed53917f6e47
SUCCESS checkout https://github.com/dev1an/swift-atem.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/dev1an/swift-atem.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio.git
[1/5061] Fetching swift-nio-extras
[5062/76202] Fetching swift-nio-extras, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (5.29s)
Fetched https://github.com/apple/swift-nio.git from cache (5.37s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.24.1 (0.54s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-http-types
[1/648] Fetching swift-http-types
[649/11713] Fetching swift-http-types, swift-nio-http2
Fetched https://github.com/apple/swift-http-types from cache (1.10s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.11s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.0 (0.54s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.34.1 (0.49s)
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.38s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.48s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.70s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
[3902/19376] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.41s)
[1393/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.22s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.90s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types 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.76.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.34.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.1.4
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.24.1
warning: 'spi-builder-workspace': dependency 'swift-nio-extras' is not used by any target
Building for debugging...
[0/57] Write sources
[15/57] Compiling CNIOWindows shim.c
[15/57] Compiling CNIOWindows WSAStartup.c
[15/57] Compiling CNIOWASI CNIOWASI.c
[15/57] Write sources
[21/57] Compiling CNIOLinux liburing_shims.c
[22/57] Compiling CNIODarwin shim.c
[23/57] Compiling CNIOLinux shim.c
[24/57] Compiling _AtomicsShims.c
[25/57] Write swift-version-24593BA9C3E375BF.txt
[26/99] Compiling c-nioatomics.c
[27/99] Compiling c-atomics.c
[29/105] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[30/105] Compiling Atomics AtomicMemoryOrderings.swift
[31/105] Compiling Atomics DoubleWord.swift
[32/107] Emitting module _NIOBase64
[33/107] Compiling _NIODataStructures PriorityQueue.swift
[34/107] Compiling _NIODataStructures _TinyArray.swift
[35/107] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[36/107] Compiling InternalCollectionsUtilities Integer rank.swift
[37/107] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[38/107] Compiling _NIOBase64 Base64.swift
[39/109] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[40/109] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[41/109] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[42/110] Compiling Atomics ManagedAtomic.swift
[44/110] Compiling Atomics ManagedAtomicLazyReference.swift
[47/110] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[48/110] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[51/110] Compiling Atomics AtomicReference.swift
[52/110] Compiling InternalCollectionsUtilities UInt+reversed.swift
[53/110] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[54/110] Compiling Atomics Primitives.shims.swift
[55/110] Compiling Atomics AtomicInteger.swift
[56/110] Compiling Atomics AtomicOptionalWrappable.swift
[57/110] Emitting module InternalCollectionsUtilities
[67/110] Emitting module Atomics
[71/110] Emitting module NIOConcurrencyHelpers
[72/110] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[72/110] Wrapping AST for _NIOBase64 for debugging
[74/110] Compiling Atomics IntegerOperations.swift
[75/110] Compiling Atomics Unmanaged extensions.swift
[79/112] Wrapping AST for InternalCollectionsUtilities for debugging
[80/112] Wrapping AST for Atomics for debugging
[82/112] Compiling NIOConcurrencyHelpers lock.swift
[83/127] Compiling NIOConcurrencyHelpers NIOLock.swift
[84/127] Compiling NIOConcurrencyHelpers atomics.swift
[85/128] Emitting module _NIODataStructures
[86/128] Compiling _NIODataStructures Heap.swift
[88/129] Wrapping AST for NIOConcurrencyHelpers for debugging
[90/129] Compiling DequeModule _DequeBuffer.swift
[91/129] Compiling DequeModule _DequeBufferHeader.swift
[91/131] Wrapping AST for _NIODataStructures for debugging
[93/131] Compiling DequeModule Deque+Testing.swift
[94/131] Compiling DequeModule Deque._Storage.swift
[95/131] Compiling DequeModule Deque+Equatable.swift
[96/131] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[97/131] Compiling DequeModule Deque+CustomReflectable.swift
[98/131] Compiling DequeModule Deque+Descriptions.swift
[99/131] Compiling DequeModule Deque+Extras.swift
[100/131] Compiling DequeModule Deque+Hashable.swift
[101/131] Compiling DequeModule _DequeSlot.swift
[102/131] Compiling DequeModule _UnsafeWrappedBuffer.swift
[103/131] Compiling DequeModule Deque._UnsafeHandle.swift
[104/131] Compiling DequeModule Deque.swift
[105/131] Compiling DequeModule Deque+Codable.swift
[106/131] Compiling DequeModule Deque+Collection.swift
[107/131] Emitting module DequeModule
[108/132] Wrapping AST for DequeModule for debugging
[110/192] Compiling NIOCore AddressedEnvelope.swift
[111/192] Compiling NIOCore AsyncAwaitSupport.swift
[112/192] Compiling NIOCore AsyncChannel.swift
[113/192] Compiling NIOCore AsyncChannelHandler.swift
[114/192] Compiling NIOCore AsyncChannelInboundStream.swift
[115/192] Compiling NIOCore AsyncChannelOutboundWriter.swift
[116/192] Compiling NIOCore NIOAsyncSequenceProducer.swift
[117/192] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[118/192] Compiling NIOCore NIOAsyncWriter.swift
[119/200] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[120/200] Compiling NIOCore BSDSocketAPI.swift
[121/200] Compiling NIOCore ByteBuffer-aux.swift
[122/200] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[123/200] Compiling NIOCore ByteBuffer-conversions.swift
[124/200] Compiling NIOCore ByteBuffer-core.swift
[125/200] Compiling NIOCore ByteBuffer-hex.swift
[126/200] Compiling NIOCore ByteBuffer-int.swift
[127/200] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[128/200] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[129/200] Compiling NIOCore SocketAddresses.swift
[130/200] Compiling NIOCore SocketOptionProvider.swift
[131/200] Compiling NIOCore SystemCallHelpers.swift
[132/200] Compiling NIOCore TimeAmount+Duration.swift
[133/200] Compiling NIOCore TypeAssistedChannelHandler.swift
[134/200] Compiling NIOCore UniversalBootstrapSupport.swift
[135/200] Compiling NIOCore Utilities.swift
[136/200] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[137/200] Compiling NIOCore EventLoopFuture+Deprecated.swift
[138/200] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[139/200] Compiling NIOCore EventLoopFuture.swift
[140/200] Compiling NIOCore FileDescriptor.swift
[141/200] Compiling NIOCore FileHandle.swift
[142/200] Compiling NIOCore FileRegion.swift
[143/200] Compiling NIOCore GlobalSingletons.swift
[144/200] Compiling NIOCore MulticastChannel.swift
[145/200] Compiling NIOCore NIOAny.swift
[146/200] Compiling NIOCore NIOCloseOnErrorHandler.swift
[147/200] Compiling NIOCore NIOLoopBound.swift
[148/200] Compiling NIOCore NIOScheduledCallback.swift
[149/200] Compiling NIOCore NIOSendable.swift
[150/200] Compiling NIOCore PointerHelpers.swift
[151/200] Compiling NIOCore RecvByteBufferAllocator.swift
[152/200] Compiling NIOCore CircularBuffer.swift
[153/200] Compiling NIOCore Codec.swift
[154/200] Compiling NIOCore ConvenienceOptionSupport.swift
[155/200] Compiling NIOCore DeadChannel.swift
[156/200] Compiling NIOCore DispatchQueue+WithFuture.swift
[157/200] Compiling NIOCore EventLoop+Deprecated.swift
[158/200] Compiling NIOCore EventLoop+SerialExecutor.swift
[159/200] Compiling NIOCore EventLoop.swift
[160/200] Compiling NIOCore ByteBuffer-multi-int.swift
[161/200] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[162/200] Compiling NIOCore ByteBuffer-views.swift
[163/200] Compiling NIOCore Channel.swift
[164/200] Compiling NIOCore ChannelHandler.swift
[165/200] Compiling NIOCore ChannelHandlers.swift
[166/200] Compiling NIOCore ChannelInvoker.swift
[167/200] Compiling NIOCore ChannelOption.swift
[168/200] Compiling NIOCore ChannelPipeline.swift
[169/200] Compiling NIOCore IO.swift
[170/200] Compiling NIOCore IOData.swift
[171/200] Compiling NIOCore IPProtocol.swift
[172/200] Compiling NIOCore IntegerBitPacking.swift
[173/200] Compiling NIOCore IntegerTypes.swift
[174/200] Compiling NIOCore Interfaces.swift
[175/200] Compiling NIOCore Linux.swift
[176/200] Compiling NIOCore MarkedCircularBuffer.swift
[177/200] Emitting module NIOCore
[178/201] Wrapping AST for NIOCore for debugging
[180/253] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[181/253] Emitting module NIOEmbedded
[182/253] Compiling NIOEmbedded AsyncTestingChannel.swift
[183/253] Compiling NIOEmbedded Embedded.swift
[184/254] Wrapping AST for NIOEmbedded for debugging
[186/254] Compiling NIOPosix Pool.swift
[187/254] Compiling NIOPosix PooledRecvBufferAllocator.swift
[188/254] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[189/254] Compiling NIOPosix PosixSingletons.swift
[190/254] Compiling NIOPosix RawSocketBootstrap.swift
[191/254] Compiling NIOPosix Resolver.swift
[192/254] Compiling NIOPosix Selectable.swift
[193/260] Compiling NIOPosix ServerSocket.swift
[194/260] Compiling NIOPosix Socket.swift
[195/260] Compiling NIOPosix SocketChannel.swift
[196/260] Compiling NIOPosix SocketProtocols.swift
[197/260] Compiling NIOPosix System.swift
[198/260] Compiling NIOPosix Thread.swift
[199/260] Compiling NIOPosix SelectableChannel.swift
[200/260] Compiling NIOPosix SelectableEventLoop.swift
[201/260] Compiling NIOPosix SelectorEpoll.swift
[202/260] Compiling NIOPosix SelectorGeneric.swift
[203/260] Compiling NIOPosix SelectorKqueue.swift
[204/260] Compiling NIOPosix SelectorUring.swift
[205/260] Emitting module NIOPosix
[206/260] Compiling NIOPosix NIOThreadPool.swift
[207/260] Compiling NIOPosix NonBlockingFileIO.swift
[208/260] Compiling NIOPosix PendingDatagramWritesManager.swift
[209/260] Compiling NIOPosix PendingWritesManager.swift
[210/260] Compiling NIOPosix PipeChannel.swift
[211/260] Compiling NIOPosix PipePair.swift
[212/260] Compiling NIOPosix PointerHelpers.swift
[213/260] Compiling NIOPosix ThreadPosix.swift
[214/260] Compiling NIOPosix ThreadWindows.swift
[215/260] Compiling NIOPosix UnsafeTransfer.swift
[216/260] Compiling NIOPosix Utilities.swift
[217/260] Compiling NIOPosix VsockAddress.swift
[218/260] Compiling NIOPosix VsockChannelEvents.swift
[219/260] Compiling NIOPosix BSDSocketAPICommon.swift
[220/260] Compiling NIOPosix BSDSocketAPIPosix.swift
[221/260] Compiling NIOPosix BSDSocketAPIWindows.swift
[222/260] Compiling NIOPosix BaseSocket.swift
[223/260] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[224/260] Compiling NIOPosix BaseSocketChannel.swift
[225/260] Compiling NIOPosix BaseStreamSocketChannel.swift
[226/260] Compiling NIOPosix IO.swift
[227/260] Compiling NIOPosix IntegerBitPacking.swift
[228/260] Compiling NIOPosix IntegerTypes.swift
[229/260] Compiling NIOPosix Linux.swift
[230/260] Compiling NIOPosix LinuxCPUSet.swift
[231/260] Compiling NIOPosix LinuxUring.swift
[232/260] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[233/260] Compiling NIOPosix Bootstrap.swift
[234/260] Compiling NIOPosix ControlMessage.swift
[235/260] Compiling NIOPosix DatagramVectorReadManager.swift
[236/260] Compiling NIOPosix Errors+Any.swift
[237/260] Compiling NIOPosix FileDescriptor.swift
[238/260] Compiling NIOPosix GetaddrinfoResolver.swift
[239/260] Compiling NIOPosix HappyEyeballs.swift
[240/261] Wrapping AST for NIOPosix for debugging
[242/263] Compiling NIO Exports.swift
[243/263] Emitting module NIO
[244/264] Wrapping AST for NIO for debugging
[246/290] Compiling AtemAppleDiscovery Network-framework.swift
/host/spi-builder-workspace/Sources/AtemAppleDiscovery/Network-framework.swift:8:8: error: no such module 'Network'
6 | //
7 |
8 | import Network
| `- error: no such module 'Network'
9 | import NIO
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[247/290] Emitting module AtemAppleDiscovery
/host/spi-builder-workspace/Sources/AtemAppleDiscovery/Network-framework.swift:8:8: error: no such module 'Network'
6 | //
7 |
8 | import Network
| `- error: no such module 'Network'
9 | import NIO
10 |
[248/290] Compiling AtemAppleDiscovery NetService.swift
/host/spi-builder-workspace/Sources/AtemAppleDiscovery/Network-framework.swift:8:8: error: no such module 'Network'
6 | //
7 |
8 | import Network
| `- error: no such module 'Network'
9 | import NIO
10 |
/host/spi-builder-workspace/Sources/Atem/Controller.swift:73:8: warning: capture of 'self' with non-sendable type 'ControllerHandler?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import NIO
10 |
11 | class ControllerHandler: HandlerWithTimer {
| `- note: class 'ControllerHandler' does not conform to the 'Sendable' protocol
12 | var connectionState: ConnectionState?
13 | var initiationID = ConnectionState.id(firstBit: false)
:
71 | let data = encode(bytes: packet.bytes, for: address, in: context)
72 | context.write(data).whenFailure { [weak self] error in
73 | self?.whenError(error)
| `- warning: capture of 'self' with non-sendable type 'ControllerHandler?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/Atem/Controller.swift:82:5: warning: capture of 'self' with non-sendable type 'ControllerHandler?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import NIO
10 |
11 | class ControllerHandler: HandlerWithTimer {
| `- note: class 'ControllerHandler' does not conform to the 'Sendable' protocol
12 | var connectionState: ConnectionState?
13 | var initiationID = ConnectionState.id(firstBit: false)
:
80 | let data = encode(bytes: 📦.bytes, for: address, in: context)
81 | context.write(data).whenFailure { [weak self] error in
82 | self?.whenError(error)
| `- warning: capture of 'self' with non-sendable type 'ControllerHandler?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
83 | }
84 | } else {
/host/spi-builder-workspace/Sources/Atem/Controller.swift:88:5: warning: capture of 'self' with non-sendable type 'ControllerHandler?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import NIO
10 |
11 | class ControllerHandler: HandlerWithTimer {
| `- note: class 'ControllerHandler' does not conform to the 'Sendable' protocol
12 | var connectionState: ConnectionState?
13 | var initiationID = ConnectionState.id(firstBit: false)
:
86 | let data = encode(bytes: 📦.bytes, for: address, in: context)
87 | context.write(data).whenFailure { [weak self] error in
88 | self?.whenError(error)
| `- warning: capture of 'self' with non-sendable type 'ControllerHandler?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
89 | }
90 | }
/host/spi-builder-workspace/Sources/Atem/Controller.swift:164:75: warning: converting non-sendable function value to '@Sendable () throws -> ()' may introduce data races
162 | controller.handler.whenError(error)
163 | }
164 | controller.eventLoop.next().scheduleTask(in: .seconds(5), controller.connect)
| `- warning: converting non-sendable function value to '@Sendable () throws -> ()' may introduce data races
165 | }
166 | }
/host/spi-builder-workspace/Sources/Atem/Controller.swift:152:28: warning: capture of 'self' with non-sendable type 'Controller' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ///
110 | /// To make an anology with real world devices: this class can be compared to a BlackMagicDesign Control Panel. It is used to control a production switcher.
111 | public class Controller {
| `- note: class 'Controller' does not conform to the 'Sendable' protocol
112 |
113 | let eventLoop: EventLoopGroup
:
150 | .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
151 | .channelInitializer {
152 | $0.pipeline.addHandler(self.handler)
| `- warning: capture of 'self' with non-sendable type 'Controller' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | }
154 | .bind(to: try! SocketAddress(ipAddress: "0.0.0.0", port: 0))
/host/spi-builder-workspace/Sources/Atem/Controller.swift:159:44: warning: capture of 'self' with non-sendable type 'Controller?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ///
110 | /// To make an anology with real world devices: this class can be compared to a BlackMagicDesign Control Panel. It is used to control a production switcher.
111 | public class Controller {
| `- note: class 'Controller' does not conform to the 'Sendable' protocol
112 |
113 | let eventLoop: EventLoopGroup
:
157 |
158 | channel.whenSuccess {[weak self] channel in
159 | channel.closeFuture.whenComplete {[weak self] close in
| `- warning: capture of 'self' with non-sendable type 'Controller?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
160 | if let controller = self {
161 | if case .failure(let error) = close {
/host/spi-builder-workspace/Sources/Atem/Controller.swift:160:25: warning: capture of 'self' with non-sendable type 'Controller?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ///
110 | /// To make an anology with real world devices: this class can be compared to a BlackMagicDesign Control Panel. It is used to control a production switcher.
111 | public class Controller {
| `- note: class 'Controller' does not conform to the 'Sendable' protocol
112 |
113 | let eventLoop: EventLoopGroup
:
158 | channel.whenSuccess {[weak self] channel in
159 | channel.closeFuture.whenComplete {[weak self] close in
160 | if let controller = self {
| `- warning: capture of 'self' with non-sendable type 'Controller?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 | if case .failure(let error) = close {
162 | controller.handler.whenError(error)
/host/spi-builder-workspace/Sources/Atem/Controller.swift:208:5: warning: capture of 'self' with non-sendable type 'Controller' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ///
110 | /// To make an anology with real world devices: this class can be compared to a BlackMagicDesign Control Panel. It is used to control a production switcher.
111 | public class Controller {
| `- note: class 'Controller' does not conform to the 'Sendable' protocol
112 |
113 | let eventLoop: EventLoopGroup
:
206 | if let channel = channel {
207 | channel.eventLoop.execute {
208 | self.handler.send(message)
| `- warning: capture of 'self' with non-sendable type 'Controller' in a `@Sendable` closure; this is an error in the Swift 6 language mode
209 | }
210 | } else {
BUILD FAILURE 6.0 linux