The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of swift-cluster-membership, reference main (a297d7), with Swift 6.1 for Linux on 30 Jul 2025 10:49:04 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-cluster-membership.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/apple/swift-cluster-membership
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a297d76 Enable release mode builds (#121)
Cloned https://github.com/apple/swift-cluster-membership.git
Revision (git rev-parse @):
a297d7621bd305676e40fd8fc2c4548777cd40cc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-cluster-membership.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/apple/swift-cluster-membership.git
https://github.com/apple/swift-cluster-membership.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.19.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.8.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    },
    {
      "identity" : "swift-nio-extras",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-extras.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-metrics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-metrics.git"
    }
  ],
  "manifest_display_name" : "swift-cluster-membership",
  "name" : "swift-cluster-membership",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "ClusterMembership",
      "targets" : [
        "ClusterMembership"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SWIM",
      "targets" : [
        "SWIM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SWIMNIOExample",
      "targets" : [
        "SWIMNIOExample"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SWIMTests",
      "module_type" : "SwiftTarget",
      "name" : "SWIMTests",
      "path" : "Tests/SWIMTests",
      "sources" : [
        "HeapTests.swift",
        "SWIMInstanceTests.swift",
        "SWIMMetricsTests.swift",
        "SWIMSettingsTests.swift",
        "TestPeer.swift"
      ],
      "target_dependencies" : [
        "SWIM",
        "SWIMTestKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SWIMTestKit",
      "module_type" : "SwiftTarget",
      "name" : "SWIMTestKit",
      "path" : "Tests/SWIMTestKit",
      "product_dependencies" : [
        "NIO",
        "Logging",
        "Metrics"
      ],
      "sources" : [
        "LogCapture.swift",
        "TestMetrics.swift"
      ],
      "target_dependencies" : [
        "SWIM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SWIMNIOExampleTests",
      "module_type" : "SwiftTarget",
      "name" : "SWIMNIOExampleTests",
      "path" : "Tests/SWIMNIOExampleTests",
      "sources" : [
        "CodingTests.swift",
        "SWIMNIOClusteredTests.swift",
        "SWIMNIOEventClusteredTests.swift",
        "SWIMNIOMetricsTests.swift",
        "Utils/BaseXCTestCases.swift"
      ],
      "target_dependencies" : [
        "SWIMNIOExample",
        "SWIMTestKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SWIMNIOExample",
      "module_type" : "SwiftTarget",
      "name" : "SWIMNIOExample",
      "path" : "Sources/SWIMNIOExample",
      "product_dependencies" : [
        "NIO",
        "NIOFoundationCompat",
        "NIOConcurrencyHelpers",
        "NIOExtras",
        "Logging",
        "Metrics"
      ],
      "product_memberships" : [
        "SWIMNIOExample"
      ],
      "sources" : [
        "Coding.swift",
        "Logging.swift",
        "Message.swift",
        "NIOPeer.swift",
        "SWIMNIOHandler.swift",
        "SWIMNIOShell.swift",
        "Settings.swift",
        "Utils/String+Extensions.swift",
        "Utils/time.swift"
      ],
      "target_dependencies" : [
        "SWIM"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SWIM",
      "module_type" : "SwiftTarget",
      "name" : "SWIM",
      "path" : "Sources/SWIM",
      "product_dependencies" : [
        "Logging",
        "Metrics"
      ],
      "product_memberships" : [
        "SWIM",
        "SWIMNIOExample"
      ],
      "sources" : [
        "Events.swift",
        "Member.swift",
        "Metrics.swift",
        "Peer.swift",
        "SWIM.swift",
        "SWIMInstance.swift",
        "SWIMProtocol.swift",
        "Settings.swift",
        "Status.swift",
        "Utils/Heap.swift",
        "Utils/String+Extensions.swift",
        "Utils/_PrettyLog.swift",
        "Utils/time.swift"
      ],
      "target_dependencies" : [
        "ClusterMembership"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ClusterMembershipTests",
      "module_type" : "SwiftTarget",
      "name" : "ClusterMembershipTests",
      "path" : "Tests/ClusterMembershipTests",
      "sources" : [
        "NodeTests.swift"
      ],
      "target_dependencies" : [
        "ClusterMembership"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ClusterMembershipDocumentationTests",
      "module_type" : "SwiftTarget",
      "name" : "ClusterMembershipDocumentationTests",
      "path" : "Tests/ClusterMembershipDocumentationTests",
      "sources" : [
        "SWIMDocExamples.swift"
      ],
      "target_dependencies" : [
        "SWIM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ClusterMembership",
      "module_type" : "SwiftTarget",
      "name" : "ClusterMembership",
      "path" : "Sources/ClusterMembership",
      "product_memberships" : [
        "ClusterMembership",
        "SWIM",
        "SWIMNIOExample"
      ],
      "sources" : [
        "Node.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/2219] Fetching swift-metrics
[2220/8342] Fetching swift-metrics, swift-nio-extras
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-metrics.git from cache (0.97s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.04s)
[1/3880] Fetching swift-log
[3687/18865] Fetching swift-log, swift-nio-ssl
[5680/95934] Fetching swift-log, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.73s)
[4711/92054] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (6.55s)
Fetched https://github.com/apple/swift-nio.git from cache (6.61s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (8.12s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.64s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.61s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
[1/2433] Fetching swift-service-lifecycle
[50/4062] Fetching swift-service-lifecycle, swift-asn1
[1701/9057] Fetching swift-service-lifecycle, swift-asn1, swift-async-algorithms
[5013/10865] Fetching swift-service-lifecycle, swift-asn1, swift-async-algorithms, swift-atomics
[6613/16824] Fetching swift-service-lifecycle, swift-asn1, swift-async-algorithms, swift-atomics, swift-algorithms
[7130/23248] Fetching swift-service-lifecycle, swift-asn1, swift-async-algorithms, swift-atomics, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.52s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-asn1.git from cache (0.66s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.67s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.67s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.67s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.67s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/1176] Fetching swift-http-structured-headers
[1177/2093] Fetching swift-http-structured-headers, swift-http-types
[2094/13754] Fetching swift-http-structured-headers, swift-http-types, swift-nio-http2
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.53s)
[1267/12578] Fetching swift-http-types, swift-nio-http2
Fetched https://github.com/apple/swift-http-types.git from cache (0.46s)
[1983/11661] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.18s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (2.36s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.58s)
Fetching https://github.com/apple/swift-collections.git
[1/16916] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.13s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.71s)
Fetching https://github.com/apple/swift-numerics.git
[1/5769] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.97s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.53s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.11.0 (0.54s)
Fetching https://github.com/apple/swift-crypto.git
[1/15888] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.71s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (2.30s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.48s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.52s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (0.63s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.85.0 (0.76s)
Fetching https://github.com/apple/swift-system.git
[1/4776] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.13.2 (2.26s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.1 (0.62s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.84s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.48s)
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
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.29.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.11.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.13.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.33.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.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.38.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.85.0
Building for debugging...
[0/33] Write sources
[18/33] Compiling CNIODarwin shim.c
[19/33] Compiling CNIOWindows shim.c
[19/33] Compiling CNIOWASI CNIOWASI.c
[21/33] Compiling _AtomicsShims.c
[22/33] Compiling CNIOWindows WSAStartup.c
[23/33] Compiling CNIOLinux liburing_shims.c
[24/33] Compiling CNIOPosix event_loop_id.c
[25/33] Write sources
[26/33] Compiling CNIOLLHTTP c_nio_http.c
[27/33] Compiling CNIOLLHTTP c_nio_api.c
[28/33] Compiling CNIOLinux shim.c
[29/33] Compiling CNIOLLHTTP c_nio_llhttp.c
[30/33] Write swift-version-24593BA9C3E375BF.txt
[31/33] Compiling c-nioatomics.c
[33/81] Emitting module _NIOBase64
[33/81] Compiling c-atomics.c
[35/87] Emitting module Atomics
[36/89] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[37/90] Compiling Atomics AtomicMemoryOrderings.swift
[38/90] Compiling Atomics DoubleWord.swift
[39/90] Compiling CoreMetrics Metrics.swift
[40/90] Compiling Atomics IntegerOperations.swift
[41/90] Compiling Atomics Unmanaged extensions.swift
[42/90] Compiling Atomics OptionalRawRepresentable.swift
[43/90] Compiling Atomics RawRepresentable.swift
[44/90] Compiling Atomics AtomicBool.swift
[45/90] Compiling Atomics UnsafeAtomic.swift
[46/90] Compiling Atomics UnsafeAtomicLazyReference.swift
[47/90] Compiling Atomics AtomicOptionalWrappable.swift
[48/90] Compiling Atomics AtomicReference.swift
[49/90] Compiling Atomics Primitives.native.swift
[50/90] Compiling Atomics AtomicStorage.swift
[52/90] Compiling Atomics AtomicValue.swift
[53/90] Compiling Atomics ManagedAtomic.swift
[54/90] Compiling Atomics ManagedAtomicLazyReference.swift
[57/90] Compiling _NIOBase64 Base64.swift
[59/91] Compiling Atomics AtomicInteger.swift
[60/91] Emitting module InternalCollectionsUtilities
[63/91] Compiling Atomics IntegerConformances.swift
[64/91] Compiling Atomics PointerConformances.swift
[68/91] Compiling _NIODataStructures PriorityQueue.swift
[69/91] Compiling _NIODataStructures _TinyArray.swift
[70/91] Emitting module ClusterMembership
[71/91] Compiling ClusterMembership Node.swift
[72/92] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[73/92] Emitting module NIOConcurrencyHelpers
[81/109] Compiling DequeModule Deque+CustomReflectable.swift
[82/109] Compiling DequeModule Deque+Descriptions.swift
[83/109] Compiling DequeModule Deque+Equatable.swift
[84/109] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[85/111] Compiling DequeModule _DequeBuffer.swift
[86/111] Compiling DequeModule _DequeBufferHeader.swift
[87/111] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[88/111] Compiling Logging Locks.swift
[89/111] Compiling Logging MetadataProvider.swift
[90/111] Compiling DequeModule Deque+Extras.swift
[91/111] Compiling DequeModule Deque+Hashable.swift
[92/111] Compiling DequeModule Deque+Testing.swift
[93/111] Compiling DequeModule Deque._Storage.swift
[94/111] Compiling NIOConcurrencyHelpers lock.swift
[95/111] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[96/111] Compiling NIOConcurrencyHelpers NIOLock.swift
[97/111] Compiling NIOConcurrencyHelpers atomics.swift
[98/112] Compiling _NIODataStructures Heap.swift
[99/112] Emitting module _NIODataStructures
[100/112] Compiling Logging LogHandler.swift
[101/113] Compiling Logging Logging.swift
[102/113] Emitting module CoreMetrics
[103/113] Compiling CoreMetrics Locks.swift
[104/113] Emitting module Logging
[109/115] Compiling DequeModule _DequeSlot.swift
[110/115] Compiling DequeModule _UnsafeWrappedBuffer.swift
[111/117] Compiling DequeModule Deque._UnsafeHandle.swift
[112/117] Compiling DequeModule Deque.swift
[113/117] Compiling DequeModule Deque+Codable.swift
[114/117] Compiling DequeModule Deque+Collection.swift
[115/117] Emitting module DequeModule
[117/179] Emitting module Metrics
[118/179] Compiling NIOCore NIOAny.swift
[119/179] Compiling NIOCore NIOCloseOnErrorHandler.swift
[120/179] Compiling NIOCore NIOCoreSendableMetatype.swift
[121/179] Compiling NIOCore NIOLoopBound.swift
[122/179] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[123/179] Compiling NIOCore NIOScheduledCallback.swift
[124/179] Compiling NIOCore NIOSendable.swift
[125/179] Compiling NIOCore RecvByteBufferAllocator.swift
[126/187] Compiling NIOCore IOData.swift
[127/187] Compiling NIOCore IPProtocol.swift
[128/187] Compiling NIOCore IntegerBitPacking.swift
[129/187] Compiling NIOCore IntegerTypes.swift
[130/187] Compiling NIOCore Interfaces.swift
[131/187] Compiling NIOCore Linux.swift
[132/187] Compiling NIOCore MarkedCircularBuffer.swift
[133/187] Compiling NIOCore MulticastChannel.swift
[134/187] Compiling Metrics Metrics.swift
[135/188] Compiling NIOCore EventLoopFuture+Deprecated.swift
[136/188] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[137/188] Compiling NIOCore EventLoopFuture.swift
[138/188] Compiling NIOCore FileDescriptor.swift
[139/188] Compiling NIOCore FileHandle.swift
[140/188] Compiling NIOCore FileRegion.swift
[141/188] Compiling NIOCore GlobalSingletons.swift
[142/188] Compiling NIOCore IO.swift
[144/201] Compiling SWIM Events.swift
[145/201] Compiling SWIM Member.swift
[146/202] Compiling SWIM Metrics.swift
[147/202] Compiling SWIM Peer.swift
[148/202] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[149/202] Compiling NIOCore SocketAddresses.swift
[150/202] Compiling NIOCore SocketOptionProvider.swift
[151/202] Compiling NIOCore SystemCallHelpers.swift
[152/202] Compiling NIOCore TimeAmount+Duration.swift
[153/202] Compiling NIOCore TypeAssistedChannelHandler.swift
[154/202] Compiling NIOCore UniversalBootstrapSupport.swift
[155/202] Compiling NIOCore Utilities.swift
[156/202] Emitting module SWIM
[157/202] Compiling SWIM String+Extensions.swift
[158/202] Compiling SWIM _PrettyLog.swift
[159/202] Compiling SWIM time.swift
[160/202] Compiling SWIM Status.swift
[161/202] Compiling SWIM Heap.swift
[162/202] Compiling SWIM SWIMProtocol.swift
[163/202] Compiling SWIM Settings.swift
[164/202] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[165/202] Compiling NIOCore BSDSocketAPI.swift
[166/202] Compiling NIOCore ByteBuffer-aux.swift
[167/202] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[168/202] Compiling NIOCore ByteBuffer-conversions.swift
[169/202] Compiling NIOCore ByteBuffer-core.swift
[170/202] Compiling NIOCore ByteBuffer-hex.swift
[171/202] Compiling NIOCore ByteBuffer-int.swift
[172/202] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[173/202] Compiling NIOCore CircularBuffer.swift
[174/202] Compiling NIOCore Codec.swift
[175/202] Compiling NIOCore ConvenienceOptionSupport.swift
[176/202] Compiling NIOCore DeadChannel.swift
[177/202] Compiling NIOCore DispatchQueue+WithFuture.swift
[178/202] Compiling NIOCore EventLoop+Deprecated.swift
[179/202] Compiling NIOCore EventLoop+SerialExecutor.swift
[180/202] Compiling NIOCore EventLoop.swift
[181/202] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[182/202] Compiling SWIM SWIM.swift
[183/202] Compiling SWIM SWIMInstance.swift
[195/203] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[196/203] Compiling NIOCore ByteBuffer-views.swift
[197/203] Compiling NIOCore Channel.swift
[198/203] Compiling NIOCore ChannelHandler.swift
[199/203] Compiling NIOCore ChannelHandlers.swift
[200/203] Compiling NIOCore ChannelInvoker.swift
[201/203] Compiling NIOCore ChannelOption.swift
[202/203] Compiling NIOCore ChannelPipeline.swift
[203/203] Emitting module NIOCore
[205/256] Emitting module NIOEmbedded
[206/256] Compiling NIOEmbedded AsyncTestingChannel.swift
[207/256] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[208/256] Compiling NIOEmbedded Embedded.swift
[210/257] Compiling NIOPosix IO.swift
[211/257] Compiling NIOPosix IntegerBitPacking.swift
[212/257] Compiling NIOPosix IntegerTypes.swift
[213/257] Compiling NIOPosix Linux.swift
[214/257] Compiling NIOPosix LinuxCPUSet.swift
[215/257] Compiling NIOPosix LinuxUring.swift
[216/257] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[217/263] Emitting module NIOPosix
[218/263] Compiling NIOPosix ThreadPosix.swift
[219/263] Compiling NIOPosix ThreadWindows.swift
[220/263] Compiling NIOPosix UnsafeTransfer.swift
[221/263] Compiling NIOPosix Utilities.swift
[222/263] Compiling NIOPosix VsockAddress.swift
[223/263] Compiling NIOPosix VsockChannelEvents.swift
[224/263] Compiling NIOPosix Socket.swift
[225/263] Compiling NIOPosix SocketChannel.swift
[226/263] Compiling NIOPosix SocketProtocols.swift
[227/263] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[228/263] Compiling NIOPosix System.swift
[229/263] Compiling NIOPosix Thread.swift
[230/263] Compiling NIOPosix SelectableEventLoop.swift
[231/263] Compiling NIOPosix SelectorEpoll.swift
[232/263] Compiling NIOPosix SelectorGeneric.swift
[233/263] Compiling NIOPosix SelectorKqueue.swift
[234/263] Compiling NIOPosix SelectorUring.swift
[235/263] Compiling NIOPosix ServerSocket.swift
[236/263] Compiling NIOPosix Pool.swift
[237/263] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[238/263] Compiling NIOPosix PosixSingletons.swift
[239/263] Compiling NIOPosix RawSocketBootstrap.swift
[240/263] Compiling NIOPosix Resolver.swift
[241/263] Compiling NIOPosix Selectable.swift
[242/263] Compiling NIOPosix SelectableChannel.swift
[243/263] Compiling NIOPosix BSDSocketAPICommon.swift
[244/263] Compiling NIOPosix BSDSocketAPIPosix.swift
[245/263] Compiling NIOPosix BSDSocketAPIWindows.swift
[246/263] Compiling NIOPosix BaseSocket.swift
[247/263] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[248/263] Compiling NIOPosix BaseSocketChannel.swift
[249/263] Compiling NIOPosix BaseStreamSocketChannel.swift
[250/263] Compiling NIOPosix Bootstrap.swift
[251/263] Compiling NIOPosix ControlMessage.swift
[252/263] Compiling NIOPosix DatagramVectorReadManager.swift
[253/263] Compiling NIOPosix Errors+Any.swift
[254/263] Compiling NIOPosix FileDescriptor.swift
[255/263] Compiling NIOPosix GetaddrinfoResolver.swift
[256/263] Compiling NIOPosix HappyEyeballs.swift
[257/263] Compiling NIOPosix NIOPosixSendableMetatype.swift
[258/263] Compiling NIOPosix NIOThreadPool.swift
[259/263] Compiling NIOPosix NonBlockingFileIO.swift
[260/263] Compiling NIOPosix PendingDatagramWritesManager.swift
[261/263] Compiling NIOPosix PendingWritesManager.swift
[262/263] Compiling NIOPosix PipeChannel.swift
[263/263] Compiling NIOPosix PipePair.swift
[265/266] Emitting module NIO
[266/266] Compiling NIO Exports.swift
[268/288] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[269/288] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[270/288] Emitting module NIOFoundationCompat
[271/288] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[272/288] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[273/289] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[274/289] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[276/291] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[277/291] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[278/291] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[279/291] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[280/291] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[281/291] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[282/291] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[283/291] Compiling NIOHTTP1 HTTPTypes.swift
[284/291] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[285/291] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[286/291] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[287/291] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[288/291] Emitting module NIOHTTP1
[289/291] Compiling NIOHTTP1 ByteCollectionUtils.swift
[290/291] Compiling NIOHTTP1 HTTPDecoder.swift
[291/291] Compiling NIOHTTP1 HTTPEncoder.swift
[293/310] Compiling NIOExtras MarkedCircularBuffer+PopFirstCheckMarked.swift
[294/310] Compiling NIOExtras NIOExtrasError.swift
[295/312] Compiling NIOExtras RequestResponseHandler.swift
[296/312] Compiling NIOExtras RequestResponseHandlers+State.swift
[297/312] Compiling NIOExtras NIOLengthFieldBitLength.swift
[298/312] Compiling NIOExtras NIORequestIdentifiable.swift
[299/312] Compiling NIOExtras PCAPRingBuffer.swift
[300/312] Compiling NIOExtras QuiescingHelper.swift
[301/312] Emitting module NIOExtras
[302/312] Compiling NIOExtras DebugInboundEventsHandler.swift
[303/312] Compiling NIOExtras DebugOutboundEventsHandler.swift
[304/312] Compiling NIOExtras FixedLengthFrameDecoder.swift
[305/312] Compiling NIOExtras HTTP1ProxyConnectHandler.swift
[306/312] Compiling NIOExtras JSONRPCFraming+ContentLengthHeader.swift
[307/312] Compiling NIOExtras JSONRPCFraming.swift
[308/312] Compiling NIOExtras LengthFieldBasedFrameDecoder.swift
[309/312] Compiling NIOExtras LengthFieldPrepender.swift
[310/312] Compiling NIOExtras LineBasedFrameDecoder.swift
[311/312] Compiling NIOExtras RequestResponseWithIDHandler.swift
[312/312] Compiling NIOExtras WritePCAPHandler.swift
[314/322] Compiling SWIMNIOExample String+Extensions.swift
[315/322] Compiling SWIMNIOExample Settings.swift
[316/323] Emitting module SWIMNIOExample
/host/spi-builder-workspace/Sources/SWIMNIOExample/Coding.swift:115:12: warning: non-sendable parameter type 'any Decoder' cannot be sent from caller of protocol requirement 'init(from:)' into nonisolated implementation; this is an error in the Swift 6 language mode
113 |
114 | extension SWIM.NIOPeer: Codable {
115 |     public init(from decoder: Decoder) throws {
    |            `- warning: non-sendable parameter type 'any Decoder' cannot be sent from caller of protocol requirement 'init(from:)' into nonisolated implementation; this is an error in the Swift 6 language mode
116 |         let container = try decoder.singleValueContainer()
117 |         let node = try container.decode(Node.self)
Swift.Decoder:1:17: note: protocol 'Decoder' does not conform to the 'Sendable' protocol
1 | public protocol Decoder {
  |                 `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
2 |     var codingPath: [any CodingKey] { get }
3 |     var userInfo: [CodingUserInfoKey : Any] { get }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:75:35: warning: capture of 'self' with non-sendable type 'SWIMNIOHandler' in a '@Sendable' closure
 32 | /// It is designed to work with `DatagramBootstrap`s, and the contained shell can send messages by writing `SWIMNIOSWIMNIOWriteCommand`
 33 | /// data into the channel which this handler converts into outbound `AddressedEnvelope<ByteBuffer>` elements.
 34 | public final class SWIMNIOHandler: ChannelDuplexHandler {
    |                    `- note: class 'SWIMNIOHandler' does not conform to the 'Sendable' protocol
 35 |     public typealias InboundIn = AddressedEnvelope<ByteBuffer>
 36 |     public typealias InboundOut = SWIM.MemberStatusChangedEvent<SWIM.NIOPeer>
    :
 73 |             onMemberStatusChange: { change in
 74 |                 context.eventLoop.execute {
 75 |                     let wrapped = self.wrapInboundOut(change)
    |                                   `- warning: capture of 'self' with non-sendable type 'SWIMNIOHandler' in a '@Sendable' closure
 76 |                     context.fireChannelRead(wrapped)
 77 |                 }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:75:55: warning: capture of 'change' with non-sendable type 'SWIM.MemberStatusChangedEvent<SWIM.NIOPeer>' in a '@Sendable' closure
 73 |             onMemberStatusChange: { change in
 74 |                 context.eventLoop.execute {
 75 |                     let wrapped = self.wrapInboundOut(change)
    |                                                       `- warning: capture of 'change' with non-sendable type 'SWIM.MemberStatusChangedEvent<SWIM.NIOPeer>' in a '@Sendable' closure
 76 |                     context.fireChannelRead(wrapped)
 77 |                 }
/host/spi-builder-workspace/Sources/SWIM/Events.swift:22:19: note: generic struct 'MemberStatusChangedEvent' does not conform to the 'Sendable' protocol
 20 |     /// Use `isReachabilityChange` to detect whether the is a change from an alive to unreachable/dead state or not,
 21 |     /// and is worth emitting to user-code or not.
 22 |     public struct MemberStatusChangedEvent<Peer: SWIMPeer>: Equatable {
    |                   `- note: generic struct 'MemberStatusChangedEvent' does not conform to the 'Sendable' protocol
 23 |         /// The member that this change event is about.
 24 |         public let member: SWIM.Member<Peer>
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SWIM'
 18 | import NIO
 19 | import NIOFoundationCompat
 20 | import SWIM
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SWIM'
 21 |
 22 | import struct Dispatch.DispatchTime
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:76:21: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
 74 |                 context.eventLoop.execute {
 75 |                     let wrapped = self.wrapInboundOut(change)
 76 |                     context.fireChannelRead(wrapped)
    |                     `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
 77 |                 }
 78 |             }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1792:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1790 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1791 | /// `ChannelHandler`.
1792 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1793 |     // visible for ChannelPipeline to modify
1794 |     fileprivate var next: Optional<ChannelHandlerContext>
[317/323] Compiling SWIMNIOExample Coding.swift
/host/spi-builder-workspace/Sources/SWIMNIOExample/Coding.swift:115:12: warning: non-sendable parameter type 'any Decoder' cannot be sent from caller of protocol requirement 'init(from:)' into nonisolated implementation; this is an error in the Swift 6 language mode
113 |
114 | extension SWIM.NIOPeer: Codable {
115 |     public init(from decoder: Decoder) throws {
    |            `- warning: non-sendable parameter type 'any Decoder' cannot be sent from caller of protocol requirement 'init(from:)' into nonisolated implementation; this is an error in the Swift 6 language mode
116 |         let container = try decoder.singleValueContainer()
117 |         let node = try container.decode(Node.self)
Swift.Decoder:1:17: note: protocol 'Decoder' does not conform to the 'Sendable' protocol
1 | public protocol Decoder {
  |                 `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
2 |     var codingPath: [any CodingKey] { get }
3 |     var userInfo: [CodingUserInfoKey : Any] { get }
[318/323] Compiling SWIMNIOExample Logging.swift
/host/spi-builder-workspace/Sources/SWIMNIOExample/Coding.swift:115:12: warning: non-sendable parameter type 'any Decoder' cannot be sent from caller of protocol requirement 'init(from:)' into nonisolated implementation; this is an error in the Swift 6 language mode
113 |
114 | extension SWIM.NIOPeer: Codable {
115 |     public init(from decoder: Decoder) throws {
    |            `- warning: non-sendable parameter type 'any Decoder' cannot be sent from caller of protocol requirement 'init(from:)' into nonisolated implementation; this is an error in the Swift 6 language mode
116 |         let container = try decoder.singleValueContainer()
117 |         let node = try container.decode(Node.self)
Swift.Decoder:1:17: note: protocol 'Decoder' does not conform to the 'Sendable' protocol
1 | public protocol Decoder {
  |                 `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
2 |     var codingPath: [any CodingKey] { get }
3 |     var userInfo: [CodingUserInfoKey : Any] { get }
[319/323] Compiling SWIMNIOExample Message.swift
[320/323] Compiling SWIMNIOExample SWIMNIOHandler.swift
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:75:35: warning: capture of 'self' with non-sendable type 'SWIMNIOHandler' in a '@Sendable' closure
 32 | /// It is designed to work with `DatagramBootstrap`s, and the contained shell can send messages by writing `SWIMNIOSWIMNIOWriteCommand`
 33 | /// data into the channel which this handler converts into outbound `AddressedEnvelope<ByteBuffer>` elements.
 34 | public final class SWIMNIOHandler: ChannelDuplexHandler {
    |                    `- note: class 'SWIMNIOHandler' does not conform to the 'Sendable' protocol
 35 |     public typealias InboundIn = AddressedEnvelope<ByteBuffer>
 36 |     public typealias InboundOut = SWIM.MemberStatusChangedEvent<SWIM.NIOPeer>
    :
 73 |             onMemberStatusChange: { change in
 74 |                 context.eventLoop.execute {
 75 |                     let wrapped = self.wrapInboundOut(change)
    |                                   `- warning: capture of 'self' with non-sendable type 'SWIMNIOHandler' in a '@Sendable' closure
 76 |                     context.fireChannelRead(wrapped)
 77 |                 }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:75:55: warning: capture of 'change' with non-sendable type 'SWIM.MemberStatusChangedEvent<SWIM.NIOPeer>' in a '@Sendable' closure
 73 |             onMemberStatusChange: { change in
 74 |                 context.eventLoop.execute {
 75 |                     let wrapped = self.wrapInboundOut(change)
    |                                                       `- warning: capture of 'change' with non-sendable type 'SWIM.MemberStatusChangedEvent<SWIM.NIOPeer>' in a '@Sendable' closure
 76 |                     context.fireChannelRead(wrapped)
 77 |                 }
/host/spi-builder-workspace/Sources/SWIM/Events.swift:22:19: note: generic struct 'MemberStatusChangedEvent' does not conform to the 'Sendable' protocol
 20 |     /// Use `isReachabilityChange` to detect whether the is a change from an alive to unreachable/dead state or not,
 21 |     /// and is worth emitting to user-code or not.
 22 |     public struct MemberStatusChangedEvent<Peer: SWIMPeer>: Equatable {
    |                   `- note: generic struct 'MemberStatusChangedEvent' does not conform to the 'Sendable' protocol
 23 |         /// The member that this change event is about.
 24 |         public let member: SWIM.Member<Peer>
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SWIM'
 18 | import NIO
 19 | import NIOFoundationCompat
 20 | import SWIM
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SWIM'
 21 |
 22 | import struct Dispatch.DispatchTime
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:76:21: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
 74 |                 context.eventLoop.execute {
 75 |                     let wrapped = self.wrapInboundOut(change)
 76 |                     context.fireChannelRead(wrapped)
    |                     `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
 77 |                 }
 78 |             }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1792:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1790 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1791 | /// `ChannelHandler`.
1792 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1793 |     // visible for ChannelPipeline to modify
1794 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:130:39: warning: capture of 'self' with non-sendable type 'SWIMNIOHandler' in a '@Sendable' closure
 32 | /// It is designed to work with `DatagramBootstrap`s, and the contained shell can send messages by writing `SWIMNIOSWIMNIOWriteCommand`
 33 | /// data into the channel which this handler converts into outbound `AddressedEnvelope<ByteBuffer>` elements.
 34 | public final class SWIMNIOHandler: ChannelDuplexHandler {
    |                    `- note: class 'SWIMNIOHandler' does not conform to the 'Sendable' protocol
 35 |     public typealias InboundIn = AddressedEnvelope<ByteBuffer>
 36 |     public typealias InboundOut = SWIM.MemberStatusChangedEvent<SWIM.NIOPeer>
    :
128 |
129 |                 let timeoutTask = context.eventLoop.scheduleTask(in: writeCommand.replyTimeout) {
130 |                     if let callback = self.pendingReplyCallbacks.removeValue(forKey: callbackKey) {
    |                                       `- warning: capture of 'self' with non-sendable type 'SWIMNIOHandler' in a '@Sendable' closure
131 |                         callback(
132 |                             .failure(
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:130:86: warning: capture of 'callbackKey' with non-sendable type 'PendingResponseCallbackIdentifier' in a '@Sendable' closure
128 |
129 |                 let timeoutTask = context.eventLoop.scheduleTask(in: writeCommand.replyTimeout) {
130 |                     if let callback = self.pendingReplyCallbacks.removeValue(forKey: callbackKey) {
    |                                                                                      `- warning: capture of 'callbackKey' with non-sendable type 'PendingResponseCallbackIdentifier' in a '@Sendable' closure
131 |                         callback(
132 |                             .failure(
    :
320 |
321 | // TODO: move callbacks into the shell?
322 | struct PendingResponseCallbackIdentifier: Hashable, CustomStringConvertible {
    |        `- note: consider making struct 'PendingResponseCallbackIdentifier' conform to the 'Sendable' protocol
323 |     let peerAddress: SocketAddress  // FIXME: UID as well...?
324 |     let sequenceNumber: SWIM.SequenceNumber
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:134:46: warning: capture of 'writeCommand' with non-sendable type 'SWIMNIOHandler.OutboundIn' (aka 'SWIMNIOWriteCommand') in a '@Sendable' closure
132 |                             .failure(
133 |                                 SWIMNIOTimeoutError(
134 |                                     timeout: writeCommand.replyTimeout,
    |                                              `- warning: capture of 'writeCommand' with non-sendable type 'SWIMNIOHandler.OutboundIn' (aka 'SWIMNIOWriteCommand') in a '@Sendable' closure
135 |                                     message:
136 |                                         "Timeout of [\(callbackKey)], no reply to [\(writeCommand.message.messageCaseDescription)] after \(writeCommand.replyTimeout.prettyDescription())"
    :
291 | /// and install a reply handler for the specific sequence number associated with the message (along with a timeout)
292 | /// when a callback is provided.
293 | public struct SWIMNIOWriteCommand {
    |               `- note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
294 |     /// SWIM message to be written.
295 |     public let message: SWIM.Message
[321/323] Compiling SWIMNIOExample NIOPeer.swift
/host/spi-builder-workspace/Sources/SWIMNIOExample/Coding.swift:115:12: warning: non-sendable parameter type 'any Decoder' cannot be sent from caller of protocol requirement 'init(from:)' into nonisolated implementation; this is an error in the Swift 6 language mode
113 |
114 | extension SWIM.NIOPeer: Codable {
115 |     public init(from decoder: Decoder) throws {
    |            `- warning: non-sendable parameter type 'any Decoder' cannot be sent from caller of protocol requirement 'init(from:)' into nonisolated implementation; this is an error in the Swift 6 language mode
116 |         let container = try decoder.singleValueContainer()
117 |         let node = try container.decode(Node.self)
Swift.Decoder:1:17: note: protocol 'Decoder' does not conform to the 'Sendable' protocol
1 | public protocol Decoder {
  |                 `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
2 |     var codingPath: [any CodingKey] { get }
3 |     var userInfo: [CodingUserInfoKey : Any] { get }
/host/spi-builder-workspace/Sources/SWIMNIOExample/NIOPeer.swift:78:30: warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
 76 |                 )
 77 |
 78 |                 self.channel.writeAndFlush(command, promise: nil)
    |                              `- warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
 79 |             }
 80 |         }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:293:15: note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
291 | /// and install a reply handler for the specific sequence number associated with the message (along with a timeout)
292 | /// when a callback is provided.
293 | public struct SWIMNIOWriteCommand {
    |               `- note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
294 |     /// SWIM message to be written.
295 |     public let message: SWIM.Message
/host/spi-builder-workspace/Sources/SWIMNIOExample/NIOPeer.swift:122:30: warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
120 |                 )
121 |
122 |                 self.channel.writeAndFlush(command, promise: nil)
    |                              `- warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
123 |             }
124 |         }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:293:15: note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
291 | /// and install a reply handler for the specific sequence number associated with the message (along with a timeout)
292 | /// when a callback is provided.
293 | public struct SWIMNIOWriteCommand {
    |               `- note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
294 |     /// SWIM message to be written.
295 |     public let message: SWIM.Message
/host/spi-builder-workspace/Sources/SWIMNIOExample/NIOPeer.swift:142:26: warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
140 |             )
141 |
142 |             self.channel.writeAndFlush(command, promise: nil)
    |                          `- warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
143 |         }
144 |
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:293:15: note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
291 | /// and install a reply handler for the specific sequence number associated with the message (along with a timeout)
292 | /// when a callback is provided.
293 | public struct SWIMNIOWriteCommand {
    |               `- note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
294 |     /// SWIM message to be written.
295 |     public let message: SWIM.Message
/host/spi-builder-workspace/Sources/SWIMNIOExample/NIOPeer.swift:157:26: warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
155 |             )
156 |
157 |             self.channel.writeAndFlush(command, promise: nil)
    |                          `- warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
158 |         }
159 |
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:293:15: note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
291 | /// and install a reply handler for the specific sequence number associated with the message (along with a timeout)
292 | /// when a callback is provided.
293 | public struct SWIMNIOWriteCommand {
    |               `- note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
294 |     /// SWIM message to be written.
295 |     public let message: SWIM.Message
[322/323] Compiling SWIMNIOExample SWIMNIOShell.swift
/host/spi-builder-workspace/Sources/SWIMNIOExample/Coding.swift:115:12: warning: non-sendable parameter type 'any Decoder' cannot be sent from caller of protocol requirement 'init(from:)' into nonisolated implementation; this is an error in the Swift 6 language mode
113 |
114 | extension SWIM.NIOPeer: Codable {
115 |     public init(from decoder: Decoder) throws {
    |            `- warning: non-sendable parameter type 'any Decoder' cannot be sent from caller of protocol requirement 'init(from:)' into nonisolated implementation; this is an error in the Swift 6 language mode
116 |         let container = try decoder.singleValueContainer()
117 |         let node = try container.decode(Node.self)
Swift.Decoder:1:17: note: protocol 'Decoder' does not conform to the 'Sendable' protocol
1 | public protocol Decoder {
  |                 `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
2 |     var codingPath: [any CodingKey] { get }
3 |     var userInfo: [CodingUserInfoKey : Any] { get }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:96:17: warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
 27 | ///
 28 | /// - SeeAlso: `SWIM.Instance` for detailed documentation about the SWIM protocol implementation.
 29 | public final class SWIMNIOShell {
    |                    `- note: class 'SWIMNIOShell' does not conform to the 'Sendable' protocol
 30 |     var swim: SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>!
 31 |
    :
 94 |         guard self.eventLoop.inEventLoop else {
 95 |             return self.eventLoop.execute {
 96 |                 self.receiveShutdown()
    |                 `- warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
 97 |             }
 98 |         }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:115:95: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
113 |         self.eventLoop.assertInEventLoop()
114 |
115 |         let scheduled: Scheduled<Void> = self.eventLoop.scheduleTask(in: delay.toNIO) { () in task() }
    |                                                                                               |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
    |                                                                                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
116 |         return SWIMCancellable { scheduled.cancel() }
117 |     }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:125:17: warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
 27 | ///
 28 | /// - SeeAlso: `SWIM.Instance` for detailed documentation about the SWIM protocol implementation.
 29 | public final class SWIMNIOShell {
    |                    `- note: class 'SWIMNIOShell' does not conform to the 'Sendable' protocol
 30 |     var swim: SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>!
 31 |
    :
123 |         guard self.eventLoop.inEventLoop else {
124 |             return self.eventLoop.execute {
125 |                 self.receiveMessage(message: message)
    |                 `- warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
126 |             }
127 |         }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:125:46: warning: capture of 'message' with non-sendable type 'SWIM.Message' in a '@Sendable' closure
123 |         guard self.eventLoop.inEventLoop else {
124 |             return self.eventLoop.execute {
125 |                 self.receiveMessage(message: message)
    |                                              `- warning: capture of 'message' with non-sendable type 'SWIM.Message' in a '@Sendable' closure
126 |             }
127 |         }
/host/spi-builder-workspace/Sources/SWIMNIOExample/Message.swift:21:17: note: consider making enum 'Message' conform to the 'Sendable' protocol
 19 |
 20 | extension SWIM {
 21 |     public enum Message {
    |                 `- note: consider making enum 'Message' conform to the 'Sendable' protocol
 22 |         case ping(replyTo: NIOPeer, payload: GossipPayload<NIOPeer>, sequenceNumber: SWIM.SequenceNumber)
 23 |
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:152:17: warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
 27 | ///
 28 | /// - SeeAlso: `SWIM.Instance` for detailed documentation about the SWIM protocol implementation.
 29 | public final class SWIMNIOShell {
    |                    `- note: class 'SWIMNIOShell' does not conform to the 'Sendable' protocol
 30 |     var swim: SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>!
 31 |
    :
150 |         guard self.eventLoop.inEventLoop else {
151 |             return self.eventLoop.execute {
152 |                 self.receiveLocalMessage(message: message)
    |                 `- warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
153 |             }
154 |         }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:152:51: warning: capture of 'message' with non-sendable type 'SWIM.LocalMessage' in a '@Sendable' closure
150 |         guard self.eventLoop.inEventLoop else {
151 |             return self.eventLoop.execute {
152 |                 self.receiveLocalMessage(message: message)
    |                                                   `- warning: capture of 'message' with non-sendable type 'SWIM.LocalMessage' in a '@Sendable' closure
153 |             }
154 |         }
/host/spi-builder-workspace/Sources/SWIMNIOExample/Message.swift:76:17: note: consider making enum 'LocalMessage' conform to the 'Sendable' protocol
 74 |     }
 75 |
 76 |     public enum LocalMessage {
    |                 `- note: consider making enum 'LocalMessage' conform to the 'Sendable' protocol
 77 |         /// Sent by `ClusterShell` when wanting to join a cluster node by `Node`.
 78 |         ///
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:174:17: warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
 27 | ///
 28 | /// - SeeAlso: `SWIM.Instance` for detailed documentation about the SWIM protocol implementation.
 29 | public final class SWIMNIOShell {
    |                    `- note: class 'SWIMNIOShell' does not conform to the 'Sendable' protocol
 30 |     var swim: SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>!
 31 |
    :
172 |         guard self.eventLoop.inEventLoop else {
173 |             return self.eventLoop.execute {
174 |                 self.receivePing(pingOrigin: pingOrigin, payload: payload, sequenceNumber: sequenceNumber)
    |                 `- warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
175 |             }
176 |         }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:219:17: warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
 27 | ///
 28 | /// - SeeAlso: `SWIM.Instance` for detailed documentation about the SWIM protocol implementation.
 29 | public final class SWIMNIOShell {
    |                    `- note: class 'SWIMNIOShell' does not conform to the 'Sendable' protocol
 30 |     var swim: SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>!
 31 |
    :
217 |         guard self.eventLoop.inEventLoop else {
218 |             return self.eventLoop.execute {
219 |                 self.receivePingRequest(
    |                 `- warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
220 |                     target: target,
221 |                     pingRequestOrigin: pingRequestOrigin,
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:279:17: warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
 27 | ///
 28 | /// - SeeAlso: `SWIM.Instance` for detailed documentation about the SWIM protocol implementation.
 29 | public final class SWIMNIOShell {
    |                    `- note: class 'SWIMNIOShell' does not conform to the 'Sendable' protocol
 30 |     var swim: SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>!
 31 |
    :
277 |         guard self.eventLoop.inEventLoop else {
278 |             return self.eventLoop.execute {
279 |                 self.receivePingResponse(
    |                 `- warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
280 |                     response: response,
281 |                     pingRequestOriginPeer: pingRequestOriginPeer,
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:337:17: warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
 27 | ///
 28 | /// - SeeAlso: `SWIM.Instance` for detailed documentation about the SWIM protocol implementation.
 29 | public final class SWIMNIOShell {
    |                    `- note: class 'SWIMNIOShell' does not conform to the 'Sendable' protocol
 30 |     var swim: SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>!
 31 |
    :
335 |         guard self.eventLoop.inEventLoop else {
336 |             return self.eventLoop.execute {
337 |                 self.receiveEveryPingRequestResponse(result: result, pingedPeer: pingedPeer)
    |                 `- warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
338 |             }
339 |         }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:357:17: warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
 27 | ///
 28 | /// - SeeAlso: `SWIM.Instance` for detailed documentation about the SWIM protocol implementation.
 29 | public final class SWIMNIOShell {
    |                    `- note: class 'SWIMNIOShell' does not conform to the 'Sendable' protocol
 30 |     var swim: SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>!
 31 |
    :
355 |         guard self.eventLoop.inEventLoop else {
356 |             return self.eventLoop.execute {
357 |                 self.receivePingRequestResponse(result: result, pingedPeer: pingedPeer)
    |                 `- warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
358 |             }
359 |         }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:546:17: warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
 27 | ///
 28 | /// - SeeAlso: `SWIM.Instance` for detailed documentation about the SWIM protocol implementation.
 29 | public final class SWIMNIOShell {
    |                    `- note: class 'SWIMNIOShell' does not conform to the 'Sendable' protocol
 30 |     var swim: SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>!
 31 |
    :
544 |             switch result {
545 |             case .success(let response):
546 |                 self.swim.metrics.shell.pingRequestResponseTimeFirst.recordInterval(
    |                 `- warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
547 |                     since: startedSendingPingRequestsSentAt
548 |                 )
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:553:50: warning: capture of 'directive' with non-sendable type 'SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>.SendPingRequestDirective' in a '@Sendable' closure
551 |             case .failure(let error):
552 |                 self.log.debug(
553 |                     "Failed to pingRequest via \(directive.requestDetails.count) peers",
    |                                                  `- warning: capture of 'directive' with non-sendable type 'SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>.SendPingRequestDirective' in a '@Sendable' closure
554 |                     metadata: ["pingRequest/target": "\(target)", "error": "\(error)"]
555 |                 )
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:1169:19: note: struct 'SendPingRequestDirective' does not conform to the 'Sendable' protocol
1167 |     /// Only a single `target` peer is used, however it may be pinged "through" a few other members.
1168 |     /// The amount of fan-out in pingRequests is configurable by `swim.indirectProbeCount`.
1169 |     public struct SendPingRequestDirective {
     |                   `- note: struct 'SendPingRequestDirective' does not conform to the 'Sendable' protocol
1170 |         /// Target that the should be probed by the `requestDetails.memberToPingRequestThrough` peers.
1171 |         public let target: Peer
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:19:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SWIM'
 17 | import Metrics
 18 | import NIO
 19 | import SWIM
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SWIM'
 20 |
 21 | import struct Dispatch.DispatchTime
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:553:50: warning: implicit capture of 'directive' requires that 'SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>.SendPingRequestDirective' conforms to 'Sendable'; this is an error in the Swift 6 language mode
551 |             case .failure(let error):
552 |                 self.log.debug(
553 |                     "Failed to pingRequest via \(directive.requestDetails.count) peers",
    |                                                  `- warning: implicit capture of 'directive' requires that 'SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>.SendPingRequestDirective' conforms to 'Sendable'; this is an error in the Swift 6 language mode
554 |                     metadata: ["pingRequest/target": "\(target)", "error": "\(error)"]
555 |                 )
/host/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:1169:19: note: struct 'SendPingRequestDirective' does not conform to the 'Sendable' protocol
1167 |     /// Only a single `target` peer is used, however it may be pinged "through" a few other members.
1168 |     /// The amount of fan-out in pingRequests is configurable by `swim.indirectProbeCount`.
1169 |     public struct SendPingRequestDirective {
     |                   `- note: struct 'SendPingRequestDirective' does not conform to the 'Sendable' protocol
1170 |         /// Target that the should be probed by the `requestDetails.memberToPingRequestThrough` peers.
1171 |         public let target: Peer
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:608:17: warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
 27 | ///
 28 | /// - SeeAlso: `SWIM.Instance` for detailed documentation about the SWIM protocol implementation.
 29 | public final class SWIMNIOShell {
    |                    `- note: class 'SWIMNIOShell' does not conform to the 'Sendable' protocol
 30 |     var swim: SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>!
 31 |
    :
606 |         guard self.eventLoop.inEventLoop else {
607 |             return self.eventLoop.execute {
608 |                 self.receiveStartMonitoring(node: node)
    |                 `- warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
609 |             }
610 |         }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:643:21: warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
 27 | ///
 28 | /// - SeeAlso: `SWIM.Instance` for detailed documentation about the SWIM protocol implementation.
 29 | public final class SWIMNIOShell {
    |                    `- note: class 'SWIMNIOShell' does not conform to the 'Sendable' protocol
 30 |     var swim: SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>!
 31 |
    :
641 |                 // TODO: implement via re-trying a few times and then giving up https://github.com/apple/swift-cluster-membership/issues/32
642 |                 self.eventLoop.scheduleTask(in: .seconds(5)) {
643 |                     self.log.info("(Re)-Attempt ping to initial contact point: \(node)")
    |                     `- warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a '@Sendable' closure
644 |                     self.receiveStartMonitoring(node: node)
645 |                 }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:584:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
582 |                     metadata: self.swim.metadata
583 |                 )
584 |                 Task {
    |                      `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
585 |                     await self.sendPing(
    |                           `- note: closure captures 'self' which is accessible to code in the current task
586 |                         to: target,
587 |                         payload: payload,
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:627:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
625 |             message: "ping(replyTo: \(self.peer), payload: .none, sequenceNr: \(sequenceNumber))"
626 |         )
627 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
628 |             do {
629 |                 let response = try await targetPeer.ping(
630 |                     payload: self.swim.makeGossipPayload(to: nil),
    |                              `- note: closure captures 'self' which is accessible to code in the current task
631 |                     from: self.peer,
632 |                     timeout: .seconds(1),
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:199:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
197 |             case .sendAck(let pingOrigin, let pingedTarget, let incarnation, let payload, let sequenceNumber):
198 |                 self.tracelog(.reply(to: pingOrigin), message: "\(directive)")
199 |                 Task {
    |                      `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
200 |                     await pingOrigin.peer(self.channel).ack(
    |                                           `- note: closure captures 'self' which is accessible to code in the current task
201 |                         acknowledging: sequenceNumber,
202 |                         target: pingedTarget,
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:257:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
255 |                 let sequenceNumber
256 |             ):
257 |                 Task {
    |                      `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
258 |                     await self.sendPing(
    |                           `- note: closure captures 'self' which is accessible to code in the current task
259 |                         to: target,
260 |                         payload: payload,
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:324:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
322 |
323 |             case .sendPingRequests(let pingRequestDirective):
324 |                 Task {
    |                      `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
325 |                     await self.sendPingRequests(pingRequestDirective)
    |                           `- note: closure captures 'self' which is accessible to code in the current task
326 |                 }
327 |             }
/host/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:481:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
479 |         await withTaskGroup(of: Void.self) { group in
480 |             for pingRequest in directive.requestDetails {
481 |                 group.addTask {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
482 |                     let peerToPingRequestThrough = pingRequest.peerToPingRequestThrough
483 |                     let payload = pingRequest.payload
484 |                     let sequenceNumber = pingRequest.sequenceNumber
485 |
486 |                     self.log.trace(
    |                     `- note: closure captures 'self' which is accessible to code in the current task
487 |                         "Sending ping request for [\(target)] to [\(peerToPingRequestThrough.swimNode)] with payload: \(payload)"
488 |                     )
[323/323] Compiling SWIMNIOExample time.swift
Build complete! (109.98s)
Build complete.
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.19.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.8.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    },
    {
      "identity" : "swift-nio-extras",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-extras.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-metrics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-metrics.git"
    }
  ],
  "manifest_display_name" : "swift-cluster-membership",
  "name" : "swift-cluster-membership",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "ClusterMembership",
      "targets" : [
        "ClusterMembership"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SWIM",
      "targets" : [
        "SWIM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SWIMNIOExample",
      "targets" : [
        "SWIMNIOExample"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SWIMTests",
      "module_type" : "SwiftTarget",
      "name" : "SWIMTests",
      "path" : "Tests/SWIMTests",
      "sources" : [
        "HeapTests.swift",
        "SWIMInstanceTests.swift",
        "SWIMMetricsTests.swift",
        "SWIMSettingsTests.swift",
        "TestPeer.swift"
      ],
      "target_dependencies" : [
        "SWIM",
        "SWIMTestKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SWIMTestKit",
      "module_type" : "SwiftTarget",
      "name" : "SWIMTestKit",
      "path" : "Tests/SWIMTestKit",
      "product_dependencies" : [
        "NIO",
        "Logging",
        "Metrics"
      ],
      "sources" : [
        "LogCapture.swift",
        "TestMetrics.swift"
      ],
      "target_dependencies" : [
        "SWIM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SWIMNIOExampleTests",
      "module_type" : "SwiftTarget",
      "name" : "SWIMNIOExampleTests",
      "path" : "Tests/SWIMNIOExampleTests",
      "sources" : [
        "CodingTests.swift",
        "SWIMNIOClusteredTests.swift",
        "SWIMNIOEventClusteredTests.swift",
        "SWIMNIOMetricsTests.swift",
        "Utils/BaseXCTestCases.swift"
      ],
      "target_dependencies" : [
        "SWIMNIOExample",
        "SWIMTestKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SWIMNIOExample",
      "module_type" : "SwiftTarget",
      "name" : "SWIMNIOExample",
      "path" : "Sources/SWIMNIOExample",
      "product_dependencies" : [
        "NIO",
        "NIOFoundationCompat",
        "NIOConcurrencyHelpers",
        "NIOExtras",
        "Logging",
        "Metrics"
      ],
      "product_memberships" : [
        "SWIMNIOExample"
      ],
      "sources" : [
        "Coding.swift",
        "Logging.swift",
        "Message.swift",
        "NIOPeer.swift",
        "SWIMNIOHandler.swift",
        "SWIMNIOShell.swift",
        "Settings.swift",
        "Utils/String+Extensions.swift",
        "Utils/time.swift"
      ],
      "target_dependencies" : [
        "SWIM"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SWIM",
      "module_type" : "SwiftTarget",
      "name" : "SWIM",
      "path" : "Sources/SWIM",
      "product_dependencies" : [
        "Logging",
        "Metrics"
      ],
      "product_memberships" : [
        "SWIM",
        "SWIMNIOExample"
      ],
      "sources" : [
        "Events.swift",
        "Member.swift",
        "Metrics.swift",
        "Peer.swift",
        "SWIM.swift",
        "SWIMInstance.swift",
        "SWIMProtocol.swift",
        "Settings.swift",
        "Status.swift",
        "Utils/Heap.swift",
        "Utils/String+Extensions.swift",
        "Utils/_PrettyLog.swift",
        "Utils/time.swift"
      ],
      "target_dependencies" : [
        "ClusterMembership"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ClusterMembershipTests",
      "module_type" : "SwiftTarget",
      "name" : "ClusterMembershipTests",
      "path" : "Tests/ClusterMembershipTests",
      "sources" : [
        "NodeTests.swift"
      ],
      "target_dependencies" : [
        "ClusterMembership"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ClusterMembershipDocumentationTests",
      "module_type" : "SwiftTarget",
      "name" : "ClusterMembershipDocumentationTests",
      "path" : "Tests/ClusterMembershipDocumentationTests",
      "sources" : [
        "SWIMDocExamples.swift"
      ],
      "target_dependencies" : [
        "SWIM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ClusterMembership",
      "module_type" : "SwiftTarget",
      "name" : "ClusterMembership",
      "path" : "Sources/ClusterMembership",
      "product_memberships" : [
        "ClusterMembership",
        "SWIM",
        "SWIMNIOExample"
      ],
      "sources" : [
        "Node.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.