Build Information
Failed to build Sugar with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path: $workDir
https://github.com/ml-archive/sugar.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/vapor/jwt.git
Fetching https://github.com/vapor/redis.git
Fetching https://github.com/vapor/leaf.git
[1/3884] Fetching leaf
[390/7416] Fetching leaf, redis
[7417/9912] Fetching leaf, redis, jwt
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/vapor/redis.git (0.35s)
Fetched https://github.com/vapor/leaf.git (0.36s)
Fetching https://github.com/vapor/fluent.git
Fetched https://github.com/vapor/jwt.git (0.36s)
Fetching https://github.com/vapor/auth.git
[1/13305] Fetching fluent
[2/14353] Fetching fluent, auth
Fetched https://github.com/vapor/auth.git (0.26s)
[5456/13305] Fetching fluent
[10512/80947] Fetching fluent, vapor
Fetched https://github.com/vapor/fluent.git (0.66s)
[13529/67642] Fetching vapor
Fetched https://github.com/vapor/vapor.git (1.76s)
Computing version for https://github.com/vapor/leaf.git
Computed https://github.com/vapor/leaf.git at 3.0.2 (0.36s)
Fetching https://github.com/vapor/template-kit.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/service.git
[1/919] Fetching service
[920/21062] Fetching service, core
[921/22344] Fetching service, core, template-kit
Fetched https://github.com/vapor/template-kit.git (0.68s)
Fetched https://github.com/vapor/service.git (0.68s)
Fetched https://github.com/vapor/core.git (0.70s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.38s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 3.1.2 (0.37s)
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.36s)
Fetching https://github.com/vapor/http.git
Fetching https://github.com/vapor/fluent-sqlite.git
[1/25467] Fetching http
[5095/26655] Fetching http, fluent-sqlite
Fetched https://github.com/vapor/fluent-sqlite.git (0.30s)
[11715/25467] Fetching http
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.40s)
Fetching https://github.com/vapor/sqlite.git
[1/2011] Fetching sqlite
Fetched https://github.com/vapor/sqlite.git (0.56s)
Computing version for https://github.com/vapor/sqlite.git
Computed https://github.com/vapor/sqlite.git at 3.3.0 (0.37s)
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.40s)
Fetched https://github.com/vapor/sql.git (0.40s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.35s)
Computing version for https://github.com/vapor/sql.git
Computed https://github.com/vapor/sql.git at 2.3.2 (0.37s)
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
[1/579] Fetching validation
[580/960] Fetching validation, url-encoded-form
[961/3397] Fetching validation, url-encoded-form, websocket
Fetched https://github.com/vapor/url-encoded-form.git (0.28s)
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/multipart.git
Fetched https://github.com/vapor/validation.git (0.28s)
Fetched https://github.com/vapor/websocket.git (0.30s)
Fetching https://github.com/vapor/console.git
[1/20668] Fetching routing
[2/25946] Fetching routing, console
[1462/27716] Fetching routing, console, multipart
Fetched https://github.com/vapor/console.git (0.39s)
[16618/22438] Fetching routing, multipart
Fetched https://github.com/vapor/routing.git (1.44s)
Fetched https://github.com/vapor/multipart.git (1.47s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.45s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/12238] Fetching swift-nio-ssl
[1470/77565] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (4.15s)
Fetched https://github.com/apple/swift-nio.git (4.23s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.45s)
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.50s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.43s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.36s)
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.43s)
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.26s)
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.38s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.55s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.64s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.55s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.2.1 (0.45s)
Computing version for https://github.com/vapor/redis.git
Computed https://github.com/vapor/redis.git at 3.4.0 (0.36s)
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.50s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.61s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.55s)
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/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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
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/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/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/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
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/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-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/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/auth.git
Working copy of https://github.com/vapor/auth.git resolved at 2.0.4
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/redis.git
Working copy of https://github.com/vapor/redis.git resolved at 3.4.0
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/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
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/leaf.git
Working copy of https://github.com/vapor/leaf.git resolved at 3.0.2
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/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/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.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 CBcrypt bcrypt.c
[3/13] Compiling CNIOLinux shim.c
[4/13] Compiling CNIOLinux ifaddrs-android.c
[5/13] Compiling CBcrypt blf.c
[6/13] Compiling CNIODarwin shim.c
[7/13] Compiling CBase32 base32.c
[8/13] Compiling CNIOOpenSSL helpers.c
[9/13] Compiling CCryptoOpenSSL shim.c
[10/13] Compiling CNIOOpenSSL shims.c
[11/13] Compiling CNIOHTTPParser c_nio_http_parser.c
[13/22] Emitting module NIOPriorityQueue
[13/22] Compiling c-atomics.c
[15/25] Compiling Debugging SourceLocation.swift
[16/25] Compiling NIOPriorityQueue PriorityQueue.swift
[17/25] Compiling COperatingSystem libc.swift
[18/25] Emitting module COperatingSystem
[21/27] Compiling Debugging Demangler.swift
[22/27] Compiling NIOConcurrencyHelpers atomics.swift
[23/27] Emitting module NIOConcurrencyHelpers
[24/27] Compiling NIOConcurrencyHelpers lock.swift
[25/28] Emitting module Debugging
[26/28] Compiling Debugging Debuggable.swift
[27/29] Compiling NIOPriorityQueue Heap.swift
[34/83] Compiling NIO ByteBuffer-int.swift
[35/83] Compiling NIO ByteBuffer-views.swift
[36/83] Compiling NIO Channel.swift
[37/83] Compiling NIO ChannelHandler.swift
[38/83] Compiling NIO ChannelHandlers.swift
[39/83] Compiling NIO ChannelInvoker.swift
[40/83] Compiling NIO ChannelOption.swift
[41/89] Emitting module NIO
[42/89] Compiling NIO RecvByteBufferAllocator.swift
[43/89] Compiling NIO Resolver.swift
[44/89] Compiling NIO Selectable.swift
[45/89] Compiling NIO Selector.swift
[46/89] Compiling NIO ServerSocket.swift
[47/89] Compiling NIO Socket.swift
[48/89] Compiling NIO SocketAddresses.swift
[49/89] Compiling NIO MarkedCircularBuffer.swift
[50/89] Compiling NIO MulticastChannel.swift
[51/89] Compiling NIO NIOAny.swift
[52/89] Compiling NIO NonBlockingFileIO.swift
[53/89] Compiling NIO PendingDatagramWritesManager.swift
[54/89] Compiling NIO PendingWritesManager.swift
[55/89] Compiling NIO PriorityQueue.swift
[56/89] Compiling NIO EventLoop.swift
[57/89] Compiling NIO EventLoopFuture.swift
[58/89] Compiling NIO FileDescriptor.swift
[59/89] Compiling NIO FileHandle.swift
[60/89] Compiling NIO FileRegion.swift
[61/89] Compiling NIO GetaddrinfoResolver.swift
[62/89] Compiling NIO HappyEyeballs.swift
[63/89] Compiling NIO SocketChannel.swift
[64/89] Compiling NIO SocketOptionProvider.swift
[65/89] Compiling NIO System.swift
[66/89] Compiling NIO Thread.swift
[67/89] Compiling NIO TypeAssistedChannelHandler.swift
[68/89] Compiling NIO Utilities.swift
[69/89] Compiling NIO Heap.swift
[70/89] Compiling NIO IO.swift
[71/89] Compiling NIO IOData.swift
[72/89] Compiling NIO IntegerTypes.swift
[73/89] Compiling NIO Interfaces.swift
[74/89] Compiling NIO Linux.swift
[75/89] Compiling NIO LinuxCPUSet.swift
[76/89] Compiling NIO ChannelPipeline.swift
[77/89] Compiling NIO CircularBuffer.swift
[78/89] Compiling NIO Codec.swift
[79/89] Compiling NIO CompositeError.swift
[80/89] Compiling NIO ContiguousCollection.swift
[81/89] Compiling NIO DeadChannel.swift
[82/89] Compiling NIO Embedded.swift
[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 NIOFoundationCompat
[94/133] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[95/133] Emitting module NIOTLS
[96/133] Emitting module Async
[97/134] Compiling Bits Byte+Control.swift
[98/134] Compiling Bits Byte+Digit.swift
[99/134] Compiling Async Future+Map.swift
[100/134] Compiling Async Future+Transform.swift
[101/135] Compiling NIOTLS SNIHandler.swift
[102/135] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[103/136] Compiling Bits Bytes.swift
[104/137] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[105/137] Compiling Bits ByteBuffer+peek.swift
[106/137] Compiling Async Collection+Future.swift
[107/137] Compiling Async Deprecated.swift
[108/137] Compiling Bits ByteBuffer+require.swift
[109/137] Compiling Bits ByteBuffer+string.swift
[113/138] Emitting module Bits
[116/138] Compiling Async Worker.swift
[123/139] Compiling Bits Deprecated.swift
[124/139] Compiling Bits Data+Strings.swift
[125/139] Compiling Bits Data+Bytes.swift
[126/140] Compiling Async Future+Variadic.swift
[127/140] Compiling Async Future+Void.swift
[128/140] Compiling Async FutureType.swift
[129/140] Compiling Async QueueHandler.swift
[131/141] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[135/144] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[136/144] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[138/144] Compiling NIOHTTP1 HTTPEncoder.swift
[139/188] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[140/188] Compiling Random Array+Random.swift
[141/188] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[142/188] Compiling NIOHTTP1 HTTPTypes.swift
[143/188] Emitting module Random
[144/188] Compiling Random RandomProtocol.swift
[145/188] Compiling Random URandom.swift
[146/188] Compiling Random OSRandom.swift
[147/188] Compiling Core Data+Hex.swift
[148/188] Compiling Core DataCoders.swift
[149/188] Compiling Core Deprecated.swift
[152/193] Compiling Core BasicKey.swift
[153/193] Compiling Core CaseInsensitiveString.swift
[154/193] Compiling Core NotFound.swift
[155/193] Compiling Core OptionalType.swift
[156/193] Compiling Core Process+Execute.swift
[157/193] Emitting module NIOHTTP1
[158/194] Compiling Core DirectoryConfig.swift
[159/194] Compiling Core Exports.swift
[160/194] Compiling Core File.swift
[162/195] Compiling Core Reflectable.swift
[163/195] Compiling Core String+Utilities.swift
[164/195] Compiling Core Thread+Async.swift
[168/195] Compiling Core Decodable+Reflectable.swift
[169/195] Compiling Core ReflectionDecodable.swift
[170/195] Compiling Core ReflectionDecoders.swift
[171/195] Compiling Core CoreError.swift
[172/195] Compiling Core Data+Base64URL.swift
[173/195] Emitting module NIOOpenSSL
/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)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[182/206] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[183/206] Compiling NIOOpenSSL TLSConfiguration.swift
[185/206] Compiling Core LosslessDataConvertible.swift
[186/206] Compiling Core MediaType.swift
[187/206] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[188/206] Compiling NIOWebSocket WebSocketOpcode.swift
[191/207] Compiling NIOWebSocket Base64.swift
[192/207] Compiling NIOWebSocket SHA1.swift
[193/207] Compiling NIOWebSocket WebSocketFrameEncoder.swift
error: fatalError
[195/207] Compiling Core FutureEncoder.swift
[196/207] Compiling Core HeaderValue.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...
[0/9] Compiling CNIOSHA1 c_nio_sha1.c
[1/9] Compiling CNIOLinux shim.c
[2/9] Compiling CBcrypt blf.c
[3/9] Compiling CBase32 base32.c
[4/9] Compiling CBcrypt bcrypt.c
[5/9] Compiling CNIOOpenSSL helpers.c
[6/9] Compiling CCryptoOpenSSL shim.c
[7/9] Compiling CNIOOpenSSL shims.c
[9/11] Emitting module COperatingSystem
[11/13] Emitting module NIOPriorityQueue
[15/16] Emitting module Debugging
[17/18] Compiling c-atomics.c
[19/19] Emitting module NIOConcurrencyHelpers
[22/22] Emitting module NIO
[24/27] Compiling CNIOHTTPParser c_nio_http_parser.c
[26/27] Emitting module Async
[29/31] Emitting module NIOTLS
[30/33] Emitting module NIOFoundationCompat
[34/36] Emitting module Bits
[38/38] Emitting module NIOHTTP1
[41/51] Emitting module Random
[42/52] Emitting module NIOOpenSSL
[43/52] 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 {
~^~~~
[44/53] 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)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux