The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HAP with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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/bouke/hap.git
Reference: 0.7.0
Cloned https://github.com/bouke/hap.git into spi-builder-workspace
SUCCESS checkout https://github.com/bouke/hap.git at 0.7.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-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/Bouke/NetService.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/862] Fetching netservice
[863/3941] Fetching netservice, swift-log
Fetching https://github.com/crossroadlabs/Regex.git
Fetched https://github.com/apple/swift-log.git (0.34s)
[1/60073] Fetching swift-nio
[602/61369] Fetching swift-nio, regex
Fetched https://github.com/crossroadlabs/Regex.git (0.27s)
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[3605/60073] Fetching swift-nio
[10815/61681] Fetching swift-nio, bluecryptor
Fetched https://github.com/IBM-Swift/BlueCryptor.git (0.30s)
Fetching https://github.com/Bouke/HKDF.git
[13217/60073] Fetching swift-nio
[14419/60207] Fetching swift-nio, hkdf
Fetched https://github.com/Bouke/HKDF.git (0.21s)
Fetching https://github.com/Bouke/SRP.git
[15619/60073] Fetching swift-nio
[17423/60706] Fetching swift-nio, srp
Fetched https://github.com/Bouke/SRP.git (0.24s)
[19224/60073] Fetching swift-nio
Fetched https://github.com/Bouke/NetService.git (5.38s)
Fetched https://github.com/apple/swift-nio.git (5.47s)
Computing version for https://github.com/Bouke/HKDF.git
Computed https://github.com/Bouke/HKDF.git at 3.1.0 (1.43s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (0.30s)
Computing version for https://github.com/Bouke/NetService.git
Computed https://github.com/Bouke/NetService.git at 0.8.1 (0.34s)
Computing version for https://github.com/Bouke/SRP.git
Computed https://github.com/Bouke/SRP.git at 3.2.1 (2.08s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/attaswift/BigInt.git
[1/3085] Fetching bigint
[2254/9082] Fetching bigint, swift-crypto
Fetched https://github.com/attaswift/BigInt.git (1.30s)
Fetched https://github.com/apple/swift-crypto.git (1.32s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.28s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.32s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (0.31s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git (0.22s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (1.10s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.29s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.54.0 (0.52s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1045] Fetching swift-atomics
[43/12315] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git (0.94s)
Fetched https://github.com/apple/swift-collections.git (0.96s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.1.0 (0.32s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.4 (0.33s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.4
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.54.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.1.0
Creating working copy for https://github.com/Bouke/SRP.git
Working copy of https://github.com/Bouke/SRP.git resolved at 3.2.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.2
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/HKDF.git
Working copy of https://github.com/Bouke/HKDF.git resolved at 3.1.0
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.200
Creating working copy for https://github.com/Bouke/NetService.git
Working copy of https://github.com/Bouke/NetService.git resolved at 0.8.1
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 avahi-compat-libdns_sd using your system-packager:
    apt-get install libavahi-compat-libdnssd-dev
warning: you may be able to install libsodium using your system-packager:
    apt-get install libsodium-dev
Building for debugging...
[0/440] Compiling _AtomicsShims.c
[1/440] Compiling CNIOWindows shim.c
[2/440] Compiling CQRCode qrcode.c
[3/440] Compiling a_dup.c
[4/440] Compiling CNIOWindows WSAStartup.c
[5/440] Compiling a_gentm.c
[6/440] Compiling a_enum.c
[6/440] Compiling a_mbstr.c
[8/440] Compiling a_int.c
[9/440] Compiling CNIOLinux shim.c
[11/516] Emitting module COperatingSystem
[12/516] Compiling BigInt Shifts.swift
[13/516] Compiling BigInt Square Root.swift
[14/516] Compiling BigInt String Conversion.swift
[15/516] Compiling BigInt Random.swift
[16/518] Compiling BigInt Exponentiation.swift
[17/518] Compiling BigInt Strideable.swift
[18/518] Compiling BigInt Floating Point Conversion.swift
[19/518] Compiling BigInt GCD.swift
[20/518] Compiling BigInt Hashable.swift
[21/518] Compiling BigInt Data Conversion.swift
[22/518] Compiling BigInt Division.swift
[23/520] Compiling _NIODataStructures PriorityQueue.swift
[24/520] 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
       ^
[25/520] Compiling BigInt Bitwise Ops.swift
[26/520] Compiling BigInt Codable.swift
[27/520] Compiling BigInt Comparable.swift
[31/520] Emitting module DequeModule
[32/520] Compiling BigInt Addition.swift
[33/520] Compiling BigInt BigInt.swift
[34/520] Compiling BigInt BigUInt.swift
[37/520] Compiling DequeModule _DequeSlot.swift
[38/520] Compiling DequeModule _UnsafeWrappedBuffer.swift
[39/520] Compiling BigInt Prime Test.swift
[43/520] 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
       ^
[48/537] Compiling Atomics AtomicValue.swift
[49/537] Compiling Atomics DoubleWord.swift
[50/539] 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
       ^
[51/539] 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
               ^
[52/539] Compiling Atomics AtomicInteger.swift
[53/539] Compiling Atomics AtomicMemoryOrderings.swift
[54/540] 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
               ^
[55/540] Compiling Regex MatchSequence.swift
[56/540] Compiling Regex String+Regex.swift
[57/540] Compiling Regex RegexOptions.swift
[58/541] Compiling Logging MetadataProvider.swift
[59/541] 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
       ^
[60/541] 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
       ^
[61/541] Compiling Atomics AtomicBool.swift
[62/541] Compiling Atomics IntegerConformances.swift
[63/541] Compiling Atomics PointerConformances.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[64/541] 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
               ^
[65/541] Compiling Logging Locks.swift
[66/541] Compiling Atomics AtomicOptional.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
               ^
[67/541] Compiling Atomics AtomicOptionalRawRepresentable.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
               ^
<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
               ^
<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
               ^
[70/541] Compiling Regex Regex.swift
[71/541] Compiling Regex PlatformTypes.swift
[72/541] Compiling Regex GroupRangeUtils.swift
[73/541] Compiling Regex Match.swift
[74/541] Emitting module Regex
[78/541] Emitting module BigInt
[80/541] Compiling Atomics AtomicRawRepresentable.swift
[81/541] Compiling Atomics AtomicStrongReference.swift
[82/541] 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
               ^
<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
               ^
<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
               ^
[85/541] 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
               ^
[86/541] Compiling COperatingSystem libc.swift
[88/542] Emitting module _NIODataStructures
[89/542] Compiling _NIODataStructures Heap.swift
[90/544] Compiling Regex Utils.swift
[91/544] 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
               ^
error: fatalError
[96/547] Compiling Atomics AtomicLazyReference.swift
[97/547] Compiling Atomics HighLevelTypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
<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
       ^
[98/547] Compiling Atomics Unmanaged extensions.swift
BUILD FAILURE 5.9 linux

Build Machine: Linux 2