The Swift Package Index logo.Swift Package Index

Build Information

Successful build of NIOAsyncWebSockets, reference 1.0.1 (a50f5f), with Swift 6.4 for Android on 19 Sep 2026 22:41:28 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/samalone/nio-async-websockets.git
Reference: 1.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/samalone/nio-async-websockets
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at a50f5f4 Remove @available and @_spi attributes
Cloned https://github.com/samalone/nio-async-websockets.git
Revision (git rev-parse @):
a50f5f4d1c0446d36b2bd3b157f7f845e1f0133e
SUCCESS checkout https://github.com/samalone/nio-async-websockets.git at 1.0.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/samalone/nio-async-websockets.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-nio.git
[1/2345] Fetching swift-docc-plugin
[2346/88418] Fetching swift-docc-plugin, swift-nio
Fetched https://github.com/apple/swift-docc-plugin (3.43s)
Fetched https://github.com/apple/swift-nio.git (3.46s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (4.54s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.64s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.87s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.37s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.53s)
[1/6898] Fetching swift-system
[6899/34250] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (1.17s)
Fetched https://github.com/apple/swift-collections.git (1.19s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.35s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.31s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.22s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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.8.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 779]
[Planning 694 / 779]
[Planning deferred tasks]
[Starting]
[45 / 262] NIOPosix
[138 / 264] _NIODataStructures
[149 / 280] InternalCollectionsUtilities
[152 / 288] _AtomicsShims
[153 / 288] _NIOBase64
[159 / 288] InternalCollectionsUtilities
[161 / 288] InternalCollectionsUtilities
[172 / 288] NIOConcurrencyHelpers
[172 / 288] _NIODataStructures
[181 / 289] NIOConcurrencyHelpers
[185 / 289] InternalCollectionsUtilities
[188 / 290] _NIODataStructures
[190 / 290] _NIODataStructures
[193 / 290] _NIOBase64
[195 / 290]
[198 / 291] CNIOSHA1
[204 / 291] CNIOLLHTTP
[209 / 301] NIOConcurrencyHelpers
[212 / 301] CNIOLinux
[217 / 301] ContainersPreview
[218 / 301] ContainersPreview
[220 / 302]
[226 / 311] CNIOFreeBSD
[235 / 311] CNIODarwin
[237 / 311] Atomics
[239 / 312] Atomics
[240 / 312] ContainersPreview
[242 / 312] Atomics
[244 / 313] InternalCollectionsUtilities
[246 / 313] InternalCollectionsUtilities
[247 / 314]
[249 / 323] DequeModule
[251 / 323] DequeModule
[252 / 323] DequeModule
[253 / 323] DequeModule
[255 / 323] DequeModule
[256 / 323] CNIOPosix
[258 / 323]
[259 / 323] NIOConcurrencyHelpers
[259 / 323] DequeModule
[259 / 323] Atomics
[264 / 323] Atomics
[267 / 324] DequeModule
[267 / 325] DequeModule
[276 / 326] DequeModule
[285 / 335] NIOCore
[285 / 336] NIOCore
[299 / 343] NIOPosix
[303 / 351] NIOPosix
[304 / 351] NIOPosix
[306 / 351] NIOEmbedded
[312 / 351] NIOPosix
[313 / 351] NIOPosix
[313 / 352] NIOEmbedded
[316 / 352] NIOEmbedded
[316 / 352] NIOPosix
[324 / 355] NIO
[332 / 366] NIO
[333 / 366] NIOHTTP1
[334 / 366] NIOHTTP1
[336 / 366] NIOHTTP1
[338 / 366] NIOHTTP1
[344 / 366] NIOHTTP1
[347 / 367]
[351 / 376] NIOWebSocket
[353 / 376] NIOHTTP1
[354 / 376] NIOWebSocket
[359 / 376] NIOWebSocket
[364 / 386] NIOAsyncWebSockets
[366 / 386] NIOAsyncWebSockets
[367 / 387] NIOPosix
[370 / 387] NIOWebSocket
[373 / 388] NIOHTTP1
[376 / 389] NIOHTTP1
/host/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOWebSocketClientUpgrader.swift:148:16: warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
146 |             UInt64.random(in: UInt64.min...UInt64.max, using: &generator)
147 |         )
148 |         return String(base64Encoding: buffer.readableBytesView)
    |                `- warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
149 |     }
150 |     /// Generates a random WebSocket Request Key by generating 16 bytes randomly using the `SystemRandomNumberGenerator` and encoding them as a base64 string as defined in RFC6455 https://tools.ietf.org/html/rfc6455#section-4.1.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[385 / 389] NIOHTTP1
/host/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOWebSocketClientUpgrader.swift:148:16: warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
146 |             UInt64.random(in: UInt64.min...UInt64.max, using: &generator)
147 |         )
148 |         return String(base64Encoding: buffer.readableBytesView)
    |                `- warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
