Build Information
Failed to build Pagination with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/pagination.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/vapor-community/pagination
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at fde552d Merge pull request #21 from mikkelu/feature/advanced-queries
Cloned https://github.com/vapor-community/pagination.git
Revision (git rev-parse @):
fde552d432d8b2085f49b59f40ab74e07a54402f
SUCCESS checkout https://github.com/vapor-community/pagination.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/vapor-community/pagination.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/fluent-sqlite.git
Fetching https://github.com/vapor/fluent.git
[1/1188] Fetching fluent-sqlite
[1189/14493] Fetching fluent-sqlite, fluent
[14494/81786] Fetching fluent-sqlite, fluent, vapor
Fetched https://github.com/vapor/fluent-sqlite.git from cache (1.77s)
Fetched https://github.com/vapor/fluent.git from cache (1.77s)
Fetched https://github.com/vapor/vapor.git from cache (1.80s)
Computing version for https://github.com/vapor/fluent-sqlite.git
Computed https://github.com/vapor/fluent-sqlite.git at 3.0.0 (0.39s)
Fetching https://github.com/vapor/sqlite.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/service.git
[1/919] Fetching service
[672/2930] Fetching service, sqlite
[1323/23073] Fetching service, sqlite, core
Fetched https://github.com/vapor/service.git from cache (0.27s)
[4432/22154] Fetching sqlite, core
Fetched https://github.com/vapor/sqlite.git from cache (0.75s)
Fetched https://github.com/vapor/core.git from cache (0.76s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.37s)
Computing version for https://github.com/vapor/sqlite.git
Computed https://github.com/vapor/sqlite.git at 3.3.0 (0.42s)
Fetching https://github.com/vapor/sql.git
Fetching https://github.com/vapor/database-kit.git
[1/1181] Fetching database-kit
[1182/6346] Fetching database-kit, sql
Fetched https://github.com/vapor/database-kit.git from cache (0.38s)
Fetched https://github.com/vapor/sql.git from cache (0.39s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.38s)
Computing version for https://github.com/vapor/sql.git
Computed https://github.com/vapor/sql.git at 2.3.2 (0.39s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.2.1 (0.41s)
Fetching https://github.com/vapor/console.git
[1/5278] Fetching console
Fetched https://github.com/vapor/console.git from cache (0.33s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.38s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.40s)
Fetching https://github.com/apple/swift-nio.git
[1/64778] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.79s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.44s)
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 from cache (0.20s)
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.39s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.42s)
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/template-kit.git
Fetching https://github.com/vapor/multipart.git
[1/579] Fetching validation
[580/3001] Fetching validation, websocket
[1477/3382] Fetching validation, websocket, url-encoded-form
[2019/4664] Fetching validation, websocket, url-encoded-form, template-kit
[2178/6390] Fetching validation, websocket, url-encoded-form, template-kit, multipart
[5166/27058] Fetching validation, websocket, url-encoded-form, template-kit, multipart, routing
Fetched https://github.com/vapor/template-kit.git from cache (0.28s)
Fetching https://github.com/vapor/http.git
[6364/25776] Fetching validation, websocket, url-encoded-form, multipart, routing
[20212/51243] Fetching validation, websocket, url-encoded-form, multipart, routing, http
Fetched https://github.com/vapor/validation.git from cache (0.86s)
Fetching https://github.com/vapor/crypto.git
[44855/50664] Fetching websocket, url-encoded-form, multipart, routing, http
[50665/53450] Fetching websocket, url-encoded-form, multipart, routing, http, crypto
Fetched https://github.com/vapor/http.git from cache (1.23s)
Fetched https://github.com/vapor/url-encoded-form.git from cache (1.58s)
Fetched https://github.com/vapor/websocket.git from cache (1.58s)
Fetched https://github.com/vapor/crypto.git from cache (0.74s)
Fetched https://github.com/vapor/routing.git from cache (1.60s)
Fetched https://github.com/vapor/multipart.git from cache (1.63s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (2.60s)
Fetching https://github.com/apple/swift-nio-ssl.git
[1/12150] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.24s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.39s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.60s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.39s)
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.40s)
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 from cache (0.27s)
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.37s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.39s)
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.45s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.41s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.41s)
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/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/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/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
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/sqlite.git
Working copy of https://github.com/vapor/sqlite.git resolved at 3.3.0
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/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/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/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/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
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.git
Working copy of https://github.com/vapor/fluent.git resolved at 3.2.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/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
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/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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
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/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
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/44] Write sources
[29/44] Compiling CNIOZlib empty.c
[30/44] Compiling CNIOLinux ifaddrs-android.c
[31/44] Compiling CNIOSHA1 c_nio_sha1.c
[32/44] Compiling CNIOLinux shim.c
[33/44] Compiling CNIODarwin shim.c
[34/44] Write swift-version-24593BA9C3E375BF.txt
[35/44] Compiling CBcrypt bcrypt.c
[36/44] Compiling CNIOHTTPParser c_nio_http_parser.c
[37/44] Compiling CBcrypt blf.c
[38/44] Compiling CNIOOpenSSL shims.c
[38/44] Write sources
[40/44] Compiling CNIOOpenSSL helpers.c
[41/44] Compiling CBase32 base32.c
[42/44] Compiling CCryptoOpenSSL shim.c
[43/53] Compiling c-atomics.c
[45/56] Compiling NIOPriorityQueue PriorityQueue.swift
[46/56] Compiling Debugging SourceLocation.swift
[47/56] Emitting module COperatingSystem
[48/56] Compiling COperatingSystem libc.swift
[49/57] Compiling Debugging Demangler.swift
[50/57] Emitting module Debugging
[51/57] Compiling Debugging Debuggable.swift
[52/58] Emitting module NIOConcurrencyHelpers
[53/58] Compiling NIOConcurrencyHelpers atomics.swift
[54/58] Compiling NIOConcurrencyHelpers lock.swift
[56/59] Emitting module NIOPriorityQueue
[57/59] Compiling NIOPriorityQueue Heap.swift
[61/110] Emitting module NIO
[62/116] Compiling NIO ChannelPipeline.swift
[63/116] Compiling NIO CircularBuffer.swift
[64/116] Compiling NIO Codec.swift
[65/116] Compiling NIO CompositeError.swift
[66/116] Compiling NIO ContiguousCollection.swift
[67/116] Compiling NIO DeadChannel.swift
[68/116] Compiling NIO Embedded.swift
[69/116] Compiling NIO Heap.swift
[70/116] Compiling NIO IO.swift
[71/116] Compiling NIO IOData.swift
[72/116] Compiling NIO IntegerTypes.swift
[73/116] Compiling NIO Interfaces.swift
[74/116] Compiling NIO Linux.swift
[75/116] Compiling NIO LinuxCPUSet.swift
[76/116] Compiling NIO MarkedCircularBuffer.swift
[77/116] Compiling NIO MulticastChannel.swift
[78/116] Compiling NIO NIOAny.swift
[79/116] Compiling NIO NonBlockingFileIO.swift
[80/116] Compiling NIO PendingDatagramWritesManager.swift
[81/116] Compiling NIO PendingWritesManager.swift
[82/116] Compiling NIO PriorityQueue.swift
[83/116] Compiling NIO RecvByteBufferAllocator.swift
[84/116] Compiling NIO Resolver.swift
[85/116] Compiling NIO Selectable.swift
[86/116] Compiling NIO Selector.swift
[87/116] Compiling NIO ServerSocket.swift
[88/116] Compiling NIO Socket.swift
[89/116] Compiling NIO SocketAddresses.swift
[90/116] Compiling NIO ByteBuffer-int.swift
[91/116] Compiling NIO ByteBuffer-views.swift
[92/116] Compiling NIO Channel.swift
[93/116] Compiling NIO ChannelHandler.swift
[94/116] Compiling NIO ChannelHandlers.swift
[95/116] Compiling NIO ChannelInvoker.swift
[96/116] Compiling NIO ChannelOption.swift
[97/116] Compiling NIO EventLoop.swift
[98/116] Compiling NIO EventLoopFuture.swift
[99/116] Compiling NIO FileDescriptor.swift
[100/116] Compiling NIO FileHandle.swift
[101/116] Compiling NIO FileRegion.swift
[102/116] Compiling NIO GetaddrinfoResolver.swift
[103/116] Compiling NIO HappyEyeballs.swift
[104/116] Compiling NIO SocketChannel.swift
[105/116] Compiling NIO SocketOptionProvider.swift
[106/116] Compiling NIO System.swift
[107/116] Compiling NIO Thread.swift
[108/116] Compiling NIO TypeAssistedChannelHandler.swift
[109/116] Compiling NIO Utilities.swift
[110/116] Compiling NIO AddressedEnvelope.swift
[111/116] Compiling NIO BaseSocket.swift
[112/116] Compiling NIO BaseSocketChannel.swift
[113/116] Compiling NIO BlockingIOThreadPool.swift
[114/116] Compiling NIO Bootstrap.swift
[115/116] Compiling NIO ByteBuffer-aux.swift
[116/116] Compiling NIO ByteBuffer-core.swift
[118/159] Emitting module NIOFoundationCompat
[119/159] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[121/160] Compiling Async Future+Variadic.swift
[122/160] Compiling Async Future+Void.swift
[123/160] Compiling Async Future+Map.swift
[124/160] Compiling Async Future+Transform.swift
[125/161] Compiling Async FutureType.swift
[126/161] Compiling Async QueueHandler.swift
[127/161] Compiling Async Exports.swift
[128/161] Compiling Async Future+DoCatch.swift
[129/161] Compiling Async Future+Flatten.swift
[130/161] Compiling Async Future+Global.swift
[131/161] Compiling Async Async+NIO.swift
[132/161] Compiling Async AsyncError.swift
[133/161] Emitting module Async
[134/161] Compiling Async Collection+Future.swift
[135/161] Compiling Async Deprecated.swift
[136/161] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[137/162] Compiling Bits Bytes.swift
[138/163] Compiling Async Worker.swift
[142/164] Emitting module Bits
[147/164] Compiling Bits Deprecated.swift
[150/164] Compiling Bits Data+Strings.swift
[151/164] Compiling Bits Data+Bytes.swift
[153/165] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[154/193] Compiling NIOTLS TLSEvents.swift
[155/193] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[156/193] Emitting module NIOTLS
[157/193] Compiling NIOTLS SNIHandler.swift
[158/193] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[159/193] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[161/194] Compiling NIOHTTP1 HTTPEncoder.swift
[162/194] Compiling Random Array+Random.swift
[163/194] Compiling Random RandomProtocol.swift
[164/210] Emitting module Random
[165/210] Compiling Random URandom.swift
[166/210] Compiling NIOOpenSSL SSLConnection.swift
[167/210] Compiling NIOOpenSSL SSLContext.swift
[168/210] Compiling NIOOpenSSL PosixPort.swift
[169/210] Compiling Random OSRandom.swift
[170/214] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[171/214] Compiling NIOHTTP1 HTTPTypes.swift
[172/214] Compiling NIOOpenSSL ByteBufferBIO.swift
[173/214] Compiling NIOOpenSSL IdentityVerification.swift
[174/214] Emitting module NIOHTTP1
[176/215] Compiling NIOOpenSSL SSLPublicKey.swift
[177/215] Compiling NIOOpenSSL SSLPKCS12Bundle.swift
[178/215] Compiling NIOOpenSSL SSLPointerTricks.swift
[180/215] Compiling Core Reflectable.swift
[181/215] Compiling Core String+Utilities.swift
[182/215] Compiling Core Thread+Async.swift
[183/217] Compiling Core NotFound.swift
[184/217] Compiling Core OptionalType.swift
[185/217] Compiling Core Process+Execute.swift
[186/224] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[187/224] Compiling NIOWebSocket Base64.swift
[188/224] Compiling NIOWebSocket SHA1.swift
[189/224] Compiling NIOWebSocket WebSocketOpcode.swift
[190/225] Compiling NIOOpenSSL SSLCertificate.swift
[191/225] Compiling NIOOpenSSL OpenSSLHandler.swift
[192/225] Compiling NIOOpenSSL OpenSSLServerHandler.swift
[193/225] Compiling NIOOpenSSL SSLPrivateKey.swift
[196/225] Compiling NIOOpenSSL OpenSSLClientHandler.swift
[197/225] Emitting module NIOWebSocket
[198/225] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[199/225] Compiling NIOWebSocket WebSocketFrame.swift
[200/225] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[201/225] Compiling NIOWebSocket WebSocketErrorCodes.swift
[202/225] Compiling NIOWebSocket WebSocketUpgrader.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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[208/228] Emitting module NIOOpenSSL
[211/228] Compiling NIOOpenSSL SSLErrors.swift
[212/228] Compiling NIOOpenSSL SSLInit.swift
[220/228] Emitting module Core
[221/228] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[222/228] Compiling NIOOpenSSL TLSConfiguration.swift
error: fatalError
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...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling Core NestedData.swift
[3/8] Emitting module NIOOpenSSL
[4/8] 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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' unavailable: 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)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5/8] 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 {
~^~~~
error: fatalError
BUILD FAILURE 5.10 linux