The Swift Package Index logo.Swift Package Index

Build Information

Failed to build my-home 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/bouke/my-home.git
Reference: 0.2.0
Cloned https://github.com/bouke/my-home.git into spi-builder-workspace
SUCCESS checkout https://github.com/bouke/my-home.git at 0.2.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/Bouke/HKDF.git
Fetching https://github.com/Bouke/ICY.git
Fetching https://github.com/Bouke/HAP.git
[1/134] Fetching hkdf
[135/6674] Fetching hkdf, hap
Fetched https://github.com/Bouke/HKDF.git (0.53s)
Fetching https://github.com/crossroadlabs/Regex.git
Fetched https://github.com/Bouke/HAP.git (0.54s)
Fetching https://github.com/Bouke/SRP.git
Fetched https://github.com/Bouke/ICY.git (0.54s)
Fetching https://github.com/Boilertalk/BigInt.swift.git
[1/174] Fetching bigint.swift
[175/807] Fetching bigint.swift, srp
Fetched https://github.com/Boilertalk/BigInt.swift.git (0.23s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/Bouke/SRP.git (0.25s)
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[1/1608] Fetching bluecryptor
[355/2904] Fetching bluecryptor, regex
Fetched https://github.com/IBM-Swift/BlueCryptor.git (0.31s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetching https://github.com/Bouke/Evergreen.git
Fetched https://github.com/crossroadlabs/Regex.git (0.57s)
[1/60073] Fetching swift-nio
[602/60582] Fetching swift-nio, evergreen
Fetched https://github.com/Bouke/Evergreen.git (0.25s)
Fetching https://github.com/Bouke/CLibSodium.git
Computing version for https://github.com/Bouke/Evergreen.git
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.26s)
[3004/60073] Fetching swift-nio
Fetched https://github.com/Bouke/CLibSodium.git (0.20s)
Computed https://github.com/Bouke/Evergreen.git at 2.0.0 (0.55s)
Computing version for https://github.com/Bouke/HAP.git
Computed https://github.com/Bouke/HAP.git at 0.6.0 (0.91s)
Fetching https://github.com/Bouke/NetService.git
[60074/60935] Fetching swift-nio, netservice
Fetched https://github.com/Bouke/NetService.git (0.27s)
Fetched https://github.com/apple/swift-nio.git (4.71s)
Computing version for https://github.com/Bouke/ICY.git
Computed https://github.com/Bouke/ICY.git at 1.2.0 (0.34s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.1 (1.56s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (0.66s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.32 (2.21s)
Fetching https://github.com/IBM-Swift/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/IBM-Swift/OpenSSL.git (0.37s)
Computing version for https://github.com/Bouke/HKDF.git
Computed https://github.com/Bouke/HKDF.git at 3.1.0 (0.60s)
Computing version for https://github.com/Bouke/SRP.git
Computed https://github.com/Bouke/SRP.git at 3.1.0 (0.65s)
Computing version for https://github.com/Bouke/CLibSodium.git
Computed https://github.com/Bouke/CLibSodium.git at 2.0.0 (0.61s)
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.57s)
Computing version for https://github.com/Boilertalk/BigInt.swift.git
Computed https://github.com/Boilertalk/BigInt.swift.git at 1.0.0 (0.59s)
Computing version for https://github.com/Bouke/NetService.git
Computed https://github.com/Bouke/NetService.git at 0.8.1 (0.63s)
Computing version for https://github.com/IBM-Swift/OpenSSL.git
Computed https://github.com/IBM-Swift/OpenSSL.git at 2.3.1 (0.59s)
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.1
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.32
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/OpenSSL.git
Working copy of https://github.com/IBM-Swift/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/crossroadlabs/Regex.git
Working copy of https://github.com/crossroadlabs/Regex.git resolved at 1.2.0
Creating working copy for https://github.com/Bouke/HAP.git
Working copy of https://github.com/Bouke/HAP.git resolved at 0.6.0
Creating working copy for https://github.com/Bouke/SRP.git
Working copy of https://github.com/Bouke/SRP.git resolved at 3.1.0
Creating working copy for https://github.com/Boilertalk/BigInt.swift.git
Working copy of https://github.com/Boilertalk/BigInt.swift.git resolved at 1.0.0
Creating working copy for https://github.com/Bouke/NetService.git
Working copy of https://github.com/Bouke/NetService.git resolved at 0.8.1
Creating working copy for https://github.com/Bouke/CLibSodium.git
Working copy of https://github.com/Bouke/CLibSodium.git resolved at 2.0.0
Creating working copy for https://github.com/Bouke/HKDF.git
Working copy of https://github.com/Bouke/HKDF.git resolved at 3.1.0
Creating working copy for https://github.com/Bouke/Evergreen.git
Working copy of https://github.com/Bouke/Evergreen.git resolved at 2.0.0
Creating working copy for https://github.com/Bouke/ICY.git
Working copy of https://github.com/Bouke/ICY.git resolved at 1.2.0
warning: 'clibsodium': ignoring declared target(s) 'CLibSodium' in the system package
warning: 'clibsodium': system packages are deprecated; use system library targets instead
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install libsodium using your system-packager:
    apt-get install libsodium-dev
