Build Information
Failed to build SchemaSwift, reference main (7db4c2
), with Swift 5.9 for Linux on 29 Jul 2024 04:36:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.48.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 7db4c20 add a new reserved keyword
Cloned https://github.com/khanlou/SchemaSwift.git
Revision (git rev-parse @):
7db4c200593dda367404849459baaf78532cf22f
SUCCESS checkout https://github.com/khanlou/SchemaSwift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/khanlou/SchemaSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:ab95bcf8ae8f59ab6d4725f4fd8a1a6162581ba0800402e498200829aee2a822
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/IBM-Swift/BlueSocket.git
Fetching https://github.com/IBM-Swift/BlueSSLService
Fetching https://github.com/codewinsdotcom/PostgresClientKit
[1/2088] Fetching bluesslservice
[962/5030] Fetching bluesslservice, bluesocket
[2943/6953] Fetching bluesslservice, bluesocket, postgresclientkit
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/IBM-Swift/BlueSSLService (0.26s)
Fetched https://github.com/codewinsdotcom/PostgresClientKit (0.27s)
Fetched https://github.com/IBM-Swift/BlueSocket.git (0.28s)
[1/12085] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.62s)
Computing version for https://github.com/codewinsdotcom/PostgresClientKit
Computed https://github.com/codewinsdotcom/PostgresClientKit at 1.4.3 (0.34s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.36s)
Computing version for https://github.com/IBM-Swift/BlueSSLService
Computed https://github.com/IBM-Swift/BlueSSLService at 2.0.1 (0.35s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git (0.16s)
Computing version for https://github.com/IBM-Swift/BlueSocket.git
Computed https://github.com/IBM-Swift/BlueSocket.git at 2.0.2 (0.37s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (0.96s)
Creating working copy for https://github.com/IBM-Swift/BlueSSLService
Working copy of https://github.com/IBM-Swift/BlueSSLService resolved at 2.0.1
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/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
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/codewinsdotcom/PostgresClientKit
Working copy of https://github.com/codewinsdotcom/PostgresClientKit resolved at 1.4.3
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...
[1/16] Emitting module ArgumentParserToolInfo
[2/16] Compiling ArgumentParserToolInfo ToolInfo.swift
[4/18] Wrapping AST for ArgumentParserToolInfo for debugging
[6/52] Emitting module ArgumentParser
[7/56] Compiling Socket SocketUtils.swift
[8/56] Compiling Socket SocketProtocols.swift
[9/56] Compiling ArgumentParser Option.swift
[10/56] Compiling ArgumentParser OptionGroup.swift
[11/56] Compiling ArgumentParser CommandConfiguration.swift
[12/56] Compiling ArgumentParser EnumerableFlag.swift
[13/56] Compiling ArgumentParser ExpressibleByArgument.swift
[14/56] Compiling ArgumentParser ArgumentHelp.swift
[15/56] Compiling ArgumentParser CompletionKind.swift
[16/56] Compiling ArgumentParser Errors.swift
[17/56] Compiling ArgumentParser Flag.swift
[18/56] Compiling ArgumentParser NameSpecification.swift
[19/56] Compiling ArgumentParser HelpCommand.swift
[20/56] Compiling ArgumentParser HelpGenerator.swift
[21/56] Compiling ArgumentParser MessageInfo.swift
[22/56] Compiling ArgumentParser UsageGenerator.swift
[23/56] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/56] Compiling ArgumentParser CompletionsGenerator.swift
[25/56] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/56] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/56] Compiling ArgumentParser Argument.swift
[28/56] Compiling ArgumentParser CollectionExtensions.swift
[29/56] Compiling ArgumentParser SequenceExtensions.swift
[30/56] Compiling ArgumentParser StringExtensions.swift
[31/56] Compiling ArgumentParser Tree.swift
[32/56] Compiling Socket Socket+Hashable.swift
[33/56] Compiling Socket Socket+Equatable.swift
[34/56] Compiling Socket Socket.swift
[35/56] Emitting module Socket
[37/58] Wrapping AST for Socket for debugging
[39/61] Compiling ArgumentParser ParsableArguments.swift
[40/61] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/61] Compiling ArgumentParser ParsableCommand.swift
[42/61] Compiling ArgumentParser ArgumentDecoder.swift
[43/61] Compiling ArgumentParser ArgumentDefinition.swift
[44/61] Compiling ArgumentParser ParsedValues.swift
[45/61] Compiling ArgumentParser ParserError.swift
[46/61] Compiling ArgumentParser SplitArguments.swift
[47/61] Compiling ArgumentParser DumpHelpGenerator.swift
[48/61] Compiling ArgumentParser ArgumentSet.swift
[49/61] Compiling ArgumentParser CommandParser.swift
[50/61] Compiling ArgumentParser InputOrigin.swift
[51/61] Compiling ArgumentParser Name.swift
[52/61] Compiling ArgumentParser Parsed.swift
[54/63] Wrapping AST for ArgumentParser for debugging
[56/63] Emitting module SSLService
[57/63] Compiling SSLService SSLPointerTricks.swift
[58/63] 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.9 linux