Build Information
Failed to build Sugar with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ml-archive/sugar.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/ml-archive/sugar
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 341b836 Merge pull request #102 from nodes-vapor/release/4.0.0
Cloned https://github.com/ml-archive/sugar.git
Revision (git rev-parse @):
341b836b567c8e87368facd475f592a3231ed289
SUCCESS checkout https://github.com/ml-archive/sugar.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $workDir
https://github.com/ml-archive/sugar.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/vapor/redis.git
Fetching https://github.com/vapor/leaf.git
Fetching https://github.com/vapor/jwt.git
[1/3884] Fetching leaf
[2992/6380] Fetching leaf, jwt
[3833/9912] Fetching leaf, jwt, redis
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/vapor/leaf.git (0.30s)
Fetched https://github.com/vapor/jwt.git (0.30s)
Fetching https://github.com/vapor/fluent.git
Fetched https://github.com/vapor/redis.git (0.31s)
Fetching https://github.com/vapor/auth.git
[1/1048] Fetching auth
[1049/14353] Fetching auth, fluent
Fetched https://github.com/vapor/auth.git (0.25s)
[4923/13305] Fetching fluent
[10379/80947] Fetching fluent, vapor
Fetched https://github.com/vapor/fluent.git (0.68s)
[13529/67642] Fetching vapor
Fetched https://github.com/vapor/vapor.git (1.87s)
Computing version for https://github.com/vapor/leaf.git
Computed https://github.com/vapor/leaf.git at 3.0.2 (0.50s)
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/template-kit.git
Fetching https://github.com/vapor/service.git
[1/20143] Fetching core
[1009/21425] Fetching core, template-kit
[1010/22344] Fetching core, template-kit, service
Fetched https://github.com/vapor/template-kit.git (0.73s)
Fetched https://github.com/vapor/service.git (0.73s)
Fetched https://github.com/vapor/core.git (0.75s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.32s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 3.1.2 (0.33s)
Fetching https://github.com/vapor/crypto.git
[1/2786] Fetching crypto
Fetched https://github.com/vapor/crypto.git (0.26s)
Computing version for https://github.com/vapor/auth.git
Computed https://github.com/vapor/auth.git at 2.0.4 (0.33s)
Fetching https://github.com/vapor/fluent-sqlite.git
Fetching https://github.com/vapor/http.git
[1/1188] Fetching fluent-sqlite
[25/26655] Fetching fluent-sqlite, http
Fetched https://github.com/vapor/fluent-sqlite.git (0.74s)
Fetched https://github.com/vapor/http.git (0.77s)
Computing version for https://github.com/vapor/fluent-sqlite.git
Computed https://github.com/vapor/fluent-sqlite.git at 3.0.0 (0.44s)
Fetching https://github.com/vapor/sqlite.git
[1/2011] Fetching sqlite
Fetched https://github.com/vapor/sqlite.git (0.65s)
Computing version for https://github.com/vapor/sqlite.git
Computed https://github.com/vapor/sqlite.git at 3.3.0 (1.67s)
Fetching https://github.com/vapor/sql.git
Fetching https://github.com/vapor/database-kit.git
[1/1181] Fetching database-kit
[1182/6921] Fetching database-kit, sql
Fetched https://github.com/vapor/database-kit.git (0.38s)
Fetched https://github.com/vapor/sql.git (0.38s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.78s)
Computing version for https://github.com/vapor/sql.git
Computed https://github.com/vapor/sql.git at 2.3.2 (0.40s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.33s)
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/url-encoded-form.git
[1/579] Fetching validation
[227/960] Fetching validation, url-encoded-form
[961/3397] Fetching validation, url-encoded-form, websocket
Fetched https://github.com/vapor/validation.git (0.24s)
Fetching https://github.com/vapor/routing.git
Fetched https://github.com/vapor/url-encoded-form.git (0.27s)
Fetching https://github.com/vapor/multipart.git
Fetched https://github.com/vapor/websocket.git (0.28s)
Fetching https://github.com/vapor/console.git
[1/20668] Fetching routing
[1448/22438] Fetching routing, multipart
[4218/27716] Fetching routing, multipart, console
Fetched https://github.com/vapor/console.git (0.33s)
[16618/22438] Fetching routing, multipart
Fetched https://github.com/vapor/routing.git (0.75s)
[514/1770] Fetching multipart
Fetched https://github.com/vapor/multipart.git (1.32s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.36s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/12238] Fetching swift-nio-ssl
[1225/77565] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (4.33s)
Fetched https://github.com/apple/swift-nio.git (4.40s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.34s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (1.34s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.25s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.55s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (1.83s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.35s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.36s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.21s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.32s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.34s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.37s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.37s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.2.1 (0.34s)
Computing version for https://github.com/vapor/redis.git
Computed https://github.com/vapor/redis.git at 3.4.0 (0.34s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.1.0 (0.34s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.39s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.36s)
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 1.4.0
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/sql.git
Working copy of https://github.com/vapor/sql.git resolved at 2.3.2
Creating working copy for https://github.com/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.3
Creating working copy for https://github.com/vapor/fluent-sqlite.git
Working copy of https://github.com/vapor/fluent-sqlite.git resolved at 3.0.0
Creating working copy for https://github.com/vapor/redis.git
Working copy of https://github.com/vapor/redis.git resolved at 3.4.0
Creating working copy for https://github.com/vapor/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/vapor/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.0
Creating working copy for https://github.com/vapor/leaf.git
Working copy of https://github.com/vapor/leaf.git resolved at 3.0.2
Creating working copy for https://github.com/vapor/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.0
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
Creating working copy for https://github.com/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 3.2.1
Creating working copy for https://github.com/vapor/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 3.1.2
Creating working copy for https://github.com/vapor/auth.git
Working copy of https://github.com/vapor/auth.git resolved at 2.0.4
Creating working copy for https://github.com/vapor/sqlite.git
Working copy of https://github.com/vapor/sqlite.git resolved at 3.3.0
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/13] Compiling CNIOZlib empty.c
[1/13] Compiling CNIOSHA1 c_nio_sha1.c
[2/13] Compiling CBase32 base32.c
[3/13] Compiling CBcrypt bcrypt.c
[4/13] Compiling CNIOLinux ifaddrs-android.c
[5/13] Compiling CBcrypt blf.c
[6/13] Compiling CNIOLinux shim.c
[7/13] Compiling CNIODarwin shim.c
[8/13] Compiling CNIOHTTPParser c_nio_http_parser.c
[9/13] Compiling CNIOOpenSSL helpers.c
[10/13] Compiling CNIOOpenSSL shims.c
[11/22] Compiling CCryptoOpenSSL shim.c
[12/22] Compiling c-atomics.c
[14/25] Compiling NIOPriorityQueue PriorityQueue.swift
[15/25] Compiling Debugging SourceLocation.swift
[16/25] Compiling Debugging Demangler.swift
[17/25] Emitting module NIOConcurrencyHelpers
[18/25] Compiling NIOConcurrencyHelpers atomics.swift
[19/25] Compiling NIOConcurrencyHelpers lock.swift
[20/26] Emitting module COperatingSystem
[21/26] Compiling COperatingSystem libc.swift
[26/29] Compiling Debugging Debuggable.swift
[27/29] Emitting module Debugging
[30/31] Emitting module NIOPriorityQueue
[31/31] Compiling NIOPriorityQueue Heap.swift
[34/83] Compiling NIO Heap.swift
[35/83] Compiling NIO IO.swift
[36/83] Compiling NIO IOData.swift
[37/83] Compiling NIO IntegerTypes.swift
[38/83] Compiling NIO Interfaces.swift
[39/83] Compiling NIO Linux.swift
[40/83] Compiling NIO LinuxCPUSet.swift
[41/89] Compiling NIO RecvByteBufferAllocator.swift
[42/89] Compiling NIO Resolver.swift
[43/89] Compiling NIO Selectable.swift
[44/89] Compiling NIO Selector.swift
[45/89] Compiling NIO ServerSocket.swift
[46/89] Compiling NIO Socket.swift
[47/89] Compiling NIO SocketAddresses.swift
[48/89] Compiling NIO MarkedCircularBuffer.swift
[49/89] Compiling NIO MulticastChannel.swift
[50/89] Compiling NIO NIOAny.swift
[51/89] Compiling NIO NonBlockingFileIO.swift
[52/89] Compiling NIO PendingDatagramWritesManager.swift
[53/89] Compiling NIO PendingWritesManager.swift
[54/89] Compiling NIO PriorityQueue.swift
[55/89] Compiling NIO EventLoop.swift
[56/89] Compiling NIO EventLoopFuture.swift
[57/89] Compiling NIO FileDescriptor.swift
[58/89] Compiling NIO FileHandle.swift
[59/89] Compiling NIO FileRegion.swift
[60/89] Compiling NIO GetaddrinfoResolver.swift
[61/89] Compiling NIO HappyEyeballs.swift
[62/89] Compiling NIO ByteBuffer-int.swift
[63/89] Compiling NIO ByteBuffer-views.swift
[64/89] Compiling NIO Channel.swift
[65/89] Compiling NIO ChannelHandler.swift
[66/89] Compiling NIO ChannelHandlers.swift
[67/89] Compiling NIO ChannelInvoker.swift
[68/89] Compiling NIO ChannelOption.swift
[69/89] Compiling NIO ChannelPipeline.swift
[70/89] Compiling NIO CircularBuffer.swift
[71/89] Compiling NIO Codec.swift
[72/89] Compiling NIO CompositeError.swift
[73/89] Compiling NIO ContiguousCollection.swift
[74/89] Compiling NIO DeadChannel.swift
[75/89] Compiling NIO Embedded.swift
[76/89] Compiling NIO SocketChannel.swift
[77/89] Compiling NIO SocketOptionProvider.swift
[78/89] Compiling NIO System.swift
[79/89] Compiling NIO Thread.swift
[80/89] Compiling NIO TypeAssistedChannelHandler.swift
[81/89] Compiling NIO Utilities.swift
[82/89] Emitting module NIO
[83/89] Compiling NIO AddressedEnvelope.swift
[84/89] Compiling NIO BaseSocket.swift
[85/89] Compiling NIO BaseSocketChannel.swift
[86/89] Compiling NIO BlockingIOThreadPool.swift
[87/89] Compiling NIO Bootstrap.swift
[88/89] Compiling NIO ByteBuffer-aux.swift
[89/89] Compiling NIO ByteBuffer-core.swift
[92/133] Compiling NIOTLS TLSEvents.swift
[93/133] Emitting module Async
[94/134] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[95/134] Emitting module NIOTLS
[96/134] Compiling Async Worker.swift
[97/134] Emitting module NIOFoundationCompat
[98/134] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[99/134] Compiling Bits Data+Bytes.swift
[100/135] Compiling NIOHTTP1 ByteCollectionUtils.swift
[101/135] Compiling NIOHTTP1 HTTPDecoder.swift
[102/135] Compiling Bits Bytes.swift
[104/137] Compiling Bits Deprecated.swift
[106/137] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[107/137] Compiling Bits ByteBuffer+peek.swift
[108/137] Compiling Async Future+Flatten.swift
[109/137] Compiling Async Future+Global.swift
[110/137] Compiling Bits ByteBuffer+require.swift
[111/137] Compiling Bits ByteBuffer+string.swift
[112/137] Compiling Async Future+Variadic.swift
[113/137] Compiling Async Future+Void.swift
[114/137] Compiling Bits Byte+Control.swift
[115/137] Compiling Bits Byte+Digit.swift
[116/137] Emitting module Bits
[121/137] Compiling Bits Data+Strings.swift
[126/138] Compiling Async FutureType.swift
[127/138] Compiling Async QueueHandler.swift
[129/138] Compiling NIOTLS SNIHandler.swift
[135/143] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[136/147] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[137/147] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[138/147] Compiling NIOHTTP1 HTTPEncoder.swift
[139/188] Compiling NIOHTTP1 HTTPTypes.swift
[140/188] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[141/188] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[142/188] Compiling Random Array+Random.swift
[143/188] Compiling Random OSRandom.swift
[144/188] Compiling Random RandomProtocol.swift
[145/188] Emitting module Random
[146/188] Compiling Random URandom.swift
[147/189] Compiling NIOOpenSSL SSLConnection.swift
[148/189] Compiling NIOOpenSSL SSLContext.swift
[149/189] Compiling NIOOpenSSL SSLPKCS12Bundle.swift
[152/193] Compiling NIOOpenSSL SSLPointerTricks.swift
[153/193] Compiling NIOOpenSSL SSLErrors.swift
[154/193] Compiling NIOOpenSSL SSLInit.swift
[155/193] Emitting module NIOHTTP1
[156/193] Compiling NIOOpenSSL ByteBufferBIO.swift
[157/193] Compiling NIOOpenSSL IdentityVerification.swift
[158/194] Compiling Core NotFound.swift
[159/194] Compiling Core OptionalType.swift
[160/194] Compiling Core Process+Execute.swift
[163/195] Compiling Core Reflectable.swift
[164/195] Compiling Core String+Utilities.swift
[165/195] Compiling Core Thread+Async.swift
[166/204] Emitting module NIOOpenSSL
[167/206] Compiling NIOWebSocket Base64.swift
[168/206] Compiling NIOWebSocket SHA1.swift
[169/206] Compiling NIOOpenSSL OpenSSLClientHandler.swift
[170/206] Compiling NIOOpenSSL OpenSSLHandler.swift
[171/206] Compiling Core ReflectionDecoders.swift
[172/206] Compiling NIOOpenSSL PosixPort.swift
[173/206] Compiling NIOOpenSSL SSLCertificate.swift
[174/206] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[175/207] Compiling NIOWebSocket WebSocketOpcode.swift
[176/207] Emitting module NIOWebSocket
[179/207] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[180/207] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[181/207] Compiling NIOWebSocket WebSocketErrorCodes.swift
[182/207] Compiling NIOWebSocket WebSocketFrame.swift
[183/207] Compiling NIOWebSocket WebSocketUpgrader.swift
[185/209] Compiling NIOOpenSSL SSLPrivateKey.swift
[186/209] Compiling NIOOpenSSL SSLPublicKey.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:29: error: cannot find 'SSL_get_peer_certificate' in scope
guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:55: error: cannot infer contextual base in reference to member 'make'
guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
~^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:130:34: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
var opensslOptions = Int(SSL_OP_NO_COMPRESSION)
^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' not imported: structure not supported
# define SSL_OP_NO_COMPRESSION SSL_OP_BIT(17)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:135:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' not imported: structure not supported
# define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:138:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' not imported: structure not supported
# define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:141:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1)
^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' not imported: structure not supported
# define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:144:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
opensslOptions |= Int(SSL_OP_NO_SSLv3)
^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' not imported: structure not supported
# define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:155:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
opensslOptions |= Int(SSL_OP_NO_SSLv3)
^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' not imported: structure not supported
# define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:158:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1)
^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' not imported: structure not supported
# define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:161:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' not imported: structure not supported
# define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:164:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' not imported: structure not supported
# define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:167:35: error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
opensslOptions |= Int(CNIOOpenSSL_SSL_OP_NO_TLSv1_3)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:29: error: cannot find 'SSL_get_peer_certificate' in scope
guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:55: error: cannot infer contextual base in reference to member 'make'
guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
~^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:130:34: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
var opensslOptions = Int(SSL_OP_NO_COMPRESSION)
^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' not imported: structure not supported
# define SSL_OP_NO_COMPRESSION SSL_OP_BIT(17)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:135:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' not imported: structure not supported
# define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:138:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' not imported: structure not supported
# define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:141:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1)
^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' not imported: structure not supported
# define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:144:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
opensslOptions |= Int(SSL_OP_NO_SSLv3)
^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' not imported: structure not supported
# define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:155:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
opensslOptions |= Int(SSL_OP_NO_SSLv3)
^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' not imported: structure not supported
# define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:158:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1)
^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' not imported: structure not supported
# define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:161:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' not imported: structure not supported
# define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:164:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' not imported: structure not supported
# define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:167:35: error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
opensslOptions |= Int(CNIOOpenSSL_SSL_OP_NO_TLSv1_3)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[196/209] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[197/209] Compiling NIOOpenSSL TLSConfiguration.swift
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
[0/1] Planning build
Building for debugging...
[1/10] Compiling NIOOpenSSL SSLConnection.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:29: error: cannot find 'SSL_get_peer_certificate' in scope
guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:55: error: cannot infer contextual base in reference to member 'make'
guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
~^~~~
[2/10] Compiling NIOOpenSSL SSLContext.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:130:34: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
var opensslOptions = Int(SSL_OP_NO_COMPRESSION)
^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' not imported: structure not supported
# define SSL_OP_NO_COMPRESSION SSL_OP_BIT(17)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:135:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' not imported: structure not supported
# define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:138:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' not imported: structure not supported
# define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:141:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1)
^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' not imported: structure not supported
# define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:144:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
opensslOptions |= Int(SSL_OP_NO_SSLv3)
^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' not imported: structure not supported
# define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:155:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
opensslOptions |= Int(SSL_OP_NO_SSLv3)
^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' not imported: structure not supported
# define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:158:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1)
^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' not imported: structure not supported
# define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:161:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' not imported: structure not supported
# define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:164:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' not imported: structure not supported
# define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:167:35: error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
opensslOptions |= Int(CNIOOpenSSL_SSL_OP_NO_TLSv1_3)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[3/10] Emitting module NIOOpenSSL
BUILD FAILURE 5.8 linux