Build Information
Failed to build Sword, reference master (01185a
), with Swift 6.1 for Linux on 25 Apr 2025 10:44:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Azoy/Sword.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/Azoy/Sword
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 01185a2 Update Doc Link
Cloned https://github.com/Azoy/Sword.git
Revision (git rev-parse @):
01185a232ea9a33f67711550f77a7a8dbca2dc78
SUCCESS checkout https://github.com/Azoy/Sword.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/Azoy/Sword.git
https://github.com/Azoy/Sword.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "engine",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/engine.git"
}
],
"manifest_display_name" : "Sword",
"name" : "Sword",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Sword",
"targets" : [
"Sword"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Sword",
"module_type" : "SwiftTarget",
"name" : "Sword",
"path" : "Sources/Sword",
"product_dependencies" : [
"URI",
"WebSockets"
],
"product_memberships" : [
"Sword"
],
"sources" : [
"Gateway/EventHandler.swift",
"Gateway/Eventable.swift",
"Gateway/Gateway.swift",
"Gateway/GatewayHandler.swift",
"Gateway/Heartbeat.swift",
"Gateway/Payload.swift",
"Gateway/Shard.swift",
"Gateway/ShardManager.swift",
"Rest/EndpointInfo.swift",
"Rest/Endpoints.swift",
"Rest/MultipartBody.swift",
"Rest/RateLimit.swift",
"Rest/Request.swift",
"Shield/Command.swift",
"Shield/Permissions.swift",
"Shield/Shield.swift",
"Sword.swift",
"Types/AuditLog.swift",
"Types/Channel.swift",
"Types/DM.swift",
"Types/Emoji.swift",
"Types/GroupDM.swift",
"Types/Guild.swift",
"Types/GuildCategory.swift",
"Types/GuildText.swift",
"Types/GuildVoice.swift",
"Types/Invite.swift",
"Types/Member.swift",
"Types/Message.swift",
"Types/Options.swift",
"Types/Role.swift",
"Types/Snowflake.swift",
"Types/User.swift",
"Types/VoiceState.swift",
"Types/Webhook.swift",
"Utils/Bucket.swift",
"Utils/Enums.swift",
"Utils/Error.swift",
"Utils/Imageable.swift",
"Utils/JSON.swift",
"Utils/Log.swift",
"Utils/Updatable.swift",
"Utils/Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/vapor/engine.git
[1/25467] Fetching engine
Fetched https://github.com/vapor/engine.git from cache (0.85s)
Computing version for https://github.com/vapor/engine.git
Computed https://github.com/vapor/engine.git at 2.2.5 (1.50s)
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/sockets.git
[1/1144] Fetching tls
[265/3930] Fetching tls, crypto
[774/7242] Fetching tls, crypto, sockets
[808/27385] Fetching tls, crypto, sockets, core
[12884/27533] Fetching tls, crypto, sockets, core, random
Fetched https://github.com/vapor/tls.git from cache (0.33s)
[20951/26389] Fetching crypto, sockets, core, random
[22011/26241] Fetching crypto, sockets, core
Fetched https://github.com/vapor/random.git from cache (0.34s)
Fetched https://github.com/vapor/crypto.git from cache (0.35s)
Fetched https://github.com/vapor/sockets.git from cache (0.35s)
[16316/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.94s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (1.47s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.50s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/260] Fetching debugging
[261/618] Fetching debugging, bits
Fetched https://github.com/vapor/bits.git from cache (0.22s)
Fetched https://github.com/vapor/debugging.git from cache (0.22s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.78s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.56s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.52s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.26s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (0.99s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.82s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.51s)
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
Creating working copy for https://github.com/vapor/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
Creating working copy for https://github.com/vapor/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/engine.git
Working copy of https://github.com/vapor/engine.git resolved at 2.2.5
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
Building for debugging...
[0/15] Write sources
[13/15] Compiling CHTTP http_parser.c
[14/15] Write swift-version-24593BA9C3E375BF.txt
[16/37] Compiling Debugging Debuggable.swift
[17/37] Emitting module Debugging
[18/38] Compiling Bits Aliases.swift
[19/38] Compiling Bits Base64Encoder.swift
[20/38] Compiling Bits Byte+Alphabet.swift
[21/38] Emitting module Bits
[23/40] Compiling Bits Operators.swift
[24/40] Compiling Bits String+BytesConvertible.swift
[25/40] Compiling Bits UnsignedInteger+BytesConvertible.swift
[26/40] Compiling Bits UnsignedInteger+Shifting.swift
[27/40] Emitting module libc
[28/40] Compiling libc libc.swift
[29/40] Compiling Bits Byte+ControlCharacters.swift
[30/40] Compiling Bits Byte+Convenience.swift
[31/40] Compiling Bits Byte+PatternMatching.swift
[32/41] Compiling Bits Byte+Random.swift
[33/41] Compiling Bits Byte+UTF8Numbers.swift
[34/41] Compiling Bits ByteSequence+Conversions.swift
[36/41] Compiling Bits Bytes+Base64.swift
[37/41] Compiling Bits Bytes+Hex.swift
[38/41] Compiling Bits Bytes+Percent.swift
[39/41] Compiling Bits BytesConvertible.swift
[40/41] Compiling Bits Data+BytesConvertible.swift
[41/41] Compiling Bits HexEncoder.swift
[43/64] Emitting module Core
[44/66] Compiling Core DispatchTime+Utilities.swift
[45/66] Compiling Core EmptyInitializable.swift
[46/66] Compiling Core Exports.swift
[47/66] Compiling Core Lock.swift
[48/66] Compiling Core Portal.swift
[49/66] Compiling Core RFC1123.swift
[50/66] Compiling Core String.swift
[51/66] Compiling Core WorkingDirectory.swift
[52/66] Compiling Core Array.swift
[53/66] Compiling Core Bits.swift
[54/66] Compiling Core Cache.swift
[55/66] Compiling Core Collection+Safe.swift
[56/66] Compiling Core DataFile.swift
[57/66] Compiling Core Dispatch.swift
[58/66] Compiling Core Result.swift
[59/66] Compiling Core Semaphore.swift
[60/66] Compiling Core Sequence.swift
[61/66] Compiling Core Extendable.swift
[62/66] Compiling Core FileProtocol.swift
[63/66] Compiling Core Int+Hex.swift
[64/66] Compiling Core StaticDataBuffer.swift
[65/66] Compiling Core String+CaseInsensitiveCompare.swift
[66/66] Compiling Core String+Polymorphic.swift
[68/84] Compiling Transport FoundationStream.swift
[69/85] Compiling Transport ServerStream.swift
[70/85] Compiling Random Exports.swift
[71/85] Emitting module Transport
[72/85] Compiling Transport Exports.swift
[73/85] Compiling Transport ClientStream.swift
[74/85] Compiling Transport StreamError.swift
[75/85] Compiling Transport Stream.swift
[76/85] Compiling Random EmptyInitializable.swift
[77/85] Compiling Random RandomProtocol.swift
[78/85] Compiling Random URandom.swift
[79/85] Compiling Transport WriteableStream.swift
[80/85] Compiling Transport InternetStream.swift
[81/85] Compiling Transport Port.swift
[82/85] Emitting module Random
[83/85] Compiling Random Array+Random.swift
[84/85] Compiling Random OSRandom.swift
[85/86] Compiling Transport ReadableStream.swift
[88/128] Compiling URI URI+String.swift
[89/128] Emitting module URI
[90/128] Compiling URI URI+Ports.swift
[91/128] Compiling URI URI+Byte.swift
[92/128] Compiling Sockets TCPReadableSocket.swift
[93/128] Compiling Sockets TCPSocket.swift
[94/128] Compiling URI URI.swift
[95/128] Compiling URI Parser.swift
[96/128] Compiling URI URI+Modification.swift
[98/131] Compiling Sockets SocketOptions.swift
[99/131] Compiling Sockets TCPEstablishedSocket.swift
[100/131] Compiling Sockets TCPInternetSocket.swift
[101/131] Compiling Sockets RawSocket.swift
[102/131] Compiling Sockets Select.swift
[103/131] Compiling Sockets Socket.swift
[104/131] Compiling Sockets Descriptor.swift
[105/131] Compiling Sockets InternetSocket.swift
[106/131] Compiling Sockets Pipe.swift
[107/131] Compiling Sockets Types.swift
[108/131] Compiling Sockets Exports.swift
[109/131] Compiling Sockets Config.swift
[110/131] Compiling Sockets Address+C.swift
[111/131] Compiling Sockets Address.swift
[112/131] Compiling Sockets Buffer.swift
[113/131] Emitting module Sockets
[114/131] Compiling Sockets Conversions.swift
[115/131] Compiling Sockets Error.swift
[116/131] Compiling Sockets FDSet.swift
[117/131] Compiling Sockets TCPWriteableSocket.swift
[118/131] Compiling Sockets UDPSocket.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[120/132] Emitting module Crypto
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
142 |
143 | extension Cipher.Method {
144 | public var evp: UnsafePointer<EVP_CIPHER> {
| `- error: cannot find type 'EVP_CIPHER' in scope
145 | switch self {
146 | case .blowfish(let mode):
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
69 | stream: ByteStream,
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
72 | UnsafePointer<EVP_CIPHER>,
73 | UnsafePointer<UInt8>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
72 | UnsafePointer<EVP_CIPHER>,
| `- error: cannot find type 'EVP_CIPHER' in scope
73 | UnsafePointer<UInt8>,
74 | UnsafePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
75 | ) -> Int32,
76 | update: (
77 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
78 | UnsafeMutablePointer<UInt8>,
79 | UnsafeMutablePointer<Int32>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
82 | ) -> Int32,
83 | final: (
84 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
85 | UnsafeMutablePointer<UInt8>,
86 | UnsafeMutablePointer<Int32>
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
21 | extension HMAC.Method {
22 | /// The internal EVP pointer.
23 | var evp: UnsafePointer<EVP_MD> {
| `- error: cannot find type 'EVP_MD' in scope
24 | switch self {
25 | case .sha1:
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
142 |
143 | extension Cipher.Method {
144 | public var evp: UnsafePointer<EVP_CIPHER> {
| `- error: cannot find type 'EVP_CIPHER' in scope
145 | switch self {
146 | case .blowfish(let mode):
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
69 | stream: ByteStream,
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
72 | UnsafePointer<EVP_CIPHER>,
73 | UnsafePointer<UInt8>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
72 | UnsafePointer<EVP_CIPHER>,
| `- error: cannot find type 'EVP_CIPHER' in scope
73 | UnsafePointer<UInt8>,
74 | UnsafePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
75 | ) -> Int32,
76 | update: (
77 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
78 | UnsafeMutablePointer<UInt8>,
79 | UnsafeMutablePointer<Int32>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
82 | ) -> Int32,
83 | final: (
84 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
85 | UnsafeMutablePointer<UInt8>,
86 | UnsafeMutablePointer<Int32>
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:23:26: error: cannot find 'EVP_CIPHER_key_length' in scope
21 | iv: Bytes? = nil
22 | ) throws {
23 | let keyLen = Int(EVP_CIPHER_key_length(method.evp))
| `- error: cannot find 'EVP_CIPHER_key_length' in scope
24 | guard key.count == keyLen else {
25 | throw Error.invalidKeyLength(expected: keyLen)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:32:29: error: cannot find 'EVP_CIPHER_iv_length' in scope
30 |
31 | if let iv = iv {
32 | let ivLen = Int(EVP_CIPHER_iv_length(method.evp))
| `- error: cannot find 'EVP_CIPHER_iv_length' in scope
33 | guard ivLen == iv.count else {
34 | throw Error.invalidInitializationVectorLength(expected: ivLen)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:89:19: error: cannot find 'EVP_CIPHER_CTX' in scope
87 | ) -> Int32
88 | ) throws -> Bytes {
89 | var ctx = EVP_CIPHER_CTX()
| `- error: cannot find 'EVP_CIPHER_CTX' in scope
90 |
91 | guard initialize(&ctx, method.evp, key, iv) == 1 else {
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:135:13: error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
133 | #endif
134 |
135 | EVP_CIPHER_CTX_cleanup(&ctx)
| `- error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
136 | }
137 |
/usr/include/openssl/evp.h:871:11: note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
869 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
870 | # define EVP_CIPHER_CTX_init(c) EVP_CIPHER_CTX_reset(c)
871 | # define EVP_CIPHER_CTX_cleanup(c) EVP_CIPHER_CTX_reset(c)
| `- note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
872 | # endif
873 | EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void);
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
142 |
143 | extension Cipher.Method {
144 | public var evp: UnsafePointer<EVP_CIPHER> {
| `- error: cannot find type 'EVP_CIPHER' in scope
145 | switch self {
146 | case .blowfish(let mode):
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
69 | stream: ByteStream,
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
72 | UnsafePointer<EVP_CIPHER>,
73 | UnsafePointer<UInt8>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
72 | UnsafePointer<EVP_CIPHER>,
| `- error: cannot find type 'EVP_CIPHER' in scope
73 | UnsafePointer<UInt8>,
74 | UnsafePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
75 | ) -> Int32,
76 | update: (
77 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
78 | UnsafeMutablePointer<UInt8>,
79 | UnsafeMutablePointer<Int32>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
82 | ) -> Int32,
83 | final: (
84 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
85 | UnsafeMutablePointer<UInt8>,
86 | UnsafeMutablePointer<Int32>
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:23:26: error: cannot find 'EVP_CIPHER_key_length' in scope
21 | iv: Bytes? = nil
22 | ) throws {
23 | let keyLen = Int(EVP_CIPHER_key_length(method.evp))
| `- error: cannot find 'EVP_CIPHER_key_length' in scope
24 | guard key.count == keyLen else {
25 | throw Error.invalidKeyLength(expected: keyLen)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:32:29: error: cannot find 'EVP_CIPHER_iv_length' in scope
30 |
31 | if let iv = iv {
32 | let ivLen = Int(EVP_CIPHER_iv_length(method.evp))
| `- error: cannot find 'EVP_CIPHER_iv_length' in scope
33 | guard ivLen == iv.count else {
34 | throw Error.invalidInitializationVectorLength(expected: ivLen)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:89:19: error: cannot find 'EVP_CIPHER_CTX' in scope
87 | ) -> Int32
88 | ) throws -> Bytes {
89 | var ctx = EVP_CIPHER_CTX()
| `- error: cannot find 'EVP_CIPHER_CTX' in scope
90 |
91 | guard initialize(&ctx, method.evp, key, iv) == 1 else {
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:135:13: error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
133 | #endif
134 |
135 | EVP_CIPHER_CTX_cleanup(&ctx)
| `- error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
136 | }
137 |
/usr/include/openssl/evp.h:871:11: note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
869 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
870 | # define EVP_CIPHER_CTX_init(c) EVP_CIPHER_CTX_reset(c)
871 | # define EVP_CIPHER_CTX_cleanup(c) EVP_CIPHER_CTX_reset(c)
| `- note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
872 | # endif
873 | EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void);
[123/133] Compiling Crypto PseudoRandom.swift
[124/133] Compiling Crypto LibreSSLError.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
21 | extension HMAC.Method {
22 | /// The internal EVP pointer.
23 | var evp: UnsafePointer<EVP_MD> {
| `- error: cannot find type 'EVP_MD' in scope
24 | switch self {
25 | case .sha1:
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
21 | extension HMAC.Method {
22 | /// The internal EVP pointer.
23 | var evp: UnsafePointer<EVP_MD> {
| `- error: cannot find type 'EVP_MD' in scope
24 | switch self {
25 | case .sha1:
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:25:23: error: cannot find 'HMAC_CTX' in scope
23 | /// - returns: The authenticated message
24 | public func authenticate(key: Bytes) throws -> Bytes {
25 | var context = HMAC_CTX()
| `- error: cannot find 'HMAC_CTX' in scope
26 | HMAC_CTX_init(&context)
27 |
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:26:9: error: cannot find 'HMAC_CTX_init' in scope
24 | public func authenticate(key: Bytes) throws -> Bytes {
25 | var context = HMAC_CTX()
26 | HMAC_CTX_init(&context)
| `- error: cannot find 'HMAC_CTX_init' in scope
27 |
28 | HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
21 | extension HMAC.Method {
22 | /// The internal EVP pointer.
23 | var evp: UnsafePointer<EVP_MD> {
| `- error: cannot find type 'EVP_MD' in scope
24 | switch self {
25 | case .sha1:
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:28:22: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
26 | HMAC_CTX_init(&context)
27 |
28 | HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
29 |
30 | while !stream.closed {
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:32:25: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
30 | while !stream.closed {
31 | let bytes = try stream.next()
32 | HMAC_Update(&context, bytes, bytes.count)
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
33 | }
34 |
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:38:20: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
36 | var digest = Bytes(repeating: 0, count: Int(EVP_MAX_MD_SIZE))
37 | var length: UInt32 = 0
38 | HMAC_Final(&context, &digest, &length);
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
39 |
40 | return Array(digest[0..<Int(length)])
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:25:23: error: cannot find 'HMAC_CTX' in scope
23 | /// - returns: The authenticated message
24 | public func authenticate(key: Bytes) throws -> Bytes {
25 | var context = HMAC_CTX()
| `- error: cannot find 'HMAC_CTX' in scope
26 | HMAC_CTX_init(&context)
27 |
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:26:9: error: cannot find 'HMAC_CTX_init' in scope
24 | public func authenticate(key: Bytes) throws -> Bytes {
25 | var context = HMAC_CTX()
26 | HMAC_CTX_init(&context)
| `- error: cannot find 'HMAC_CTX_init' in scope
27 |
28 | HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
21 | extension HMAC.Method {
22 | /// The internal EVP pointer.
23 | var evp: UnsafePointer<EVP_MD> {
| `- error: cannot find type 'EVP_MD' in scope
24 | switch self {
25 | case .sha1:
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:28:22: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
26 | HMAC_CTX_init(&context)
27 |
28 | HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
29 |
30 | while !stream.closed {
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:32:25: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
30 | while !stream.closed {
31 | let bytes = try stream.next()
32 | HMAC_Update(&context, bytes, bytes.count)
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
33 | }
34 |
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:38:20: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
36 | var digest = Bytes(repeating: 0, count: Int(EVP_MAX_MD_SIZE))
37 | var length: UInt32 = 0
38 | HMAC_Final(&context, &digest, &length);
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
39 |
40 | return Array(digest[0..<Int(length)])
[133/145] Compiling Crypto Random.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/23] Emitting module libc
[3/23] Compiling libc libc.swift
[4/24] Compiling Bits Operators.swift
[5/24] Compiling Bits String+BytesConvertible.swift
[6/26] Emitting module Bits
[8/26] Emitting module Debugging
[9/26] Compiling Debugging Debuggable.swift
[10/27] Compiling Bits Byte+ControlCharacters.swift
[11/27] Compiling Bits Byte+Convenience.swift
[12/27] Compiling Bits Byte+PatternMatching.swift
[14/27] Compiling Bits Aliases.swift
[15/27] Compiling Bits Base64Encoder.swift
[16/27] Compiling Bits Byte+Alphabet.swift
[17/27] Compiling Bits Bytes+Base64.swift
[18/27] Compiling Bits Bytes+Hex.swift
[19/27] Compiling Bits Bytes+Percent.swift
[20/27] Compiling Bits BytesConvertible.swift
[21/27] Compiling Bits Byte+Random.swift
[22/27] Compiling Bits Byte+UTF8Numbers.swift
[23/27] Compiling Bits ByteSequence+Conversions.swift
[24/27] Compiling Bits Data+BytesConvertible.swift
[25/27] Compiling Bits HexEncoder.swift
[26/27] Compiling Bits UnsignedInteger+BytesConvertible.swift
[27/27] Compiling Bits UnsignedInteger+Shifting.swift
[29/50] Compiling Core DispatchTime+Utilities.swift
[30/50] Compiling Core EmptyInitializable.swift
[31/50] Compiling Core Exports.swift
[32/52] Compiling Core Collection+Safe.swift
[33/52] Compiling Core DataFile.swift
[34/52] Compiling Core Dispatch.swift
[35/52] Compiling Core Result.swift
[36/52] Compiling Core Semaphore.swift
[37/52] Compiling Core Sequence.swift
[38/52] Compiling Core Extendable.swift
[39/52] Compiling Core FileProtocol.swift
[40/52] Compiling Core Int+Hex.swift
[41/52] Compiling Core StaticDataBuffer.swift
[42/52] Compiling Core String+CaseInsensitiveCompare.swift
[43/52] Compiling Core String+Polymorphic.swift
[44/52] Emitting module Core
[45/52] Compiling Core Array.swift
[46/52] Compiling Core Bits.swift
[47/52] Compiling Core Cache.swift
[48/52] Compiling Core Lock.swift
[49/52] Compiling Core Portal.swift
[50/52] Compiling Core RFC1123.swift
[51/52] Compiling Core String.swift
[52/52] Compiling Core WorkingDirectory.swift
[54/70] Compiling Transport Stream.swift
[55/71] Compiling Transport WriteableStream.swift
[56/71] Compiling Random Exports.swift
[57/71] Compiling Transport StreamError.swift
[58/71] Compiling Random OSRandom.swift
[59/71] Compiling Random RandomProtocol.swift
[60/71] Compiling Random Array+Random.swift
[61/71] Compiling Random EmptyInitializable.swift
[62/71] Compiling Random URandom.swift
[63/71] Compiling Transport FoundationStream.swift
[64/71] Emitting module Random
[65/71] Compiling Transport ServerStream.swift
[66/71] Compiling Transport InternetStream.swift
[67/71] Compiling Transport Port.swift
[68/71] Emitting module Transport
[69/71] Compiling Transport ReadableStream.swift
[70/71] Compiling Transport Exports.swift
[71/71] Compiling Transport ClientStream.swift
[74/114] Compiling Sockets TCPReadableSocket.swift
[75/114] Compiling Sockets TCPSocket.swift
[76/116] Compiling Crypto LibreSSLError.swift
[77/117] Compiling URI URI+Modification.swift
[78/117] Compiling URI URI+Byte.swift
[79/117] Emitting module URI
[80/117] Compiling Crypto PseudoRandom.swift
[81/117] Compiling Sockets RawSocket.swift
[82/117] Compiling Sockets Select.swift
[83/117] Compiling Sockets Socket.swift
[84/117] Compiling Sockets SocketOptions.swift
[85/117] Compiling Sockets TCPEstablishedSocket.swift
[86/117] Compiling Sockets TCPInternetSocket.swift
[87/117] Compiling URI URI+Ports.swift
[88/117] Compiling URI URI.swift
[89/117] Compiling URI URI+String.swift
[90/117] Compiling URI Parser.swift
[92/118] Compiling Crypto Random.swift
[93/118] Compiling Sockets Types.swift
[94/118] Compiling Sockets Exports.swift
[95/118] Compiling Sockets Config.swift
[96/118] Compiling Sockets Conversions.swift
[97/118] Compiling Sockets Error.swift
[98/118] Compiling Sockets FDSet.swift
[99/118] Compiling Sockets Descriptor.swift
[100/118] Compiling Sockets InternetSocket.swift
[101/118] Compiling Sockets Pipe.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[104/118] Emitting module Crypto
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
142 |
143 | extension Cipher.Method {
144 | public var evp: UnsafePointer<EVP_CIPHER> {
| `- error: cannot find type 'EVP_CIPHER' in scope
145 | switch self {
146 | case .blowfish(let mode):
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
69 | stream: ByteStream,
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
72 | UnsafePointer<EVP_CIPHER>,
73 | UnsafePointer<UInt8>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
72 | UnsafePointer<EVP_CIPHER>,
| `- error: cannot find type 'EVP_CIPHER' in scope
73 | UnsafePointer<UInt8>,
74 | UnsafePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
75 | ) -> Int32,
76 | update: (
77 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
78 | UnsafeMutablePointer<UInt8>,
79 | UnsafeMutablePointer<Int32>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
82 | ) -> Int32,
83 | final: (
84 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
85 | UnsafeMutablePointer<UInt8>,
86 | UnsafeMutablePointer<Int32>
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
21 | extension HMAC.Method {
22 | /// The internal EVP pointer.
23 | var evp: UnsafePointer<EVP_MD> {
| `- error: cannot find type 'EVP_MD' in scope
24 | switch self {
25 | case .sha1:
[105/118] Compiling Sockets Address+C.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:25:23: error: cannot find 'HMAC_CTX' in scope
23 | /// - returns: The authenticated message
24 | public func authenticate(key: Bytes) throws -> Bytes {
25 | var context = HMAC_CTX()
| `- error: cannot find 'HMAC_CTX' in scope
26 | HMAC_CTX_init(&context)
27 |
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:26:9: error: cannot find 'HMAC_CTX_init' in scope
24 | public func authenticate(key: Bytes) throws -> Bytes {
25 | var context = HMAC_CTX()
26 | HMAC_CTX_init(&context)
| `- error: cannot find 'HMAC_CTX_init' in scope
27 |
28 | HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
21 | extension HMAC.Method {
22 | /// The internal EVP pointer.
23 | var evp: UnsafePointer<EVP_MD> {
| `- error: cannot find type 'EVP_MD' in scope
24 | switch self {
25 | case .sha1:
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:28:22: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
26 | HMAC_CTX_init(&context)
27 |
28 | HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
29 |
30 | while !stream.closed {
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:32:25: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
30 | while !stream.closed {
31 | let bytes = try stream.next()
32 | HMAC_Update(&context, bytes, bytes.count)
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
33 | }
34 |
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:38:20: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
36 | var digest = Bytes(repeating: 0, count: Int(EVP_MAX_MD_SIZE))
37 | var length: UInt32 = 0
38 | HMAC_Final(&context, &digest, &length);
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
39 |
40 | return Array(digest[0..<Int(length)])
[106/118] Compiling Sockets Address.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:25:23: error: cannot find 'HMAC_CTX' in scope
23 | /// - returns: The authenticated message
24 | public func authenticate(key: Bytes) throws -> Bytes {
25 | var context = HMAC_CTX()
| `- error: cannot find 'HMAC_CTX' in scope
26 | HMAC_CTX_init(&context)
27 |
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:26:9: error: cannot find 'HMAC_CTX_init' in scope
24 | public func authenticate(key: Bytes) throws -> Bytes {
25 | var context = HMAC_CTX()
26 | HMAC_CTX_init(&context)
| `- error: cannot find 'HMAC_CTX_init' in scope
27 |
28 | HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
21 | extension HMAC.Method {
22 | /// The internal EVP pointer.
23 | var evp: UnsafePointer<EVP_MD> {
| `- error: cannot find type 'EVP_MD' in scope
24 | switch self {
25 | case .sha1:
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:28:22: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
26 | HMAC_CTX_init(&context)
27 |
28 | HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
29 |
30 | while !stream.closed {
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:32:25: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
30 | while !stream.closed {
31 | let bytes = try stream.next()
32 | HMAC_Update(&context, bytes, bytes.count)
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
33 | }
34 |
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:38:20: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
36 | var digest = Bytes(repeating: 0, count: Int(EVP_MAX_MD_SIZE))
37 | var length: UInt32 = 0
38 | HMAC_Final(&context, &digest, &length);
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
39 |
40 | return Array(digest[0..<Int(length)])
[107/118] Compiling Sockets Buffer.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
21 | extension HMAC.Method {
22 | /// The internal EVP pointer.
23 | var evp: UnsafePointer<EVP_MD> {
| `- error: cannot find type 'EVP_MD' in scope
24 | switch self {
25 | case .sha1:
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
21 | extension HMAC.Method {
22 | /// The internal EVP pointer.
23 | var evp: UnsafePointer<EVP_MD> {
| `- error: cannot find type 'EVP_MD' in scope
24 | switch self {
25 | case .sha1:
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
142 |
143 | extension Cipher.Method {
144 | public var evp: UnsafePointer<EVP_CIPHER> {
| `- error: cannot find type 'EVP_CIPHER' in scope
145 | switch self {
146 | case .blowfish(let mode):
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
69 | stream: ByteStream,
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
72 | UnsafePointer<EVP_CIPHER>,
73 | UnsafePointer<UInt8>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
72 | UnsafePointer<EVP_CIPHER>,
| `- error: cannot find type 'EVP_CIPHER' in scope
73 | UnsafePointer<UInt8>,
74 | UnsafePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
75 | ) -> Int32,
76 | update: (
77 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
78 | UnsafeMutablePointer<UInt8>,
79 | UnsafeMutablePointer<Int32>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
82 | ) -> Int32,
83 | final: (
84 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
85 | UnsafeMutablePointer<UInt8>,
86 | UnsafeMutablePointer<Int32>
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:23:26: error: cannot find 'EVP_CIPHER_key_length' in scope
21 | iv: Bytes? = nil
22 | ) throws {
23 | let keyLen = Int(EVP_CIPHER_key_length(method.evp))
| `- error: cannot find 'EVP_CIPHER_key_length' in scope
24 | guard key.count == keyLen else {
25 | throw Error.invalidKeyLength(expected: keyLen)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:32:29: error: cannot find 'EVP_CIPHER_iv_length' in scope
30 |
31 | if let iv = iv {
32 | let ivLen = Int(EVP_CIPHER_iv_length(method.evp))
| `- error: cannot find 'EVP_CIPHER_iv_length' in scope
33 | guard ivLen == iv.count else {
34 | throw Error.invalidInitializationVectorLength(expected: ivLen)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:89:19: error: cannot find 'EVP_CIPHER_CTX' in scope
87 | ) -> Int32
88 | ) throws -> Bytes {
89 | var ctx = EVP_CIPHER_CTX()
| `- error: cannot find 'EVP_CIPHER_CTX' in scope
90 |
91 | guard initialize(&ctx, method.evp, key, iv) == 1 else {
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:135:13: error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
133 | #endif
134 |
135 | EVP_CIPHER_CTX_cleanup(&ctx)
| `- error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
136 | }
137 |
/usr/include/openssl/evp.h:871:11: note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
869 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
870 | # define EVP_CIPHER_CTX_init(c) EVP_CIPHER_CTX_reset(c)
871 | # define EVP_CIPHER_CTX_cleanup(c) EVP_CIPHER_CTX_reset(c)
| `- note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
872 | # endif
873 | EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void);
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
142 |
143 | extension Cipher.Method {
144 | public var evp: UnsafePointer<EVP_CIPHER> {
| `- error: cannot find type 'EVP_CIPHER' in scope
145 | switch self {
146 | case .blowfish(let mode):
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
69 | stream: ByteStream,
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
72 | UnsafePointer<EVP_CIPHER>,
73 | UnsafePointer<UInt8>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
72 | UnsafePointer<EVP_CIPHER>,
| `- error: cannot find type 'EVP_CIPHER' in scope
73 | UnsafePointer<UInt8>,
74 | UnsafePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
75 | ) -> Int32,
76 | update: (
77 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
78 | UnsafeMutablePointer<UInt8>,
79 | UnsafeMutablePointer<Int32>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
82 | ) -> Int32,
83 | final: (
84 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
85 | UnsafeMutablePointer<UInt8>,
86 | UnsafeMutablePointer<Int32>
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:23:26: error: cannot find 'EVP_CIPHER_key_length' in scope
21 | iv: Bytes? = nil
22 | ) throws {
23 | let keyLen = Int(EVP_CIPHER_key_length(method.evp))
| `- error: cannot find 'EVP_CIPHER_key_length' in scope
24 | guard key.count == keyLen else {
25 | throw Error.invalidKeyLength(expected: keyLen)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:32:29: error: cannot find 'EVP_CIPHER_iv_length' in scope
30 |
31 | if let iv = iv {
32 | let ivLen = Int(EVP_CIPHER_iv_length(method.evp))
| `- error: cannot find 'EVP_CIPHER_iv_length' in scope
33 | guard ivLen == iv.count else {
34 | throw Error.invalidInitializationVectorLength(expected: ivLen)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:89:19: error: cannot find 'EVP_CIPHER_CTX' in scope
87 | ) -> Int32
88 | ) throws -> Bytes {
89 | var ctx = EVP_CIPHER_CTX()
| `- error: cannot find 'EVP_CIPHER_CTX' in scope
90 |
91 | guard initialize(&ctx, method.evp, key, iv) == 1 else {
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:135:13: error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
133 | #endif
134 |
135 | EVP_CIPHER_CTX_cleanup(&ctx)
| `- error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
136 | }
137 |
/usr/include/openssl/evp.h:871:11: note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
869 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
870 | # define EVP_CIPHER_CTX_init(c) EVP_CIPHER_CTX_reset(c)
871 | # define EVP_CIPHER_CTX_cleanup(c) EVP_CIPHER_CTX_reset(c)
| `- note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
872 | # endif
873 | EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void);
[113/118] Emitting module Sockets
[117/118] Compiling Sockets TCPWriteableSocket.swift
[118/118] Compiling Sockets UDPSocket.swift
BUILD FAILURE 6.1 linux