The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build KituraWebSocket, reference master (df9e17), with Swift 6.1 for Linux on 26 Apr 2025 04:08:25 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Kitura-WebSocket-NIO.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Kitura/Kitura-WebSocket-NIO
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at df9e174 Update github org references (#66)
Cloned https://github.com/Kitura/Kitura-WebSocket-NIO.git
Revision (git rev-parse @):
df9e1748c12e66b3c303412649a045d9706c70b9
SUCCESS checkout https://github.com/Kitura/Kitura-WebSocket-NIO.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kitura/Kitura-WebSocket-NIO.git
https://github.com/Kitura/Kitura-WebSocket-NIO.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "kitura-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.200",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/Kitura-NIO.git"
    },
    {
      "identity" : "bluecryptor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.200",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/BlueCryptor.git"
    },
    {
      "identity" : "kitura-websocket-compression",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.200",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Kitura/Kitura-WebSocket-Compression.git"
    }
  ],
  "manifest_display_name" : "KituraWebSocket",
  "name" : "KituraWebSocket",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Kitura-WebSocket",
      "targets" : [
        "KituraWebSocket"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TestWebSocketService",
      "targets" : [
        "TestWebSocketService"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestWebSocketService",
      "module_type" : "SwiftTarget",
      "name" : "TestWebSocketService",
      "path" : "Sources/TestWebSocketService",
      "product_dependencies" : [
        "KituraNet",
        "WebSocketCompression"
      ],
      "product_memberships" : [
        "TestWebSocketService"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "KituraWebSocket"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "KituraWebSocketTests",
      "module_type" : "SwiftTarget",
      "name" : "KituraWebSocketTests",
      "path" : "Tests/KituraWebSocketTests",
      "product_dependencies" : [
        "Cryptor",
        "WebSocketCompression"
      ],
      "sources" : [
        "BasicTests.swift",
        "ComplexTests.swift",
        "ConnectionCleanupTests.swift",
        "KituraTest.swift",
        "PrintLogger.swift",
        "ProtocolError.swift",
        "TestConnections.swift",
        "TestWebSocketService.swift",
        "UpgradeErrors.swift",
        "WebSocketClient.swift"
      ],
      "target_dependencies" : [
        "KituraWebSocket"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KituraWebSocket",
      "module_type" : "SwiftTarget",
      "name" : "KituraWebSocket",
      "path" : "Sources/KituraWebSocket",
      "product_dependencies" : [
        "WebSocketCompression",
        "KituraNet"
      ],
      "product_memberships" : [
        "Kitura-WebSocket",
        "TestWebSocketService"
      ],
      "sources" : [
        "PermessageDeflate.swift",
        "WSConnectionUpgradeFactory.swift",
        "WSServerRequest.swift",
        "WebSocket.swift",
        "WebSocketCloseReasonCode.swift",
        "WebSocketConnection.swift",
        "WebSocketError.swift",
        "WebSocketService.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Kitura/Kitura-WebSocket-Compression.git
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/Kitura-NIO.git
[1/3471] Fetching kitura-nio
[175/5125] Fetching kitura-nio, bluecryptor
[1169/5233] Fetching kitura-nio, bluecryptor, kitura-websocket-compression
Fetched https://github.com/Kitura/Kitura-WebSocket-Compression.git from cache (0.36s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.36s)
Fetched https://github.com/Kitura/Kitura-NIO.git from cache (0.37s)
Computing version for https://github.com/Kitura/Kitura-WebSocket-Compression.git
Computed https://github.com/Kitura/Kitura-WebSocket-Compression.git at 0.1.200 (0.95s)
Fetching https://github.com/apple/swift-nio.git
[1/75431] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.49s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 1.0.200 (5.07s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (1.66s)
Computing version for https://github.com/Kitura/Kitura-NIO.git
Computed https://github.com/Kitura/Kitura-NIO.git at 2.4.200 (2.52s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/2077] Fetching bluesslservice
[209/2848] Fetching bluesslservice, loggerapi
[2849/8510] Fetching bluesslservice, loggerapi, swift-nio-extras
[8511/23303] Fetching bluesslservice, loggerapi, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.81s)
[6843/17641] Fetching bluesslservice, loggerapi, swift-nio-ssl
Fetched https://github.com/Kitura/LoggerAPI.git from cache (1.99s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (1.99s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.01s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (2.63s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.37s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (0.95s)
Fetching https://github.com/Kitura/BlueSocket.git
[1/2942] Fetching bluesocket
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.36s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.93s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.51s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.59s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/904] Fetching swift-http-types
[905/2031] Fetching swift-http-types, swift-http-structured-headers
[2032/3736] Fetching swift-http-types, swift-http-structured-headers, swift-atomics
[2408/9639] Fetching swift-http-types, swift-http-structured-headers, swift-atomics, swift-algorithms
[3270/21131] Fetching swift-http-types, swift-http-structured-headers, swift-atomics, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.10s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.10s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.10s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.10s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.11s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.62s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.87s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4353] Fetching swift-system
[4354/20595] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.36s)
[1462/16242] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.12s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.74s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.42s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.2.2 (0.93s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.51s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.54s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.60s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.85s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.54s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.30.0 (0.64s)
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.3
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.36.0
Creating working copy for https://github.com/Kitura/Kitura-WebSocket-Compression.git
Working copy of https://github.com/Kitura/Kitura-WebSocket-Compression.git resolved at 0.1.200
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-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/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.0.200
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.2.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.30.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.1.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 1.0.200
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.26.0
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/Kitura/Kitura-NIO.git
Working copy of https://github.com/Kitura/Kitura-NIO.git resolved at 2.4.200
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
warning: you may be able to install libz using your system-packager:
    apt-get install libz-dev
warning: you may be able to install libz using your system-packager:
    apt-get install libz-dev
Building for debugging...
[0/465] Write sources
[4/465] Compiling a_i2d_fp.cc
[5/465] Write sources
[7/465] Compiling e_rc4.cc
[8/465] Write sources
[25/465] Compiling e_rc2.cc
[26/465] Compiling _AtomicsShims.c
[27/465] Compiling CNIOWindows shim.c
[28/465] Compiling CNIOWindows WSAStartup.c
[29/465] Compiling CNIOWASI CNIOWASI.c
[30/465] Compiling asn1_lib.cc
[31/465] Compiling CNIOLinux liburing_shims.c
[32/465] Compiling a_mbstr.cc
[33/465] Compiling CNIOSHA1 c_nio_sha1.c
[34/465] Compiling a_gentm.cc
[35/465] Compiling CNIODarwin shim.c
[35/465] Compiling CNIOLLHTTP c_nio_http.c
[37/465] Compiling CNIOLinux shim.c
[38/465] Compiling CNIOLLHTTP c_nio_api.c
[39/465] Compiling fiat_p256_adx_sqr.S
[40/465] Write swift-version-24593BA9C3E375BF.txt
[41/465] Compiling a_int.cc
[42/465] Compiling fiat_curve25519_adx_square.S
[43/465] Compiling fiat_p256_adx_mul.S
[44/465] Compiling fiat_curve25519_adx_mul.S
[45/465] Compiling CNIOLLHTTP c_nio_llhttp.c
[46/476] Compiling CNIOBoringSSLShims shims.c
[48/497] Emitting module InternalCollectionsUtilities
[48/499] Compiling tls_method.cc
[49/499] Compiling tls_record.cc
[50/499] Compiling tls13_server.cc
[52/499] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[53/499] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[54/499] Emitting module _NIOBase64
[55/499] Compiling _NIOBase64 Base64.swift
[56/500] Compiling InternalCollectionsUtilities Debugging.swift
[57/500] Compiling InternalCollectionsUtilities Descriptions.swift
[58/500] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[59/500] Compiling InternalCollectionsUtilities Specialize.swift
[60/500] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[61/500] Compiling InternalCollectionsUtilities Integer rank.swift
[62/500] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[64/500] Compiling _NIODataStructures _TinyArray.swift
[65/500] Compiling _NIODataStructures PriorityQueue.swift
[66/500] Compiling InternalCollectionsUtilities _SortedCollection.swift
[67/500] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[68/500] Compiling InternalCollectionsUtilities UInt+reversed.swift
[69/500] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[70/500] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[71/500] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[72/500] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[73/500] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[74/500] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[76/501] Emitting module Socket
[76/501] Compiling tls13_enc.cc
[77/501] Compiling tls13_both.cc
[78/501] Compiling tls13_client.cc
[79/501] Wrapping AST for _NIOBase64 for debugging
[80/501] Wrapping AST for InternalCollectionsUtilities for debugging
[82/516] Compiling DequeModule _DequeBuffer.swift
[83/516] Compiling DequeModule _DequeBufferHeader.swift
[84/516] Compiling DequeModule Deque+CustomReflectable.swift
[85/516] Compiling DequeModule Deque+Descriptions.swift
[86/518] Emitting module _NIODataStructures
[87/518] Compiling _NIODataStructures Heap.swift
[88/519] Compiling Logging MetadataProvider.swift
[89/519] Compiling Logging Locks.swift
[90/519] Emitting module Logging
[91/519] Compiling Logging Logging.swift
[92/519] Compiling Logging LogHandler.swift
[93/520] Emitting module DequeModule
[95/520] Compiling DequeModule Deque+Testing.swift
[96/520] Compiling DequeModule Deque._Storage.swift
[97/520] Compiling DequeModule Deque+Equatable.swift
[98/520] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[99/520] Compiling DequeModule Deque._UnsafeHandle.swift
[100/520] Compiling DequeModule Deque.swift
[101/520] Compiling DequeModule Deque+Extras.swift
[102/520] Compiling DequeModule Deque+Hashable.swift
[104/520] Compiling DequeModule _DequeSlot.swift
[105/520] Compiling DequeModule _UnsafeWrappedBuffer.swift
[105/520] Compiling t1_enc.cc
[106/520] Wrapping AST for _NIODataStructures for debugging
[108/520] Compiling DequeModule Deque+Codable.swift
[109/520] Compiling DequeModule Deque+Collection.swift
[111/521] Compiling Socket SocketUtils.swift
[112/521] Compiling Socket SocketProtocols.swift
[112/523] Compiling ssl_versions.cc
[113/523] Wrapping AST for Logging for debugging
[114/523] Compiling ssl_transcript.cc
[115/523] Wrapping AST for DequeModule for debugging
[116/523] Compiling ssl_x509.cc
[118/523] Emitting module LoggerAPI
[119/523] Compiling LoggerAPI Logger.swift
[121/524] Compiling Socket Socket.swift
[121/525] Compiling ssl_stat.cc
[123/525] Wrapping AST for LoggerAPI for debugging
[124/525] Compiling ssl_session.cc
[125/528] Wrapping AST for Socket for debugging
[126/528] Compiling ssl_privkey.cc
[127/528] Compiling ssl_key_share.cc
[128/528] Compiling ssl_file.cc
[129/528] Compiling ssl_credential.cc
[130/528] Compiling ssl_cipher.cc
[131/528] Compiling ssl_lib.cc
[133/528] Emitting module SSLService
[134/528] Compiling SSLService SSLPointerTricks.swift
[135/528] Compiling SSLService SSLService.swift
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:8: error: cannot find 'SSL_get_peer_certificate' in scope
1320 | 				}
1321 |
1322 | 				if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
     |        `- error: cannot find 'SSL_get_peer_certificate' in scope
1323 |
1324 | 					let rc = SSL_get_verify_result(.make(optional: sslConnect))
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:34: error: cannot infer contextual base in reference to member 'make'
1320 | 				}
1321 |
1322 | 				if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
     |                                  `- error: cannot infer contextual base in reference to member 'make'
1323 |
1324 | 					let rc = SSL_get_verify_result(.make(optional: sslConnect))
[135/528] Compiling ssl_cert.cc
[136/528] Compiling ssl_aead_ctx.cc
[137/528] Compiling ssl_buffer.cc
[138/528] Compiling ssl_asn1.cc
[139/528] Compiling handoff.cc
[139/528] Compiling handshake_client.cc
[139/528] Compiling handshake.cc
[139/528] Compiling handshake_server.cc
[139/528] Compiling s3_both.cc
[139/528] Compiling s3_pkt.cc
[139/528] Compiling s3_lib.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: you may be able to install libz using your system-packager:
    apt-get install libz-dev
warning: you may be able to install libz using your system-packager:
    apt-get install libz-dev
[0/1] Planning build
Building for debugging...
[0/397] Compiling s3_both.cc
[1/397] Write swift-version-24593BA9C3E375BF.txt
[2/397] Compiling s3_lib.cc
[3/397] Compiling handshake_client.cc
[4/397] Compiling s3_pkt.cc
[5/401] Compiling handshake.cc
[6/401] Compiling handshake_server.cc
[7/407] Compiling extensions.cc
[8/407] Compiling handoff.cc
[10/429] Compiling _NIODataStructures Heap.swift
[11/429] Emitting module _NIODataStructures
[12/429] Compiling Logging MetadataProvider.swift
[13/429] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[14/429] Compiling InternalCollectionsUtilities Specialize.swift
[15/431] Emitting module Logging
[16/431] Compiling InternalCollectionsUtilities _SortedCollection.swift
[17/431] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[18/431] Compiling InternalCollectionsUtilities Debugging.swift
[19/431] Compiling InternalCollectionsUtilities Descriptions.swift
[20/431] Compiling Socket SocketUtils.swift
[21/431] Compiling Socket SocketProtocols.swift
[22/431] Emitting module _NIOBase64
[23/431] Compiling _NIOBase64 Base64.swift
[24/432] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[25/432] Compiling InternalCollectionsUtilities Integer rank.swift
[26/432] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[28/432] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[29/432] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[30/432] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[31/432] Compiling InternalCollectionsUtilities UInt+reversed.swift
[32/432] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[33/432] Compiling _NIODataStructures _TinyArray.swift
[34/432] Compiling _NIODataStructures PriorityQueue.swift
[36/432] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[37/432] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[38/432] Emitting module InternalCollectionsUtilities
[38/431] Compiling encrypted_client_hello.cc
[40/431] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[41/431] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[43/432] Compiling Logging Logging.swift
[44/432] Compiling Logging LogHandler.swift
[45/432] Compiling Logging Locks.swift
[47/448] Compiling DequeModule Deque+CustomReflectable.swift
[48/448] Compiling DequeModule Deque+Descriptions.swift
[48/450] Compiling dtls_method.cc
[49/450] Compiling dtls_record.cc
[51/450] Compiling DequeModule Deque+Equatable.swift
[52/450] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[53/450] Compiling DequeModule Deque+Extras.swift
[54/450] Compiling DequeModule Deque+Hashable.swift
[55/450] Compiling DequeModule Deque+Testing.swift
[56/450] Compiling DequeModule Deque._Storage.swift
[56/450] Wrapping AST for Logging for debugging
[58/452] Compiling DequeModule _DequeSlot.swift
[59/452] Compiling DequeModule _UnsafeWrappedBuffer.swift
[59/452] Wrapping AST for InternalCollectionsUtilities for debugging
[60/452] Compiling d1_srtp.cc
[61/452] Compiling d1_pkt.cc
[63/452] Compiling DequeModule _DequeBuffer.swift
[64/452] Compiling DequeModule _DequeBufferHeader.swift
[65/452] Compiling DequeModule Deque._UnsafeHandle.swift
[66/452] Compiling DequeModule Deque.swift
[66/452] Compiling md5-x86_64-linux.S
[68/452] Compiling DequeModule Deque+Codable.swift
[69/452] Compiling DequeModule Deque+Collection.swift
[69/452] Compiling d1_lib.cc
[70/452] Compiling md5-x86_64-apple.S
[72/452] Emitting module DequeModule
[73/452] Emitting module LoggerAPI
[74/452] Compiling LoggerAPI Logger.swift
[75/454] Compiling Socket Socket.swift
[76/454] Emitting module Socket
[76/455] Compiling md5-586-apple.S
[77/455] Compiling md5-586-linux.S
[78/455] Compiling chacha20_poly1305_x86_64-apple.S
[81/455] Compiling chacha20_poly1305_x86_64-linux.S
[83/455] Compiling chacha20_poly1305_armv8-win.S
[84/455] Compiling chacha20_poly1305_armv8-linux.S
[85/455] Compiling chacha20_poly1305_armv8-apple.S
[86/455] Compiling err_data.cc
[87/455] Compiling chacha-x86_64-linux.S
[88/455] Compiling chacha-x86_64-apple.S
[89/455] Compiling d1_both.cc
[90/454] Compiling bio_ssl.cc
[91/453] Compiling chacha-armv8-win.S
[92/453] Compiling chacha-armv8-linux.S
[93/453] Compiling chacha-x86-apple.S
[94/453] Compiling aes128gcmsiv-x86_64-apple.S
[95/453] Compiling chacha-armv4-linux.S
[96/453] Compiling chacha-x86-linux.S
[97/453] Compiling chacha-armv8-apple.S
[98/453] Compiling aes128gcmsiv-x86_64-linux.S
[99/453] Compiling x86-mont-linux.S
[100/453] Compiling x86_64-mont5-linux.S
[101/453] Compiling x86_64-mont-apple.S
[102/453] Compiling x86_64-mont5-apple.S
[103/453] Wrapping AST for DequeModule for debugging
[104/453] Compiling x86-mont-apple.S
[105/453] Compiling x86_64-mont-linux.S
[106/456] Compiling vpaes-x86_64-apple.S
[107/456] Compiling vpaes-x86_64-linux.S
[108/456] Compiling vpaes-x86-apple.S
[109/456] Compiling vpaes-armv8-win.S
[110/456] Compiling vpaes-armv8-apple.S
[111/456] Compiling vpaes-x86-linux.S
[112/456] Compiling vpaes-armv8-linux.S
[113/456] Compiling sha512-x86_64-apple.S
[114/456] Compiling sha512-x86_64-linux.S
[115/456] Compiling vpaes-armv7-linux.S
[116/456] Compiling sha512-armv8-win.S
[117/456] Compiling sha512-armv8-linux.S
[118/456] Compiling sha512-armv4-linux.S
[119/456] Compiling sha512-armv8-apple.S
[120/456] Compiling sha512-586-apple.S
[121/456] Compiling sha512-586-linux.S
[122/456] Compiling sha256-armv8-apple.S
[123/456] Compiling sha256-armv8-win.S
[124/456] Compiling sha256-x86_64-linux.S
[125/456] Compiling sha256-x86_64-apple.S
[126/456] Compiling sha256-586-linux.S
[127/456] Compiling sha256-armv8-linux.S
[128/456] Compiling sha256-armv4-linux.S
[129/456] Compiling sha1-x86_64-apple.S
[130/456] Compiling sha256-586-apple.S
[131/456] Compiling sha1-armv8-apple.S
[132/456] Compiling sha1-armv8-linux.S
[133/456] Compiling sha1-armv4-large-linux.S
[134/456] Compiling sha1-586-apple.S
[135/456] Compiling sha1-x86_64-linux.S
[135/456] Compiling sha1-586-linux.S
[137/456] Compiling sha1-armv8-win.S
[138/456] Compiling rsaz-avx2-apple.S
[139/456] Compiling rsaz-avx2-linux.S
[141/456] Compiling SSLService SSLPointerTricks.swift
[142/456] Emitting module SSLService
[142/456] Compiling rdrand-x86_64-linux.S
[144/456] Compiling SSLService SSLService.swift
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:8: error: cannot find 'SSL_get_peer_certificate' in scope
1320 | 				}
1321 |
1322 | 				if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
     |        `- error: cannot find 'SSL_get_peer_certificate' in scope
1323 |
1324 | 					let rc = SSL_get_verify_result(.make(optional: sslConnect))
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322:34: error: cannot infer contextual base in reference to member 'make'
1320 | 				}
1321 |
1322 | 				if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
     |                                  `- error: cannot infer contextual base in reference to member 'make'
1323 |
1324 | 					let rc = SSL_get_verify_result(.make(optional: sslConnect))
[144/456] Compiling p256_beeu-armv8-asm-win.S
[144/456] Compiling p256_beeu-armv8-asm-linux.S
[144/456] Compiling p256_beeu-x86_64-asm-linux.S
[144/456] Compiling p256_beeu-x86_64-asm-apple.S
[144/456] Compiling rdrand-x86_64-apple.S
[144/456] Compiling p256_beeu-armv8-asm-apple.S
[144/456] Compiling p256-x86_64-asm-linux.S
BUILD FAILURE 6.1 linux