The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SchemaSwift with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/khanlou/SchemaSwift.git
Reference: main
Cloned https://github.com/khanlou/SchemaSwift.git into spi-builder-workspace
SUCCESS checkout https://github.com/khanlou/SchemaSwift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/IBM-Swift/BlueSocket.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/IBM-Swift/BlueSSLService
[1/2942] Fetching bluesocket
[2237/5030] Fetching bluesocket, bluesslservice
[5031/15815] Fetching bluesocket, bluesslservice, swift-argument-parser
Fetching https://github.com/codewinsdotcom/PostgresClientKit
Fetched https://github.com/IBM-Swift/BlueSSLService (0.32s)
Fetched https://github.com/IBM-Swift/BlueSocket.git (0.32s)
[540/10785] Fetching swift-argument-parser
[10786/12708] Fetching swift-argument-parser, postgresclientkit
Fetched https://github.com/apple/swift-argument-parser (0.58s)
Fetched https://github.com/codewinsdotcom/PostgresClientKit (0.29s)
Computing version for https://github.com/codewinsdotcom/PostgresClientKit
Computed https://github.com/codewinsdotcom/PostgresClientKit at 1.4.3 (0.27s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.31s)
Computing version for https://github.com/IBM-Swift/BlueSSLService
Computed https://github.com/IBM-Swift/BlueSSLService at 2.0.1 (0.31s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git (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.33s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (0.91s)
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/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/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.
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
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 Socket
[7/52] Compiling Socket SocketProtocols.swift
[8/52] Compiling Socket SocketUtils.swift
[9/52] Emitting module ArgumentParser
[10/56] Compiling ArgumentParser ArgumentHelp.swift
[11/56] Compiling ArgumentParser CompletionKind.swift
[12/56] Compiling ArgumentParser Errors.swift
[13/56] Compiling ArgumentParser Flag.swift
[14/56] Compiling ArgumentParser NameSpecification.swift
[15/56] Compiling Socket Socket+Hashable.swift
[16/56] Compiling Socket Socket.swift
[17/56] Compiling Socket Socket+Equatable.swift
[19/58] Wrapping AST for Socket for debugging
[21/61] Compiling ArgumentParser BashCompletionsGenerator.swift
[22/61] Compiling ArgumentParser CompletionsGenerator.swift
[23/61] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/61] Compiling ArgumentParser ZshCompletionsGenerator.swift
[25/61] Compiling ArgumentParser Argument.swift
[26/61] Compiling ArgumentParser CollectionExtensions.swift
[27/61] Compiling ArgumentParser SequenceExtensions.swift
[28/61] Compiling ArgumentParser StringExtensions.swift
[29/61] Compiling ArgumentParser Tree.swift
[30/61] Compiling SSLService SSLPointerTricks.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:25:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/61] Emitting module SSLService
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:25:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[32/61] Compiling SSLService SSLService.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/OpenSSL/Sources/OpenSSL/shim.h:20:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/.build/checkouts/BlueSSLService/Sources/SSLService/SSLService.swift:25:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
error: fatalError
[33/61] Compiling ArgumentParser Option.swift
[34/61] Compiling ArgumentParser OptionGroup.swift
[35/61] Compiling ArgumentParser CommandConfiguration.swift
[36/61] Compiling ArgumentParser EnumerableFlag.swift
[37/61] Compiling ArgumentParser ExpressibleByArgument.swift
[38/61] Compiling ArgumentParser ParsedValues.swift
[39/61] Compiling ArgumentParser ParserError.swift
[40/61] Compiling ArgumentParser SplitArguments.swift
[41/61] Compiling ArgumentParser DumpHelpGenerator.swift
BUILD FAILURE 5.9 linux

Build Machine: Linux 1