149 |     }
150 |     /// Generates a random WebSocket Request Key by generating 16 bytes randomly using the `SystemRandomNumberGenerator` and encoding them as a base64 string as defined in RFC6455 https://tools.ietf.org/html/rfc6455#section-4.1.
/host/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOWebSocketClientUpgrader.swift:178:31: warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
176 |     hasher.update(string: requestKey)
177 |     hasher.update(string: magicWebSocketGUID)
178 |     let expectedAcceptValue = String(base64Encoding: hasher.finish())
    |                               `- warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
179 |
180 |     return expectedAcceptValue == acceptValueHeader[0]
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[386 / 389] NIOAsyncWebSockets
/host/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOTypedHTTPServerUpgradeHandler.swift:324:49: warning: conformance of 'HTTPResponseEncoder' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
322 |             self.sendUpgradeResponse(context: context, responseHeaders: responseHeaders)
323 |         }.flatMap {
324 |             context.pipeline.removeHandler(self.httpEncoder)
    |                                                 `- warning: conformance of 'HTTPResponseEncoder' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
325 |         }.flatMap { () -> EventLoopFuture<UpgradeResult> in
326 |             return upgrader.upgrade(channel: context.channel, upgradeRequest: requestHead)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPEncoder.swift:411:1: note: conformance of 'HTTPResponseEncoder' to 'Sendable' has been explicitly marked unavailable here
409 |
410 | @available(*, unavailable)
411 | extension HTTPResponseEncoder: Sendable {}
    | `- note: conformance of 'HTTPResponseEncoder' to 'Sendable' has been explicitly marked unavailable here
412 |
413 | /// Errors thrown by ``HTTPResponseEncoder``.
/host/spi-builder-workspace/Sources/NIOAsyncWebSockets/NIOWebSocketServerUpgrader.swift:294:31: warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
292 |                 hasher.update(string: key)
293 |                 hasher.update(string: magicWebSocketGUID)
294 |                 acceptValue = String(base64Encoding: hasher.finish())
    |                               `- warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
295 |             }
296 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (40.99 secs)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.12.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "NIOAsyncWebSockets",
  "name" : "NIOAsyncWebSockets",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "NIOAsyncWebSockets",
      "targets" : [
        "NIOAsyncWebSockets"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NIOAsyncWebSocketsTests",
      "module_type" : "SwiftTarget",
      "name" : "NIOAsyncWebSocketsTests",
      "path" : "Tests/NIOAsyncWebSocketsTests",
      "sources" : [
        "NIOAsyncWebSocketsTests.swift"
      ],
      "target_dependencies" : [
        "NIOAsyncWebSockets"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NIOAsyncWebSockets",
      "module_type" : "SwiftTarget",
      "name" : "NIOAsyncWebSockets",
      "path" : "Sources/NIOAsyncWebSockets",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "NIOWebSocket",
        "NIOPosix"
      ],
      "product_memberships" : [
        "NIOAsyncWebSockets"
      ],
      "sources" : [
        "HTTPTypedPipelineSetup.swift",
        "NIOTypedHTTPClientUpgradeHandler.swift",
        "NIOTypedHTTPClientUpgraderStateMachine.swift",
        "NIOTypedHTTPServerUpgradeHandler.swift",
        "NIOTypedHTTPServerUpgraderStateMachine.swift",
        "NIOTypedPipelineSetup.swift",
        "NIOWebSocketClientUpgrader.swift",
        "NIOWebSocketServerUpgrader.swift",
        "SHA1.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Done.