The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SchemaSwift with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/khanlou/SchemaSwift.git
Reference: main
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/khanlou/SchemaSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b158ab7 explicit table name sorting
Cloned https://github.com/khanlou/SchemaSwift.git
Revision (git rev-parse @):
b158ab758053f90b0881b3f628440460a0bdc36b
SUCCESS checkout https://github.com/khanlou/SchemaSwift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/khanlou/SchemaSwift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/IBM-Swift/BlueSSLService
Fetching https://github.com/IBM-Swift/BlueSocket.git
Fetching https://github.com/codewinsdotcom/PostgresClientKit
[1/1923] Fetching postgresclientkit
[136/4011] Fetching postgresclientkit, bluesslservice
[4012/6953] Fetching postgresclientkit, bluesslservice, bluesocket
Fetched https://github.com/IBM-Swift/BlueSSLService from cache (0.34s)
[4836/4865] Fetching postgresclientkit, bluesocket
Fetched https://github.com/codewinsdotcom/PostgresClientKit from cache (0.34s)
Fetched https://github.com/IBM-Swift/BlueSocket.git from cache (0.43s)
[1/11435] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.81s)
Computing version for https://github.com/codewinsdotcom/PostgresClientKit
Computed https://github.com/codewinsdotcom/PostgresClientKit at 1.4.3 (0.44s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.49s)
Computing version for https://github.com/IBM-Swift/BlueSSLService
Computed https://github.com/IBM-Swift/BlueSSLService at 2.0.1 (0.48s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.21s)
Computing version for https://github.com/IBM-Swift/BlueSocket.git
Computed https://github.com/IBM-Swift/BlueSocket.git at 2.0.2 (0.54s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.48s)
Creating working copy for https://github.com/IBM-Swift/BlueSocket.git
Working copy of https://github.com/IBM-Swift/BlueSocket.git resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/codewinsdotcom/PostgresClientKit
Working copy of https://github.com/codewinsdotcom/PostgresClientKit resolved at 1.4.3
Creating working copy for https://github.com/IBM-Swift/BlueSSLService
Working copy of https://github.com/IBM-Swift/BlueSSLService resolved at 2.0.1
warning: 'bluesslservice': 'bluesslservice' dependency on 'https://github.com/Kitura/BlueSocket.git' conflicts with dependency on 'https://github.com/IBM-Swift/BlueSocket.git' which has the same identity 'bluesocket'. this will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/25] Emitting module ArgumentParserToolInfo
[10/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/26] Wrapping AST for ArgumentParserToolInfo for debugging
[13/60] Emitting module Socket
[14/60] Compiling Socket SocketUtils.swift
[15/60] Compiling Socket SocketProtocols.swift
[16/60] Compiling Socket Socket+Equatable.swift
[17/60] Compiling Socket Socket+Hashable.swift
[18/60] Compiling Socket Socket.swift
[19/61] Wrapping AST for Socket for debugging
[21/64] Compiling ArgumentParser ParsedValues.swift
[22/64] Compiling ArgumentParser ParserError.swift
[23/64] Compiling ArgumentParser SplitArguments.swift
[24/64] Compiling ArgumentParser DumpHelpGenerator.swift
[25/64] Compiling ArgumentParser HelpCommand.swift
[26/64] Compiling ArgumentParser HelpGenerator.swift
[27/64] Compiling ArgumentParser MessageInfo.swift
[28/64] Compiling ArgumentParser UsageGenerator.swift
[29/64] Compiling ArgumentParser ArgumentSet.swift
[30/64] Compiling ArgumentParser CommandParser.swift
[31/64] Compiling ArgumentParser InputOrigin.swift
[32/64] Compiling ArgumentParser Name.swift
[33/64] Compiling ArgumentParser Parsed.swift
[34/68] Compiling ArgumentParser Option.swift
[35/68] Compiling ArgumentParser OptionGroup.swift
[36/68] Compiling ArgumentParser CommandConfiguration.swift
[37/68] Compiling ArgumentParser EnumerableFlag.swift
[38/68] Compiling ArgumentParser ExpressibleByArgument.swift
[39/68] Compiling ArgumentParser ArgumentHelp.swift
[40/68] Compiling ArgumentParser CompletionKind.swift
[41/68] Compiling ArgumentParser Errors.swift
[42/68] Compiling ArgumentParser Flag.swift
[43/68] Compiling ArgumentParser NameSpecification.swift
[44/68] Compiling ArgumentParser BashCompletionsGenerator.swift
[45/68] Compiling ArgumentParser CompletionsGenerator.swift
[46/68] Compiling ArgumentParser FishCompletionsGenerator.swift
[47/68] Compiling ArgumentParser ZshCompletionsGenerator.swift
[48/68] Compiling ArgumentParser Argument.swift
[49/68] Emitting module ArgumentParser
[50/68] Compiling ArgumentParser ParsableArguments.swift
[51/68] Compiling ArgumentParser ParsableArgumentsValidation.swift
[52/68] Compiling ArgumentParser ParsableCommand.swift
[53/68] Compiling ArgumentParser ArgumentDecoder.swift
[54/68] Compiling ArgumentParser ArgumentDefinition.swift
[55/68] Emitting module SSLService
[56/68] Compiling ArgumentParser CollectionExtensions.swift
[57/68] Compiling ArgumentParser SequenceExtensions.swift
[58/68] Compiling ArgumentParser StringExtensions.swift
[59/68] Compiling ArgumentParser Tree.swift
[60/69] Wrapping AST for ArgumentParser for debugging
[62/69] Compiling SSLService SSLPointerTricks.swift
[63/69] Compiling SSLService SSLService.swift
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322: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:1322:34: error: cannot infer contextual base in reference to member 'make'
                                if SSL_get_peer_certificate(.make(optional: sslConnect)) != nil {
                                                            ~^~~~
error: fatalError
warning: 'bluesslservice': 'bluesslservice' dependency on 'https://github.com/Kitura/BlueSocket.git' conflicts with dependency on 'https://github.com/IBM-Swift/BlueSocket.git' which has the same identity 'bluesocket'. this will be escalated to an error in future versions of SwiftPM.
[0/1] Planning build
Building for debugging...
[0/10] Write swift-version-24593BA9C3E375BF.txt
[2/9] Emitting module SSLService
[3/9] Compiling SSLService SSLService.swift
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:1322: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:1322: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