The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MailCore with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/liveui/mailcore.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/liveui/mailcore
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4371672 upgrading packages
Cloned https://github.com/liveui/mailcore.git
Revision (git rev-parse @):
43716728291958a4bbe278720c85aef13cb8c248
SUCCESS checkout https://github.com/liveui/mailcore.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/liveui/mailcore.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/IBM-Swift/BlueCryptor.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/console.git
[1/1638] Fetching bluecryptor
[477/6916] Fetching bluecryptor, console
[4120/7835] Fetching bluecryptor, console, service
[4520/8414] Fetching bluecryptor, console, service, validation
[6674/11200] Fetching bluecryptor, console, service, validation, crypto
Fetched https://github.com/vapor/validation.git from cache (0.33s)
Fetching https://github.com/IBM-Swift/BlueSocket.git
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.37s)
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetched https://github.com/vapor/console.git from cache (0.38s)
Fetching https://github.com/vapor/http.git
Fetched https://github.com/vapor/crypto.git from cache (0.38s)
Fetching https://github.com/LiveUI/VaporTestTools.git
[1/771] Fetching loggerapi
[387/1108] Fetching loggerapi, vaportesttools
[484/4050] Fetching loggerapi, vaportesttools, bluesocket
[3169/29517] Fetching loggerapi, vaportesttools, bluesocket, http
Fetched https://github.com/LiveUI/VaporTestTools.git from cache (0.28s)
Fetching https://github.com/vapor/database-kit.git
[6770/29180] Fetching loggerapi, bluesocket, http
Fetching https://github.com/twof/VaporMailgunService.git
Fetched https://github.com/IBM-Swift/LoggerAPI.git from cache (0.30s)
[6508/28409] Fetching bluesocket, http
Fetched https://github.com/IBM-Swift/BlueSocket.git from cache (0.43s)
Fetching https://github.com/apple/swift-nio-ssl.git
[10442/25467] Fetching http
[20375/26648] Fetching http, database-kit
[21556/91145] Fetching http, database-kit, swift-nio
[21557/91853] Fetching http, database-kit, swift-nio, vapormailgunservice
Fetched https://github.com/vapor/database-kit.git from cache (0.26s)
Fetching https://github.com/vapor/template-kit.git
[22372/90672] Fetching http, swift-nio, vapormailgunservice
Fetched https://github.com/twof/VaporMailgunService.git from cache (0.26s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[22309/89964] Fetching http, swift-nio
[35143/91246] Fetching http, swift-nio, template-kit
[37070/91262] Fetching http, swift-nio, template-kit, swift-nio-ssl-support
[37731/103409] Fetching http, swift-nio, template-kit, swift-nio-ssl-support, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.32s)
Fetching https://github.com/IBM-Swift/BlueSSLService.git
[40584/103393] Fetching http, swift-nio, template-kit, swift-nio-ssl
Fetched https://github.com/vapor/template-kit.git from cache (0.34s)
Fetching https://github.com/vapor/routing.git
[39423/102111] Fetching http, swift-nio, swift-nio-ssl
Fetched https://github.com/vapor/http.git from cache (1.09s)
Fetching https://github.com/vapor-community/sendgrid-provider.git
[18480/76644] Fetching swift-nio, swift-nio-ssl
[18481/97312] Fetching swift-nio, swift-nio-ssl, routing
[20937/99400] Fetching swift-nio, swift-nio-ssl, routing, bluesslservice
Fetched https://github.com/IBM-Swift/BlueSSLService.git from cache (0.39s)
[37871/97312] Fetching swift-nio, swift-nio-ssl, routing
Fetching https://github.com/vapor/url-encoded-form.git
[38115/98263] Fetching swift-nio, swift-nio-ssl, routing, sendgrid-provider
Fetched https://github.com/vapor-community/sendgrid-provider.git from cache (0.28s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[40217/97312] Fetching swift-nio, swift-nio-ssl, routing
[47181/97693] Fetching swift-nio, swift-nio-ssl, routing, url-encoded-form
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.30s)
Fetching https://github.com/IBM-Swift/Swift-SMTP.git
[52215/97312] Fetching swift-nio, swift-nio-ssl, routing
[52216/97327] Fetching swift-nio, swift-nio-ssl, routing, swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.27s)
Fetching https://github.com/vapor/multipart.git
[55389/97312] Fetching swift-nio, swift-nio-ssl, routing
[56035/99897] Fetching swift-nio, swift-nio-ssl, routing, swift-smtp
[58644/101597] Fetching swift-nio, swift-nio-ssl, routing, swift-smtp, multipart
Fetched https://github.com/vapor/routing.git from cache (1.15s)
Fetching https://github.com/vapor/vapor.git
[41041/80929] Fetching swift-nio, swift-nio-ssl, swift-smtp, multipart
Fetched https://github.com/IBM-Swift/Swift-SMTP.git from cache (0.60s)
Fetching https://github.com/vapor/core.git
[39101/78344] Fetching swift-nio, swift-nio-ssl, multipart
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.87s)
Fetching https://github.com/vapor/websocket.git
[27599/66197] Fetching swift-nio, multipart
[39210/86340] Fetching swift-nio, multipart, core
[42556/153628] Fetching swift-nio, multipart, core, vapor
[43161/156039] Fetching swift-nio, multipart, core, vapor, websocket
Fetched https://github.com/vapor/websocket.git from cache (0.36s)
[73032/153628] Fetching swift-nio, multipart, core, vapor
Fetched https://github.com/vapor/core.git from cache (1.21s)
[99841/133485] Fetching swift-nio, multipart, vapor
Fetched https://github.com/vapor/multipart.git from cache (2.12s)
Fetched https://github.com/vapor/vapor.git from cache (2.51s)
Computing version for https://github.com/LiveUI/VaporTestTools.git
Computed https://github.com/LiveUI/VaporTestTools.git at 0.1.7 (0.86s)
Fetched https://github.com/vapor/service.git from cache (5.81s)
Fetched https://github.com/apple/swift-nio.git from cache (5.89s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.8.1 (1.28s)
Computing version for https://github.com/IBM-Swift/Swift-SMTP.git
Computed https://github.com/IBM-Swift/Swift-SMTP.git at 5.1.1 (0.46s)
Computing version for https://github.com/vapor-community/sendgrid-provider.git
Computed https://github.com/vapor-community/sendgrid-provider.git at 3.0.6 (0.44s)
Computing version for https://github.com/twof/VaporMailgunService.git
Computed https://github.com/twof/VaporMailgunService.git at 1.8.1 (0.44s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.47s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.54s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.31 (0.46s)
Fetching https://github.com/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git from cache (0.22s)
Computing version for https://github.com/IBM-Swift/BlueSSLService.git
Computed https://github.com/IBM-Swift/BlueSSLService.git at 1.0.49 (0.46s)
Computing version for https://github.com/IBM-Swift/BlueSocket.git
Computed https://github.com/IBM-Swift/BlueSocket.git at 1.0.49 (0.45s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.45s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.48s)
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.43s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.44s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.43s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.45s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.43s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.45s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.44s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.46s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.47s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.46s)
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.43s)
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.46s)
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.42s)
Computing version for https://github.com/IBM-Swift/OpenSSL.git
Computed https://github.com/IBM-Swift/OpenSSL.git at 2.3.1 (1.28s)
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/IBM-Swift/BlueSSLService.git
Working copy of https://github.com/IBM-Swift/BlueSSLService.git resolved at 1.0.49
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/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/IBM-Swift/Swift-SMTP.git
Working copy of https://github.com/IBM-Swift/Swift-SMTP.git resolved at 5.1.1
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-community/sendgrid-provider.git
Working copy of https://github.com/vapor-community/sendgrid-provider.git resolved at 3.0.6
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.31
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/IBM-Swift/LoggerAPI.git
Working copy of https://github.com/IBM-Swift/LoggerAPI.git resolved at 1.8.1
Creating working copy for https://github.com/IBM-Swift/BlueSocket.git
Working copy of https://github.com/IBM-Swift/BlueSocket.git resolved at 1.0.49
Creating working copy for https://github.com/LiveUI/VaporTestTools.git
Working copy of https://github.com/LiveUI/VaporTestTools.git resolved at 0.1.7
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/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/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
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/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/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/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/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
Creating working copy for https://github.com/IBM-Swift/OpenSSL.git
Working copy of https://github.com/IBM-Swift/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/twof/VaporMailgunService.git
Working copy of https://github.com/twof/VaporMailgunService.git resolved at 1.8.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
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
warning: 'spi-builder-workspace': dependency 'loggerapi' is not used by any target
Building for debugging...
[0/52] Write sources
[37/52] Compiling CNIOZlib empty.c
[38/52] Compiling CNIODarwin shim.c
[39/52] Compiling CNIOSHA1 c_nio_sha1.c
[40/52] Compiling CNIOLinux ifaddrs-android.c
[41/52] Compiling CNIOLinux shim.c
[42/52] Compiling CBcrypt blf.c
[43/52] Compiling CNIOHTTPParser c_nio_http_parser.c
[43/52] Write sources
[45/52] Write swift-version-24593BA9C3E375BF.txt
[45/52] Compiling CBcrypt bcrypt.c
[47/52] Compiling CBase32 base32.c
[48/52] Compiling CNIOOpenSSL shims.c
[49/52] Compiling CNIOOpenSSL helpers.c
[50/52] Compiling CCryptoOpenSSL shim.c
[52/78] Emitting module Socket
[52/78] Compiling c-atomics.c
[54/81] Emitting module NIOConcurrencyHelpers
[55/81] Compiling LoggerAPI Logger.swift
[56/81] Emitting module LoggerAPI
[58/82] Compiling Cryptor SSLPointerTricks.swift
[59/83] Compiling NIOPriorityQueue PriorityQueue.swift
[60/83] Compiling Debugging SourceLocation.swift
[61/83] Emitting module COperatingSystem
[62/83] Compiling COperatingSystem libc.swift
[63/84] Compiling NIOConcurrencyHelpers lock.swift
[64/84] Compiling Debugging Demangler.swift
[66/84] Compiling Cryptor Updatable.swift
[67/84] Compiling Socket SocketProtocols.swift
[68/84] Compiling Debugging Debuggable.swift
[69/84] Emitting module Debugging
[70/85] Emitting module NIOPriorityQueue
[71/85] Compiling NIOPriorityQueue Heap.swift
[72/86] Compiling Cryptor Utilities.swift
[74/86] Compiling Socket SocketUtils.swift
[76/86] Compiling Cryptor Crypto.swift
[77/86] Compiling Cryptor Cryptor.swift
[78/86] Compiling Cryptor Digest.swift
[79/86] Compiling Cryptor HMAC.swift
[80/86] Compiling Cryptor KeyDerivation.swift
[81/86] Compiling Cryptor Random.swift
[82/86] Emitting module Cryptor
[83/86] Compiling NIOConcurrencyHelpers atomics.swift
[85/87] Compiling Cryptor Status.swift
[86/87] Compiling Cryptor StreamCryptor.swift
[88/138] Compiling Socket Socket.swift
[90/142] Emitting module SSLService
[91/142] Compiling SSLService SSLPointerTricks.swift
[92/142] Compiling SSLService SSLService.swift
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1273:8: error: cannot find 'SSL_get_peer_certificate' in scope
                                if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1273:34: error: cannot infer contextual base in reference to member 'make'
                                if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
                                                            ~^~~~
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
warning: 'spi-builder-workspace': dependency 'loggerapi' is not used by any target
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/53] Emitting module SSLService
[3/53] Compiling SSLService SSLService.swift
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1273:8: error: cannot find 'SSL_get_peer_certificate' in scope
                                if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1273:34: error: cannot infer contextual base in reference to member 'make'
                                if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
                                                            ~^~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2