warning: you may be able to install avahi-compat-libdns_sd using your system-packager:
    apt-get install libavahi-compat-libdnssd-dev
Building for debugging...
[0/26] Compiling CNIODarwin shim.c
[1/26] Compiling CNIOZlib empty.c
[2/26] Compiling CNIOLinux ifaddrs-android.c
[3/26] Compiling CNIOLinux shim.c
[4/26] Compiling CNIOSHA1 c_nio_sha1.c
[5/26] Compiling CQRCode qrcode.c
[6/58] Compiling CNIOHTTPParser c_nio_http_parser.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/64] Emitting module NetService
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/64] Emitting module Cryptor
<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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[10/65] Compiling Regex String+Regex.swift
[11/66] Compiling NetService Utils.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
[12/66] Compiling NIOPriorityQueue PriorityQueue.swift
[13/66] Compiling NetService ServiceFlags.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
[14/66] Compiling Regex Utils.swift
[15/66] Compiling Cryptor Utilities.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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[16/66] Compiling COperatingSystem libc.swift
[17/66] Emitting module COperatingSystem
[18/66] Compiling Regex Match.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/66] Emitting module ICY
/host/spi-builder-workspace/.build/checkouts/ICY/Sources/ICY.swift:148:23: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let sharedURLSession: URLSession = {
                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/ICY/Sources/ICY.swift:152:29: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let configuration = URLSessionConfiguration()
                            ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ICY/Sources/ICY.swift:157:32: error: cannot find type 'URLRequest' in scope
func performRequest(_ request: URLRequest, completionHandler: @escaping (Result<[String: Any]>) -> ()) {
                               ^~~~~~~~~~
[20/67] Compiling ICY ICY.swift
/host/spi-builder-workspace/.build/checkouts/ICY/Sources/ICY.swift:148:23: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let sharedURLSession: URLSession = {
                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/ICY/Sources/ICY.swift:152:29: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let configuration = URLSessionConfiguration()
                            ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ICY/Sources/ICY.swift:157:32: error: cannot find type 'URLRequest' in scope
func performRequest(_ request: URLRequest, completionHandler: @escaping (Result<[String: Any]>) -> ()) {
                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ICY/Sources/ICY.swift:158:33: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
    let task = sharedURLSession.dataTask(with: request) { (data, response, error) in
               ~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ICY/Sources/ICY.swift:200:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: URL(string: "https://portal.icy.nl/data")!)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ICY/Sources/ICY.swift:222:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: URL(string: "https://portal.icy.nl/data")!)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ICY/Sources/ICY.swift:242:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: URL(string: "https://portal.icy.nl/login")!)
                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ICY/Sources/ICY.swift:246:31: error: cannot find type 'URLRequest' in scope
    performRequest(request as URLRequest) { result in
                              ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ICY/Sources/ICY.swift:152:29: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let configuration = URLSessionConfiguration()
                            ^~~~~~~~~~~~~~~~~~~~~~~
[23/68] Emitting module Regex
[24/68] Compiling Regex GroupRangeUtils.swift
[25/68] Compiling Cryptor Updatable.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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[26/68] Compiling Regex RegexOptions.swift
[27/68] Compiling Regex MatchSequence.swift
[28/68] Compiling Cryptor Digest.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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[29/68] Compiling Cryptor HMAC.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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[30/68] Compiling Cryptor KeyDerivation.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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[31/68] Compiling Cryptor Random.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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[32/68] Compiling Cryptor Status.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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[33/68] Compiling Cryptor 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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[34/68] Compiling Cryptor StreamCryptor.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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[35/68] Compiling Cryptor Crypto.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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[36/68] Compiling Cryptor Cryptor.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/BlueCryptor/Sources/Cryptor/Digest.swift:23:9: error: could not build C module 'OpenSSL'
        import OpenSSL
               ^
[37/68] Compiling NetService NetServiceBrowserDelegate.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
[38/68] Compiling NetService NetServiceBrowser.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
[39/68] Compiling NetService NetServiceDelegate.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
[40/68] Emitting module Evergreen
[41/68] Emitting module NIOPriorityQueue
[42/68] Compiling NIOPriorityQueue Heap.swift
error: fatalError
[43/70] Compiling c-atomics.c
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
#include <dns_sd.h>
         ^
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/NetService.swift:15:8: error: could not build C module 'Cdns_sd'
import Cdns_sd
       ^
[44/70] Compiling Evergreen Formatter.swift
[45/70] Compiling Evergreen Handler.swift
[46/70] Compiling Regex PlatformTypes.swift
BUILD FAILURE 5.9 linux

Build Machine: Linux 2