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

Failed to build SwiftQ, reference master (1a6f85), with Swift 6.1 for Linux on 25 Apr 2025 12:04:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/john-connolly/swiftq.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/john-connolly/swiftq
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1a6f856 Merge pull request #8 from John-Connolly/Development
Cloned https://github.com/john-connolly/swiftq.git
Revision (git rev-parse @):
1a6f856bbbc0b6256c371edfe208bbca7df17857
SUCCESS checkout https://github.com/john-connolly/swiftq.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/john-connolly/swiftq.git
https://github.com/john-connolly/swiftq.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "redis",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/redis.git"
    }
  ],
  "manifest_display_name" : "SwiftQ",
  "name" : "SwiftQ",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftQ",
      "targets" : [
        "SwiftQ"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftQTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftQTests",
      "path" : "Tests/SwiftQTests",
      "sources" : [
        "SwiftQTests.swift"
      ],
      "target_dependencies" : [
        "SwiftQ"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftQ",
      "module_type" : "SwiftTarget",
      "name" : "SwiftQ",
      "path" : "Sources/SwiftQ",
      "product_dependencies" : [
        "Redis"
      ],
      "product_memberships" : [
        "SwiftQ"
      ],
      "sources" : [
        "Configuration.swift",
        "Core/Decoder.swift",
        "Core/Host.swift",
        "Core/JSONKey.swift",
        "Core/Logger.swift",
        "Core/Middleware.swift",
        "Core/SwiftQ + Array.swift",
        "Core/SwiftQ + Data.swift",
        "Core/SwiftQ + Date.swift",
        "Core/SwiftQ + Dictionary.swift",
        "Core/SwiftQ + Optional.swift",
        "Queues/QueueMonitor.swift",
        "Queues/ReliableQueue.swift",
        "Queues/ScheduledQueue.swift",
        "Redis/Command.swift",
        "Redis/ConnectionPool.swift",
        "Redis/RedisAdaptor.swift",
        "Redis/RedisConfiguration.swift",
        "Redis/RedisKey.swift",
        "Redis/RedisResponse.swift",
        "SwiftQConsumer.swift",
        "SwiftQError.swift",
        "SwiftQProducer.swift",
        "Task/EnqueueingBox.swift",
        "Task/InitResource.swift",
        "Task/PeriodicBox.swift",
        "Task/PeriodicTask.swift",
        "Task/PeriodicTime.swift",
        "Task/RecoveryStrategy.swift",
        "Task/ScheduledBox.swift",
        "Task/Storage.swift",
        "Task/Task.swift",
        "Task/Time.swift",
        "Worker/AsyncWorker.swift",
        "Worker/Worker.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/vapor/redis.git
[1/3750] Fetching redis
Fetched https://github.com/vapor/redis.git from cache (0.32s)
Computing version for https://github.com/vapor/redis.git
Computed https://github.com/vapor/redis.git at 2.2.0 (0.93s)
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/sockets.git
[1/4211] Fetching node
[44/4359] Fetching node, random
[865/24502] Fetching node, random, core
[2439/25646] Fetching node, random, core, tls
[3290/28958] Fetching node, random, core, tls, sockets
Fetched https://github.com/vapor/random.git from cache (0.29s)
[16725/28810] Fetching node, core, tls, sockets
Fetched https://github.com/vapor/sockets.git from cache (0.29s)
[13614/25498] Fetching node, core, tls
Fetched https://github.com/vapor/tls.git from cache (0.29s)
[12672/24354] Fetching node, core
Fetched https://github.com/vapor/node.git from cache (0.29s)
[8662/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.76s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (1.35s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.73s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (1.25s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (1.97s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
[359/618] Fetching bits, debugging
Fetched https://github.com/vapor/debugging.git from cache (0.72s)
Fetched https://github.com/vapor/bits.git from cache (0.72s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (1.45s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.59s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.62s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.83s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.85s)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/redis.git
Working copy of https://github.com/vapor/redis.git resolved at 2.2.0
Creating working copy for https://github.com/vapor/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
Creating working copy for https://github.com/vapor/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
Building for debugging...
[0/13] Write sources
[12/13] Write swift-version-24593BA9C3E375BF.txt
[14/38] Emitting module PathIndexable
[15/38] Emitting module Bits
[16/40] Emitting module Debugging
[17/40] Compiling Debugging Debuggable.swift
[18/41] Compiling Bits Operators.swift
[19/41] Compiling Bits String+BytesConvertible.swift
[20/41] Compiling Bits UnsignedInteger+BytesConvertible.swift
[21/41] Compiling Bits UnsignedInteger+Shifting.swift
[22/41] Compiling Bits Aliases.swift
[23/41] Compiling Bits Base64Encoder.swift
[24/41] Compiling Bits Byte+Alphabet.swift
[26/41] Compiling PathIndexable PathIndexable.swift
[27/41] Compiling PathIndexable PathIndexable+Subscripting.swift
[29/42] Emitting module libc
[30/42] Compiling libc libc.swift
[32/43] Compiling Bits Data+BytesConvertible.swift
[33/43] Compiling Bits HexEncoder.swift
[34/43] Compiling Bits Byte+ControlCharacters.swift
[35/43] Compiling Bits Byte+Convenience.swift
[36/43] Compiling Bits Byte+PatternMatching.swift
[37/43] Compiling Bits Byte+Random.swift
[38/43] Compiling Bits Byte+UTF8Numbers.swift
[39/43] Compiling Bits ByteSequence+Conversions.swift
[40/43] Compiling Bits Bytes+Percent.swift
[41/43] Compiling Bits BytesConvertible.swift
[42/43] Compiling Bits Bytes+Base64.swift
[43/43] Compiling Bits Bytes+Hex.swift
[45/66] Emitting module Core
[46/68] Compiling Core DispatchTime+Utilities.swift
[47/68] Compiling Core EmptyInitializable.swift
[48/68] Compiling Core Exports.swift
[49/68] Compiling Core Result.swift
[50/68] Compiling Core Semaphore.swift
[51/68] Compiling Core Sequence.swift
[52/68] Compiling Core Collection+Safe.swift
[53/68] Compiling Core DataFile.swift
[54/68] Compiling Core Dispatch.swift
[55/68] Compiling Core Array.swift
[56/68] Compiling Core Bits.swift
[57/68] Compiling Core Cache.swift
[58/68] Compiling Core Lock.swift
[59/68] Compiling Core Portal.swift
[60/68] Compiling Core RFC1123.swift
[61/68] Compiling Core Extendable.swift
[62/68] Compiling Core FileProtocol.swift
[63/68] Compiling Core Int+Hex.swift
[64/68] Compiling Core StaticDataBuffer.swift
[65/68] Compiling Core String+CaseInsensitiveCompare.swift
[66/68] Compiling Core String+Polymorphic.swift
[67/68] Compiling Core String.swift
[68/68] Compiling Core WorkingDirectory.swift
[70/121] Compiling Node Getters.swift
[71/121] Compiling Node Setters.swift
[72/122] Compiling Transport ServerStream.swift
[73/122] Emitting module Transport
[74/122] Compiling Transport ReadableStream.swift
[75/122] Compiling Random URandom.swift
[76/122] Compiling Random RandomProtocol.swift
[77/122] Compiling Transport Stream.swift
[78/122] Compiling Transport FoundationStream.swift
[79/122] Compiling Transport StreamError.swift
[80/122] Compiling Random EmptyInitializable.swift
[81/122] Compiling Random OSRandom.swift
[82/122] Compiling Random Exports.swift
[83/122] Compiling Random Array+Random.swift
[84/122] Emitting module Random
[85/123] Compiling Node Bool+Convertible.swift
[86/123] Compiling Node Date+Convertible.swift
[88/123] Compiling Transport WriteableStream.swift
[89/124] Compiling Node StructuredDataWrapper+Equatable.swift
[90/124] Compiling Node StructuredDataWrapper+Literals.swift
[91/124] Compiling Node StructuredDataWrapper+PathIndexable.swift
[92/124] Compiling Node StructuredDataWrapper+Polymorphic.swift
[93/128] Emitting module Node
[95/128] Compiling Node UnsignedInteger+Convertible.swift
[96/128] Compiling Node Context.swift
[97/128] Compiling Node Node.swift
[98/128] Compiling Node NodeConvertible.swift
[99/128] Compiling Node NodeInitializable.swift
[100/128] Compiling Node Integer+Convertible.swift
[101/128] Compiling Node Schema+Convertible.swift
[102/128] Compiling Node SchemaWrapper+Convertible.swift
[103/128] Compiling Node String+Convertible.swift
[104/128] Compiling Node UUID+Convertible.swift
[105/128] Compiling Node StructuredData+PathIndexable.swift
[106/128] Compiling Node StructuredData+Polymorphic.swift
[107/128] Compiling Node StructuredData.swift
[108/128] Compiling Node StructuredDataWrapper+Cases.swift
[109/128] Compiling Node StructuredDataWrapper+Convenience.swift
[114/128] Compiling Node FloatingPoint+Convertible.swift
[115/128] Compiling Node NodeRepresentable.swift
[116/128] Compiling Node Array+Convertible.swift
[117/128] Compiling Node Dictionary+Convertible.swift
[118/128] Compiling Node Fuzzy+Any.swift
[119/128] Compiling Node FuzzyConverter.swift
[120/128] Compiling Node Optional+Convertible.swift
[121/128] Compiling Node Set+Convertible.swift
[122/128] Compiling Node Number.swift
[123/128] Compiling Node StructuredData+Equatable.swift
[124/128] Compiling Node StructuredData+Init.swift
[125/149] Compiling Node StructuredDataWrapper.swift
[126/149] Compiling Node Errors.swift
[127/149] Compiling Node Exports.swift
[128/149] Compiling Node Identifier.swift
[130/150] Emitting module Sockets
[131/152] Compiling Sockets TCPReadableSocket.swift
[132/152] Compiling Sockets TCPSocket.swift
[133/152] Compiling Sockets RawSocket.swift
[134/152] Compiling Sockets Select.swift
[135/152] Compiling Sockets Socket.swift
[136/152] Compiling Sockets Types.swift
[137/152] Compiling Sockets Exports.swift
[138/152] Compiling Sockets Config.swift
[139/152] Compiling Sockets SocketOptions.swift
[140/152] Compiling Sockets TCPEstablishedSocket.swift
[141/152] Compiling Sockets TCPInternetSocket.swift
[142/152] Compiling Sockets Conversions.swift
[143/152] Compiling Sockets Error.swift
[144/152] Compiling Sockets FDSet.swift
[145/152] Compiling Sockets Descriptor.swift
[146/152] Compiling Sockets InternetSocket.swift
[147/152] Compiling Sockets Pipe.swift
[148/152] Compiling Sockets TCPWriteableSocket.swift
[149/152] Compiling Sockets UDPSocket.swift
[150/152] Compiling Sockets Address+C.swift
[151/152] Compiling Sockets Address.swift
[152/152] Compiling Sockets Buffer.swift
[154/165] Compiling TLS Utilities.swift
[155/166] Compiling TLS Socket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[156/166] Compiling TLS WriteableSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[157/166] Compiling TLS ServerSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[158/166] Compiling TLS Context.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
    |                                          `- error: cannot find type 'SSL_METHOD' in scope
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
  8 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
 18 |     /// https://stackoverflow.com/a/37887068/2611971
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
    |         `- error: cannot find 'SSL_library_init' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
2093 |
2094 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
2095 | #  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
     |           `- note: macro 'SSL_library_init' unavailable: function like macros not supported
2096 | # endif
2097 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
 21 |         SSL_load_error_strings()
    |         `- error: cannot find 'SSL_load_error_strings' in scope
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1706 |
1707 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1708 | #  define SSL_load_error_strings() \
     |           `- note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1709 |     OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
1710 |                      | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
    |         `- error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 24 |         return true
 25 |     }()
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1144 |
1145 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1146 | #  define OPENSSL_add_all_algorithms_conf() \
     |           `- note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1147 |     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
1148 |                         | OPENSSL_INIT_ADD_ALL_DIGESTS \
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:50:22: error: cannot find 'SSLv23_server_method' in scope
 48 |         switch mode {
 49 |         case .server:
 50 |             method = SSLv23_server_method()
    |                      `- error: cannot find 'SSLv23_server_method' in scope
 51 |         case .client:
 52 |             method = SSLv23_client_method()
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:52:22: error: cannot find 'SSLv23_client_method' in scope
 50 |             method = SSLv23_server_method()
 51 |         case .client:
 52 |             method = SSLv23_client_method()
    |                      `- error: cannot find 'SSLv23_client_method' in scope
 53 |         }
 54 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:63:42: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
 61 |         }
 62 |
 63 |         SSL_CTX_ctrl(ctx, SSL_CTRL_MODE, SSL_MODE_AUTO_RETRY, nil)
    |                                          `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
 64 |
 65 |         if mode == .client {
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:68:17: error: cannot find 'SSL_CTRL_OPTIONS' in scope
 66 |             SSL_CTX_ctrl(
 67 |                 ctx,
 68 |                 SSL_CTRL_OPTIONS,
    |                 `- error: cannot find 'SSL_CTRL_OPTIONS' in scope
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:70:23: error: cannot find 'SSL_OP_NO_SSLv3' in scope
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
    |                       `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
 71 |                     | SSL_OP_NO_COMPRESSION,
 72 |                 nil
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 416 |      */
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
     |          `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:71:23: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
 71 |                     | SSL_OP_NO_COMPRESSION,
    |                       `- error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
 72 |                 nil
 73 |             )
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 385 | # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION   SSL_OP_BIT(16)
 386 |     /* Don't use compression even if supported */
 387 | # define SSL_OP_NO_COMPRESSION                           SSL_OP_BIT(17)
     |          `- note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 388 |     /* Permit unsafe legacy renegotiation */
 389 | # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION        SSL_OP_BIT(18)
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:70:21: error: cannot convert value of type 'Int32' to expected argument type 'Int'
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
    |                     `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
 71 |                     | SSL_OP_NO_COMPRESSION,
 72 |                 nil
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:69:17: error: cannot convert value of type 'Int32' to expected argument type 'Int'
 67 |                 ctx,
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
    |                 `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
 70 |                     | SSL_OP_NO_SSLv3
 71 |                     | SSL_OP_NO_COMPRESSION,
[159/166] Compiling TLS Error.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
    |                                          `- error: cannot find type 'SSL_METHOD' in scope
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
  8 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
 18 |     /// https://stackoverflow.com/a/37887068/2611971
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
    |         `- error: cannot find 'SSL_library_init' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
2093 |
2094 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
2095 | #  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
     |           `- note: macro 'SSL_library_init' unavailable: function like macros not supported
2096 | # endif
2097 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
 21 |         SSL_load_error_strings()
    |         `- error: cannot find 'SSL_load_error_strings' in scope
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1706 |
1707 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1708 | #  define SSL_load_error_strings() \
     |           `- note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1709 |     OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
1710 |                      | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
    |         `- error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 24 |         return true
 25 |     }()
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1144 |
1145 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1146 | #  define OPENSSL_add_all_algorithms_conf() \
     |           `- note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1147 |     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
1148 |                         | OPENSSL_INIT_ADD_ALL_DIGESTS \
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:50:22: error: cannot find 'SSLv23_server_method' in scope
 48 |         switch mode {
 49 |         case .server:
 50 |             method = SSLv23_server_method()
    |                      `- error: cannot find 'SSLv23_server_method' in scope
 51 |         case .client:
 52 |             method = SSLv23_client_method()
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:52:22: error: cannot find 'SSLv23_client_method' in scope
 50 |             method = SSLv23_server_method()
 51 |         case .client:
 52 |             method = SSLv23_client_method()
    |                      `- error: cannot find 'SSLv23_client_method' in scope
 53 |         }
 54 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:63:42: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
 61 |         }
 62 |
 63 |         SSL_CTX_ctrl(ctx, SSL_CTRL_MODE, SSL_MODE_AUTO_RETRY, nil)
    |                                          `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
 64 |
 65 |         if mode == .client {
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:68:17: error: cannot find 'SSL_CTRL_OPTIONS' in scope
 66 |             SSL_CTX_ctrl(
 67 |                 ctx,
 68 |                 SSL_CTRL_OPTIONS,
    |                 `- error: cannot find 'SSL_CTRL_OPTIONS' in scope
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:70:23: error: cannot find 'SSL_OP_NO_SSLv3' in scope
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
    |                       `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
 71 |                     | SSL_OP_NO_COMPRESSION,
 72 |                 nil
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 416 |      */
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
     |          `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:71:23: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
 71 |                     | SSL_OP_NO_COMPRESSION,
    |                       `- error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
 72 |                 nil
 73 |             )
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 385 | # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION   SSL_OP_BIT(16)
 386 |     /* Don't use compression even if supported */
 387 | # define SSL_OP_NO_COMPRESSION                           SSL_OP_BIT(17)
     |          `- note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 388 |     /* Permit unsafe legacy renegotiation */
 389 | # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION        SSL_OP_BIT(18)
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:70:21: error: cannot convert value of type 'Int32' to expected argument type 'Int'
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
    |                     `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
 71 |                     | SSL_OP_NO_COMPRESSION,
 72 |                 nil
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:69:17: error: cannot convert value of type 'Int32' to expected argument type 'Int'
 67 |                 ctx,
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
    |                 `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
 70 |                     | SSL_OP_NO_SSLv3
 71 |                     | SSL_OP_NO_COMPRESSION,
[160/166] Compiling TLS Mode.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[161/166] Compiling TLS ReadableSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[162/166] Compiling TLS Exports.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[163/166] Compiling TLS InternetSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
error: emit-module command failed with exit code 1 (use -v to see invocation)
[164/166] Emitting module TLS
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
    |                                          `- error: cannot find type 'SSL_METHOD' in scope
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
  8 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
 18 |     /// https://stackoverflow.com/a/37887068/2611971
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
    |         `- error: cannot find 'SSL_library_init' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
2093 |
2094 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
2095 | #  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
     |           `- note: macro 'SSL_library_init' unavailable: function like macros not supported
2096 | # endif
2097 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
 21 |         SSL_load_error_strings()
    |         `- error: cannot find 'SSL_load_error_strings' in scope
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1706 |
1707 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1708 | #  define SSL_load_error_strings() \
     |           `- note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1709 |     OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
1710 |                      | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
    |         `- error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 24 |         return true
 25 |     }()
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1144 |
1145 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1146 | #  define OPENSSL_add_all_algorithms_conf() \
     |           `- note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1147 |     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
1148 |                         | OPENSSL_INIT_ADD_ALL_DIGESTS \
[165/166] Compiling TLS Certificates.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[166/166] Compiling TLS ClientSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/26] Emitting module libc
[3/26] Compiling libc libc.swift
[4/27] Compiling Bits Bytes+Percent.swift
[5/27] Compiling Bits BytesConvertible.swift
[6/29] Compiling PathIndexable PathIndexable.swift
[8/29] Compiling Bits Operators.swift
[9/29] Compiling Bits String+BytesConvertible.swift
[10/29] Compiling Bits Data+BytesConvertible.swift
[11/29] Compiling Bits HexEncoder.swift
[12/29] Emitting module PathIndexable
[13/29] Compiling PathIndexable PathIndexable+Subscripting.swift
[14/30] Compiling Debugging Debuggable.swift
[15/30] Emitting module Debugging
[16/31] Compiling Bits UnsignedInteger+BytesConvertible.swift
[17/31] Compiling Bits UnsignedInteger+Shifting.swift
[20/31] Compiling Bits Aliases.swift
[21/31] Compiling Bits Base64Encoder.swift
[22/31] Compiling Bits Byte+Alphabet.swift
[23/31] Emitting module Bits
[24/31] Compiling Bits Bytes+Base64.swift
[25/31] Compiling Bits Bytes+Hex.swift
[26/31] Compiling Bits Byte+Random.swift
[27/31] Compiling Bits Byte+UTF8Numbers.swift
[28/31] Compiling Bits ByteSequence+Conversions.swift
[29/31] Compiling Bits Byte+ControlCharacters.swift
[30/31] Compiling Bits Byte+Convenience.swift
[31/31] Compiling Bits Byte+PatternMatching.swift
[33/54] Compiling Core Extendable.swift
[34/54] Compiling Core FileProtocol.swift
[35/54] Compiling Core Int+Hex.swift
[36/56] Compiling Core Result.swift
[37/56] Compiling Core Semaphore.swift
[38/56] Compiling Core Sequence.swift
[39/56] Compiling Core DispatchTime+Utilities.swift
[40/56] Compiling Core EmptyInitializable.swift
[41/56] Compiling Core Exports.swift
[42/56] Emitting module Core
[43/56] Compiling Core Lock.swift
[44/56] Compiling Core Portal.swift
[45/56] Compiling Core RFC1123.swift
[46/56] Compiling Core Collection+Safe.swift
[47/56] Compiling Core DataFile.swift
[48/56] Compiling Core Dispatch.swift
[49/56] Compiling Core Array.swift
[50/56] Compiling Core Bits.swift
[51/56] Compiling Core Cache.swift
[52/56] Compiling Core StaticDataBuffer.swift
[53/56] Compiling Core String+CaseInsensitiveCompare.swift
[54/56] Compiling Core String+Polymorphic.swift
[55/56] Compiling Core String.swift
[56/56] Compiling Core WorkingDirectory.swift
[58/109] Compiling Random RandomProtocol.swift
[59/109] Compiling Random URandom.swift
[60/109] Compiling Random Exports.swift
[61/109] Compiling Random OSRandom.swift
[62/109] Compiling Transport Stream.swift
[63/109] Compiling Transport StreamError.swift
[64/110] Compiling Random EmptyInitializable.swift
[65/110] Emitting module Transport
[66/110] Compiling Transport FoundationStream.swift
[67/110] Compiling Transport ServerStream.swift
[68/110] Compiling Transport ReadableStream.swift
[69/110] Compiling Node Getters.swift
[70/110] Compiling Node Setters.swift
[71/110] Compiling Node Bool+Convertible.swift
[72/110] Compiling Node Date+Convertible.swift
[73/110] Compiling Random Array+Random.swift
[74/110] Emitting module Random
[75/111] Compiling Node Integer+Convertible.swift
[76/111] Compiling Node Schema+Convertible.swift
[77/111] Compiling Node SchemaWrapper+Convertible.swift
[78/111] Compiling Node String+Convertible.swift
[79/111] Compiling Node UUID+Convertible.swift
[80/111] Compiling Transport WriteableStream.swift
[81/116] Emitting module Node
[88/116] Compiling Node FloatingPoint+Convertible.swift
[89/116] Compiling Node StructuredData+PathIndexable.swift
[90/116] Compiling Node StructuredData+Polymorphic.swift
[91/116] Compiling Node StructuredData.swift
[92/116] Compiling Node StructuredDataWrapper+Cases.swift
[93/116] Compiling Node StructuredDataWrapper+Convenience.swift
[94/116] Compiling Node NodeRepresentable.swift
[95/116] Compiling Node Array+Convertible.swift
[96/116] Compiling Node Dictionary+Convertible.swift
[97/116] Compiling Node Fuzzy+Any.swift
[98/116] Compiling Node FuzzyConverter.swift
[99/116] Compiling Node UnsignedInteger+Convertible.swift
[100/116] Compiling Node Context.swift
[101/116] Compiling Node Node.swift
[102/116] Compiling Node NodeConvertible.swift
[103/116] Compiling Node NodeInitializable.swift
[104/116] Compiling Node StructuredDataWrapper+Equatable.swift
[105/116] Compiling Node StructuredDataWrapper+Literals.swift
[106/116] Compiling Node StructuredDataWrapper+PathIndexable.swift
[107/116] Compiling Node StructuredDataWrapper+Polymorphic.swift
[108/116] Compiling Node Optional+Convertible.swift
[109/116] Compiling Node Set+Convertible.swift
[110/116] Compiling Node Number.swift
[111/116] Compiling Node StructuredData+Equatable.swift
[112/116] Compiling Node StructuredData+Init.swift
[113/116] Compiling Node StructuredDataWrapper.swift
[114/116] Compiling Node Errors.swift
[115/116] Compiling Node Exports.swift
[116/116] Compiling Node Identifier.swift
[118/138] Compiling Sockets TCPReadableSocket.swift
[119/138] Compiling Sockets TCPSocket.swift
[120/140] Compiling Sockets Types.swift
[121/140] Compiling Sockets Exports.swift
[122/140] Compiling Sockets Config.swift
[123/140] Compiling Sockets Descriptor.swift
[124/140] Compiling Sockets InternetSocket.swift
[125/140] Compiling Sockets Pipe.swift
[126/140] Compiling Sockets RawSocket.swift
[127/140] Compiling Sockets Select.swift
[128/140] Compiling Sockets Socket.swift
[129/140] Compiling Sockets SocketOptions.swift
[130/140] Compiling Sockets TCPEstablishedSocket.swift
[131/140] Compiling Sockets TCPInternetSocket.swift
[132/140] Compiling Sockets Conversions.swift
[133/140] Compiling Sockets Error.swift
[134/140] Compiling Sockets FDSet.swift
[135/140] Emitting module Sockets
[136/140] Compiling Sockets Address+C.swift
[137/140] Compiling Sockets Address.swift
[138/140] Compiling Sockets Buffer.swift
[139/140] Compiling Sockets TCPWriteableSocket.swift
[140/140] Compiling Sockets UDPSocket.swift
[142/153] Compiling TLS Exports.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[143/153] Compiling TLS InternetSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[144/154] Compiling TLS Mode.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[145/154] Compiling TLS ReadableSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[146/154] Compiling TLS ServerSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[147/154] Compiling TLS Socket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[148/154] Compiling TLS Utilities.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[149/154] Emitting module TLS
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
    |                                          `- error: cannot find type 'SSL_METHOD' in scope
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
  8 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
 18 |     /// https://stackoverflow.com/a/37887068/2611971
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
    |         `- error: cannot find 'SSL_library_init' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
2093 |
2094 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
2095 | #  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
     |           `- note: macro 'SSL_library_init' unavailable: function like macros not supported
2096 | # endif
2097 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
 21 |         SSL_load_error_strings()
    |         `- error: cannot find 'SSL_load_error_strings' in scope
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1706 |
1707 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1708 | #  define SSL_load_error_strings() \
     |           `- note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1709 |     OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
1710 |                      | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
    |         `- error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 24 |         return true
 25 |     }()
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1144 |
1145 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1146 | #  define OPENSSL_add_all_algorithms_conf() \
     |           `- note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1147 |     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
1148 |                         | OPENSSL_INIT_ADD_ALL_DIGESTS \
[150/154] Compiling TLS Certificates.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[151/154] Compiling TLS ClientSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[152/154] Compiling TLS Context.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
    |                                          `- error: cannot find type 'SSL_METHOD' in scope
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
  8 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
 18 |     /// https://stackoverflow.com/a/37887068/2611971
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
    |         `- error: cannot find 'SSL_library_init' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
2093 |
2094 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
2095 | #  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
     |           `- note: macro 'SSL_library_init' unavailable: function like macros not supported
2096 | # endif
2097 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
 21 |         SSL_load_error_strings()
    |         `- error: cannot find 'SSL_load_error_strings' in scope
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1706 |
1707 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1708 | #  define SSL_load_error_strings() \
     |           `- note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1709 |     OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
1710 |                      | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
    |         `- error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 24 |         return true
 25 |     }()
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1144 |
1145 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1146 | #  define OPENSSL_add_all_algorithms_conf() \
     |           `- note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1147 |     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
1148 |                         | OPENSSL_INIT_ADD_ALL_DIGESTS \
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:50:22: error: cannot find 'SSLv23_server_method' in scope
 48 |         switch mode {
 49 |         case .server:
 50 |             method = SSLv23_server_method()
    |                      `- error: cannot find 'SSLv23_server_method' in scope
 51 |         case .client:
 52 |             method = SSLv23_client_method()
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:52:22: error: cannot find 'SSLv23_client_method' in scope
 50 |             method = SSLv23_server_method()
 51 |         case .client:
 52 |             method = SSLv23_client_method()
    |                      `- error: cannot find 'SSLv23_client_method' in scope
 53 |         }
 54 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:63:42: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
 61 |         }
 62 |
 63 |         SSL_CTX_ctrl(ctx, SSL_CTRL_MODE, SSL_MODE_AUTO_RETRY, nil)
    |                                          `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
 64 |
 65 |         if mode == .client {
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:68:17: error: cannot find 'SSL_CTRL_OPTIONS' in scope
 66 |             SSL_CTX_ctrl(
 67 |                 ctx,
 68 |                 SSL_CTRL_OPTIONS,
    |                 `- error: cannot find 'SSL_CTRL_OPTIONS' in scope
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:70:23: error: cannot find 'SSL_OP_NO_SSLv3' in scope
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
    |                       `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
 71 |                     | SSL_OP_NO_COMPRESSION,
 72 |                 nil
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 416 |      */
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
     |          `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:71:23: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
 71 |                     | SSL_OP_NO_COMPRESSION,
    |                       `- error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
 72 |                 nil
 73 |             )
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 385 | # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION   SSL_OP_BIT(16)
 386 |     /* Don't use compression even if supported */
 387 | # define SSL_OP_NO_COMPRESSION                           SSL_OP_BIT(17)
     |          `- note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 388 |     /* Permit unsafe legacy renegotiation */
 389 | # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION        SSL_OP_BIT(18)
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:69:17: error: cannot convert value of type 'Int32' to expected argument type 'Int'
 67 |                 ctx,
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
    |                 `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
 70 |                     | SSL_OP_NO_SSLv3
 71 |                     | SSL_OP_NO_COMPRESSION,
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:70:21: error: cannot convert value of type 'Int32' to expected argument type 'Int'
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
    |                     `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
 71 |                     | SSL_OP_NO_COMPRESSION,
 72 |                 nil
[153/154] Compiling TLS Error.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
    |                                          `- error: cannot find type 'SSL_METHOD' in scope
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
  8 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
 18 |     /// https://stackoverflow.com/a/37887068/2611971
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
    |         `- error: cannot find 'SSL_library_init' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
2093 |
2094 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
2095 | #  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
     |           `- note: macro 'SSL_library_init' unavailable: function like macros not supported
2096 | # endif
2097 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
 21 |         SSL_load_error_strings()
    |         `- error: cannot find 'SSL_load_error_strings' in scope
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1706 |
1707 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1708 | #  define SSL_load_error_strings() \
     |           `- note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1709 |     OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
1710 |                      | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
    |         `- error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 24 |         return true
 25 |     }()
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1144 |
1145 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1146 | #  define OPENSSL_add_all_algorithms_conf() \
     |           `- note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1147 |     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
1148 |                         | OPENSSL_INIT_ADD_ALL_DIGESTS \
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:50:22: error: cannot find 'SSLv23_server_method' in scope
 48 |         switch mode {
 49 |         case .server:
 50 |             method = SSLv23_server_method()
    |                      `- error: cannot find 'SSLv23_server_method' in scope
 51 |         case .client:
 52 |             method = SSLv23_client_method()
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:52:22: error: cannot find 'SSLv23_client_method' in scope
 50 |             method = SSLv23_server_method()
 51 |         case .client:
 52 |             method = SSLv23_client_method()
    |                      `- error: cannot find 'SSLv23_client_method' in scope
 53 |         }
 54 |
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:63:42: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
 61 |         }
 62 |
 63 |         SSL_CTX_ctrl(ctx, SSL_CTRL_MODE, SSL_MODE_AUTO_RETRY, nil)
    |                                          `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
 64 |
 65 |         if mode == .client {
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:68:17: error: cannot find 'SSL_CTRL_OPTIONS' in scope
 66 |             SSL_CTX_ctrl(
 67 |                 ctx,
 68 |                 SSL_CTRL_OPTIONS,
    |                 `- error: cannot find 'SSL_CTRL_OPTIONS' in scope
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:70:23: error: cannot find 'SSL_OP_NO_SSLv3' in scope
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
    |                       `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
 71 |                     | SSL_OP_NO_COMPRESSION,
 72 |                 nil
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 416 |      */
 417 | # define SSL_OP_NO_ANTI_REPLAY                           SSL_OP_BIT(24)
 418 | # define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
     |          `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
 419 | # define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
 420 | # define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:71:23: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
 71 |                     | SSL_OP_NO_COMPRESSION,
    |                       `- error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
 72 |                 nil
 73 |             )
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 385 | # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION   SSL_OP_BIT(16)
 386 |     /* Don't use compression even if supported */
 387 | # define SSL_OP_NO_COMPRESSION                           SSL_OP_BIT(17)
     |          `- note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 388 |     /* Permit unsafe legacy renegotiation */
 389 | # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION        SSL_OP_BIT(18)
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:69:17: error: cannot convert value of type 'Int32' to expected argument type 'Int'
 67 |                 ctx,
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
    |                 `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
 70 |                     | SSL_OP_NO_SSLv3
 71 |                     | SSL_OP_NO_COMPRESSION,
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:70:21: error: cannot convert value of type 'Int32' to expected argument type 'Int'
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
    |                     `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
 71 |                     | SSL_OP_NO_COMPRESSION,
 72 |                 nil
[154/154] Compiling TLS WriteableSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
BUILD FAILURE 6.1 linux