The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SocketSwift 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/BiAtoms/Socket.swift.git
Reference: 2.4.0
Cloned https://github.com/BiAtoms/Socket.swift.git into spi-builder-workspace
SUCCESS checkout https://github.com/BiAtoms/Socket.swift.git at 2.4.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/Zewo/CLibreSSL.git
Fetched https://github.com/Zewo/CLibreSSL.git (0.20s)
Computing version for https://github.com/Zewo/CLibreSSL.git
Computed https://github.com/Zewo/CLibreSSL.git at 3.1.0 (0.31s)
Creating working copy for https://github.com/Zewo/CLibreSSL.git
Working copy of https://github.com/Zewo/CLibreSSL.git resolved at 3.1.0
warning: 'clibressl': ignoring declared target(s) 'CLibreSSL' in the system package
warning: 'spi-builder-workspace': dependency 'clibressl' is not used by any target
warning: you may be able to install libtls using your system-packager:
    apt-get install libressl
Building for debugging...
[1/8] Compiling SocketSwift Option.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "clibressl.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CLibreSSL/clibressl.h:4:10: error: 'tls.h' file not found
#include <tls.h>
         ^
/host/spi-builder-workspace/Sources/TLS.swift:12:12: error: could not build C module 'CLibreSSL'
    import CLibreSSL
           ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/9] Compiling SocketSwift OS.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "clibressl.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CLibreSSL/clibressl.h:4:10: error: 'tls.h' file not found
#include <tls.h>
         ^
/host/spi-builder-workspace/Sources/TLS.swift:12:12: error: could not build C module 'CLibreSSL'
    import CLibreSSL
           ^
[3/9] Compiling SocketSwift Error.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "clibressl.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CLibreSSL/clibressl.h:4:10: error: 'tls.h' file not found
#include <tls.h>
         ^
/host/spi-builder-workspace/Sources/TLS.swift:12:12: error: could not build C module 'CLibreSSL'
    import CLibreSSL
           ^
[4/9] Emitting module SocketSwift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "clibressl.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CLibreSSL/clibressl.h:4:10: error: 'tls.h' file not found
#include <tls.h>
         ^
/host/spi-builder-workspace/Sources/TLS.swift:12:12: error: could not build C module 'CLibreSSL'
    import CLibreSSL
           ^
[5/9] Compiling SocketSwift Family.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "clibressl.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CLibreSSL/clibressl.h:4:10: error: 'tls.h' file not found
#include <tls.h>
         ^
/host/spi-builder-workspace/Sources/TLS.swift:12:12: error: could not build C module 'CLibreSSL'
    import CLibreSSL
           ^
[6/9] Compiling SocketSwift Socket.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "clibressl.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CLibreSSL/clibressl.h:4:10: error: 'tls.h' file not found
#include <tls.h>
         ^
/host/spi-builder-workspace/Sources/TLS.swift:12:12: error: could not build C module 'CLibreSSL'
    import CLibreSSL
           ^
[7/9] Compiling SocketSwift Type.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "clibressl.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CLibreSSL/clibressl.h:4:10: error: 'tls.h' file not found
#include <tls.h>
         ^
/host/spi-builder-workspace/Sources/TLS.swift:12:12: error: could not build C module 'CLibreSSL'
    import CLibreSSL
           ^
[8/9] Compiling SocketSwift Protocol.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "clibressl.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CLibreSSL/clibressl.h:4:10: error: 'tls.h' file not found
#include <tls.h>
         ^
/host/spi-builder-workspace/Sources/TLS.swift:12:12: error: could not build C module 'CLibreSSL'
    import CLibreSSL
           ^
[9/9] Compiling SocketSwift TLS.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "clibressl.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CLibreSSL/clibressl.h:4:10: error: 'tls.h' file not found
#include <tls.h>
         ^
/host/spi-builder-workspace/Sources/TLS.swift:12:12: error: could not build C module 'CLibreSSL'
    import CLibreSSL
           ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2