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-4606859-1":/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: 3.1.2
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
 * tag               3.1.2      -> FETCH_HEAD
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 3.1.2
========================================
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-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/IBM-Swift/BlueSSLService.git
Fetching https://github.com/IBM-Swift/BlueSocket.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/IBM-Swift/Swift-SMTP.git
Fetching https://github.com/twof/VaporMailgunService.git
Fetching https://github.com/vapor/vapor.git
[1/2585] Fetching swift-smtp
[27/4673] Fetching swift-smtp, bluesslservice
[355/7615] Fetching swift-smtp, bluesslservice, bluesocket
[2060/8323] Fetching swift-smtp, bluesslservice, bluesocket, vapormailgunservice
[8324/75611] Fetching swift-smtp, bluesslservice, bluesocket, vapormailgunservice, vapor
[37258/140108] Fetching swift-smtp, bluesslservice, bluesocket, vapormailgunservice, vapor, swift-nio
Fetched https://github.com/twof/VaporMailgunService.git from cache (3.87s)
Fetching https://github.com/vapor/console.git
Fetched https://github.com/IBM-Swift/BlueSSLService.git from cache (3.87s)
Fetching https://github.com/vapor/service.git
Fetched https://github.com/IBM-Swift/BlueSocket.git from cache (3.87s)
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetched https://github.com/IBM-Swift/Swift-SMTP.git from cache (3.87s)
Fetching https://github.com/vapor-community/sendgrid-provider.git
Fetched https://github.com/vapor/vapor.git from cache (3.91s)
Fetching https://github.com/vapor/http.git
Fetched https://github.com/apple/swift-nio.git from cache (3.96s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/919] Fetching service
[920/1870] Fetching service, sendgrid-provider
[1662/2641] Fetching service, sendgrid-provider, loggerapi
[2188/7919] Fetching service, sendgrid-provider, loggerapi, console
[7920/7935] Fetching service, sendgrid-provider, loggerapi, console, swift-nio-ssl-support
Fetched https://github.com/vapor/service.git from cache (0.28s)
Fetching https://github.com/vapor/websocket.git
[1/25467] Fetching http
Fetched https://github.com/vapor-community/sendgrid-provider.git from cache (0.29s)
Fetching https://github.com/vapor/core.git
Fetched https://github.com/IBM-Swift/LoggerAPI.git from cache (0.29s)
Fetching https://github.com/vapor/url-encoded-form.git
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.22s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/vapor/console.git from cache (0.33s)
Fetching https://github.com/vapor/multipart.git
[20375/27878] Fetching http, websocket
[21605/28259] Fetching http, websocket, url-encoded-form
[23167/48402] Fetching http, websocket, url-encoded-form, core
[23168/50102] Fetching http, websocket, url-encoded-form, core, multipart
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.30s)
Fetching https://github.com/vapor/database-kit.git
[29392/49721] Fetching http, websocket, core, multipart
Fetched https://github.com/vapor/websocket.git from cache (0.32s)
[27436/47310] Fetching http, core, multipart
Fetching https://github.com/vapor/template-kit.git
[40280/59457] Fetching http, core, multipart, swift-nio-ssl
[43794/60638] Fetching http, core, multipart, swift-nio-ssl, database-kit
[45218/61920] Fetching http, core, multipart, swift-nio-ssl, database-kit, template-kit
Fetched https://github.com/vapor/database-kit.git from cache (0.28s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[45682/60739] Fetching http, core, multipart, swift-nio-ssl, template-kit
Fetched https://github.com/vapor/template-kit.git from cache (0.30s)
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[45087/59457] Fetching http, core, multipart, swift-nio-ssl
Fetched https://github.com/vapor/http.git from cache (0.94s)
Fetching https://github.com/LiveUI/VaporTestTools.git
[22968/33990] Fetching core, multipart, swift-nio-ssl
[25392/34005] Fetching core, multipart, swift-nio-ssl, swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.25s)
Fetching https://github.com/vapor/routing.git
[26727/33990] Fetching core, multipart, swift-nio-ssl
[27214/35628] Fetching core, multipart, swift-nio-ssl, bluecryptor
[29369/35965] Fetching core, multipart, swift-nio-ssl, bluecryptor, vaportesttools
Fetched https://github.com/LiveUI/VaporTestTools.git from cache (0.27s)
Fetching https://github.com/vapor/crypto.git
Computing version for https://github.com/LiveUI/VaporTestTools.git
[34438/35628] Fetching core, multipart, swift-nio-ssl, bluecryptor
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.38s)
Fetching https://github.com/vapor/validation.git
Fetched https://github.com/vapor/core.git from cache (1.02s)
[12658/34515] Fetching multipart, swift-nio-ssl, routing
[28573/37301] Fetching multipart, swift-nio-ssl, routing, crypto
[31435/37880] Fetching multipart, swift-nio-ssl, routing, crypto, validation
Fetched https://github.com/vapor/validation.git from cache (0.37s)
[32961/37301] Fetching multipart, swift-nio-ssl, routing, crypto
Fetched https://github.com/vapor/crypto.git from cache (0.65s)
Fetched https://github.com/vapor/multipart.git from cache (1.62s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.71s)
Fetched https://github.com/vapor/routing.git from cache (1.01s)
Computed https://github.com/LiveUI/VaporTestTools.git at 0.1.7 (1.04s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.8.1 (1.03s)
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.42s)
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.38s)
Computing version for https://github.com/twof/VaporMailgunService.git
Computed https://github.com/twof/VaporMailgunService.git at 1.8.1 (0.38s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.43s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.31 (0.40s)
Fetching https://github.com/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git from cache (0.33s)
Computing version for https://github.com/IBM-Swift/BlueSSLService.git
Computed https://github.com/IBM-Swift/BlueSSLService.git at 1.0.49 (0.41s)
Computing version for https://github.com/IBM-Swift/BlueSocket.git
Computed https://github.com/IBM-Swift/BlueSocket.git at 1.0.49 (0.41s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.39s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.38s)
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.38s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.38s)
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/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.39s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.38s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (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.40s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.41s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.41s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.42s)
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.37s)
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.39s)
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.41s)
Computing version for https://github.com/IBM-Swift/OpenSSL.git
Computed https://github.com/IBM-Swift/OpenSSL.git at 2.3.1 (1.04s)
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/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/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/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/OpenSSL.git
Working copy of https://github.com/IBM-Swift/OpenSSL.git resolved at 2.3.1
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/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
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/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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.0
Creating working copy for https://github.com/vapor/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.0
Creating working copy for https://github.com/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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.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/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.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/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/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/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/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/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.4.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
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 CBase32 base32.c
[39/52] Compiling CNIOLinux ifaddrs-android.c
[40/52] Compiling CNIOSHA1 c_nio_sha1.c
[41/52] Compiling CBcrypt bcrypt.c
[42/52] Compiling CNIOLinux shim.c
[43/52] Compiling CNIODarwin shim.c
[44/52] Write sources
[45/52] Compiling CBcrypt blf.c
[46/52] Write swift-version-24593BA9C3E375BF.txt
[47/52] Compiling CNIOHTTPParser c_nio_http_parser.c
[48/52] Compiling CNIOOpenSSL shims.c
[49/52] Compiling CCryptoOpenSSL shim.c
[50/52] Compiling CNIOOpenSSL helpers.c
[52/78] Emitting module Debugging
[52/78] Compiling c-atomics.c
[54/81] Emitting module NIOConcurrencyHelpers
[55/81] Compiling LoggerAPI Logger.swift
[56/81] Emitting module LoggerAPI
[57/82] Compiling Cryptor SSLPointerTricks.swift
[59/83] Compiling NIOConcurrencyHelpers atomics.swift
[60/83] Compiling Debugging SourceLocation.swift
[61/83] Compiling NIOPriorityQueue PriorityQueue.swift
[62/83] Emitting module Cryptor
[63/83] Emitting module COperatingSystem
[64/83] Compiling COperatingSystem libc.swift
[65/83] Compiling Debugging Demangler.swift
[66/84] Compiling Cryptor Updatable.swift
[67/84] Compiling NIOConcurrencyHelpers lock.swift
[69/85] Emitting module NIOPriorityQueue
[70/85] Compiling NIOPriorityQueue Heap.swift
[72/86] Compiling Socket SocketUtils.swift
[73/86] Compiling Socket SocketProtocols.swift
[74/86] Compiling Cryptor Utilities.swift
[75/86] Compiling Debugging Debuggable.swift
[77/87] Compiling Cryptor Crypto.swift
[78/87] Compiling Cryptor Cryptor.swift
[79/87] Compiling Cryptor Digest.swift
[80/87] Compiling Cryptor HMAC.swift
[81/87] Compiling Cryptor KeyDerivation.swift
[82/87] Compiling Cryptor Random.swift
[84/87] Compiling Cryptor Status.swift
[85/87] Compiling Cryptor StreamCryptor.swift
[87/88] Emitting module Socket
[88/88] 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 {
                                                            ~^~~~
[93/142] Emitting module NIO
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 1