The Swift Package Index logo.Swift Package Index

Build Information

Failed to build S3Storage with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/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/skelpo/s3storage.git
Reference: 0.1.0
Cloned https://github.com/skelpo/s3storage.git into spi-builder-workspace
SUCCESS checkout https://github.com/skelpo/s3storage.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/LiveUI/S3.git
Fetching https://github.com/LiveUI/XMLCoding.git
[1/579] Fetching validation
[100/1998] Fetching validation, s3
[1971/2534] Fetching validation, s3, xmlcoding
[1456/1955] Fetching s3, xmlcoding
Fetched https://github.com/vapor/validation.git (0.50s)
Fetching https://github.com/vapor/console.git
Fetched https://github.com/LiveUI/S3.git (0.61s)
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/http.git
Fetched https://github.com/LiveUI/XMLCoding.git (0.62s)
[1/4751] Fetching console
[2995/24894] Fetching console, core
[6767/50361] Fetching console, core, http
Fetched https://github.com/vapor/console.git (0.62s)
Fetching https://github.com/vapor/database-kit.git
[11434/45610] Fetching core, http
[36490/46791] Fetching core, http, database-kit
Fetched https://github.com/vapor/database-kit.git (0.45s)
Fetching https://github.com/vapor/websocket.git
[36945/45610] Fetching core, http
[45611/47277] Fetching core, http, websocket
Fetched https://github.com/vapor/websocket.git (0.47s)
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/vapor/core.git (1.62s)
Fetching https://github.com/vapor/url-encoded-form.git
Fetched https://github.com/vapor/http.git (1.72s)
Fetching https://github.com/vapor/crypto.git
[1/381] Fetching url-encoded-form
[382/64933] Fetching url-encoded-form, vapor
Fetched https://github.com/vapor/url-encoded-form.git (0.26s)
Fetching https://github.com/apple/swift-nio-ssl.git
[646/64552] Fetching vapor
[1293/67338] Fetching vapor, crypto
Fetched https://github.com/vapor/crypto.git (0.35s)
Fetching https://github.com/skelpo/Storage.git
[10974/64552] Fetching vapor
[12912/75854] Fetching vapor, swift-nio-ssl
[13139/76246] Fetching vapor, swift-nio-ssl, storage
Fetched https://github.com/skelpo/Storage.git (0.28s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
Computing version for https://github.com/skelpo/Storage.git
[17156/75854] Fetching vapor, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.24s)
Fetching https://github.com/vapor/service.git
Computed https://github.com/skelpo/Storage.git at 0.1.0 (0.44s)
[75855/76773] Fetching vapor, swift-nio-ssl, service
Fetched https://github.com/vapor/service.git (0.30s)
Fetching https://github.com/vapor/multipart.git
[1/1631] Fetching multipart
Fetched https://github.com/apple/swift-nio-ssl.git (1.60s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/vapor/vapor.git (2.35s)
Fetching https://github.com/vapor/routing.git
Computing version for https://github.com/LiveUI/S3.git
[507/61704] Fetching multipart, swift-nio
[1709/82277] Fetching multipart, swift-nio, routing
Fetched https://github.com/vapor/multipart.git (2.18s)
Fetching https://github.com/vapor/template-kit.git
[34390/80646] Fetching swift-nio, routing
Fetched https://github.com/vapor/routing.git (1.53s)
Fetching https://github.com/LiveUI/VaporTestTools.git
[15619/60073] Fetching swift-nio
[18624/60410] Fetching swift-nio, vaportesttools
[20163/61692] Fetching swift-nio, vaportesttools, template-kit
Fetched https://github.com/LiveUI/VaporTestTools.git (0.26s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/vapor/template-kit.git (0.52s)
[21026/60073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.22s)
Computed https://github.com/LiveUI/S3.git at 3.0.0-rc2 (6.64s)
Computing version for https://github.com/vapor/vapor.git
Fetched https://github.com/apple/swift-nio.git (7.06s)
Computed https://github.com/vapor/vapor.git at 3.1.0 (0.40s)
Computing version for https://github.com/LiveUI/VaporTestTools.git
Computed https://github.com/LiveUI/VaporTestTools.git at 0.1.7 (1.44s)
Computing version for https://github.com/LiveUI/XMLCoding.git
Computed https://github.com/LiveUI/XMLCoding.git at 0.4.0 (0.37s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.0 (0.30s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.29s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.0.5 (0.29s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.1.1 (0.31s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.30s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.1 (0.29s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.2 (0.29s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.1.6 (0.30s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.1 (0.30s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.3.0 (0.32s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.4.4 (0.32s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.0 (0.32s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.12.0 (0.39s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.3.2 (0.30s)
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.28s)
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.28s)
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.1.6
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.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.3.2
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.0.1
Creating working copy for https://github.com/LiveUI/XMLCoding.git
Working copy of https://github.com/LiveUI/XMLCoding.git resolved at 0.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.1.1
Creating working copy for https://github.com/skelpo/Storage.git
Working copy of https://github.com/skelpo/Storage.git resolved at 0.1.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.1
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.4.4
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/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.0.5
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/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.12.0
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.0.2
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.0
Creating working copy for https://github.com/LiveUI/S3.git
Working copy of https://github.com/LiveUI/S3.git resolved at 3.0.0-rc2
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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.1.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: couldn't find pc file for openssl
Building for debugging...
[0/13] Compiling CNIOZlib empty.c
[1/13] Compiling CNIOLinux ifaddrs-android.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^~~~~~~~~~~~~~~~
1 error generated.
[2/13] Compiling CNIOOpenSSL shims.c
[2/13] Compiling c-atomics.c
[2/13] Compiling CNIODarwin shim.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^~~~~~~~~~~~~~~~
[2/13] Compiling CNIOOpenSSL helpers.c
[2/13] Compiling CNIOSHA1 c_nio_sha1.c
[2/13] Compiling CNIOLinux shim.c
[2/13] Compiling CNIOHTTPParser c_nio_http_parser.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 2